summaryrefslogtreecommitdiff
path: root/docs/tutorial.rst
diff options
context:
space:
mode:
authorEndolith <endolith@gmail.com>2016-05-11 00:21:20 -0400
committerEndolith <endolith@gmail.com>2016-07-31 23:33:41 -0400
commitf349e22045c9997f1a15e7310c161f550c1f0122 (patch)
treea57525bdad8b95170269336f5014a29424d9cb72 /docs/tutorial.rst
parent64c435b2a4c1107798112139e6bc10e582e19f49 (diff)
downloadpint-f349e22045c9997f1a15e7310c161f550c1f0122.tar.gz
fix tutorial doctest
Diffstat (limited to 'docs/tutorial.rst')
-rw-r--r--docs/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 84f726a..e8c2b92 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -257,7 +257,7 @@ LaTeX representations:
'The pretty representation is 1.3 meter/second²'
>>> # Latex print
>>> 'The latex representation is {:L}'.format(accel)
- 'The latex representation is 1.3 \\frac{meter}{second^{2}}'
+ 'The latex representation is 1.3\\ \\frac{\\mathrm{meter}}{\\mathrm{second}^{2}}'
>>> # HTML print
>>> 'The HTML representation is {:H}'.format(accel)
'The HTML representation is 1.3 meter/second<sup>2</sup>'