diff options
| author | Endolith <endolith@gmail.com> | 2016-05-11 00:21:20 -0400 |
|---|---|---|
| committer | Endolith <endolith@gmail.com> | 2016-07-31 23:33:41 -0400 |
| commit | f349e22045c9997f1a15e7310c161f550c1f0122 (patch) | |
| tree | a57525bdad8b95170269336f5014a29424d9cb72 /docs/tutorial.rst | |
| parent | 64c435b2a4c1107798112139e6bc10e582e19f49 (diff) | |
| download | pint-f349e22045c9997f1a15e7310c161f550c1f0122.tar.gz | |
fix tutorial doctest
Diffstat (limited to 'docs/tutorial.rst')
| -rw-r--r-- | docs/tutorial.rst | 2 |
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>' |
