浏览代码

Add mathematical notation makers to derivatives' hints.

Sander Mathijs van Veen 13 年之前
父节点
当前提交
5a7ecfeda7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/rules/derivatives.py

+ 3 - 3
src/rules/derivatives.py

@@ -193,7 +193,7 @@ def variable_root(root, args):
 
 
 MESSAGES[variable_root] = \
-        _('Apply standard derivative d/dx x ^ n = n * x ^ (n - 1) on {0}.')
+        _('Apply standard derivative `d/dx x ^ n = n * x ^ (n - 1)` on {0}.')
 
 
 def variable_exponent(root, args):
@@ -212,7 +212,7 @@ def variable_exponent(root, args):
 
 
 MESSAGES[variable_exponent] = \
-        _('Apply standard derivative d/dx g ^ x = g ^ x * ln g.')
+        _('Apply standard derivative `d/dx g ^ x = g ^ x * ln g`.')
 
 
 def match_logarithmic(node):
@@ -253,7 +253,7 @@ def logarithmic(root, args):
 
 
 MESSAGES[logarithmic] = \
-        _('Apply standard derivative d/dx log(x, g) = 1 / (x * ln(g)).')
+        _('Apply standard derivative `d/dx log(x, g) = 1 / (x * ln(g))`.')
 
 
 def match_goniometric(node):