Ticket #8492 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

wrong example

Reported by: anonymous Assigned to: rjollos
Priority: normal Component: LatexMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The macro example shows the user to open an mathematical environment:

  {{{
  #!Latex
  $\frac{\alpha^{\beta^2}}{\delta + \alpha}$
  }}}

this will produce an wrong formula, because the macro itself opens the mathatical environment:

...
# Include your favourite LaTeX preamble
tex_preamble = r'''
\documentclass{article} 
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\pagestyle{empty} 
\begin{document}
\begin{equation*}
...

Please remove eather the $ in the documentation or the mathematical environment.

Attachments

latexmacro_doc_example.png (9.7 kB) - added by anonymous on 02/10/11 15:44:40.

Change History

02/10/11 15:44:40 changed by anonymous

  • attachment latexmacro_doc_example.png added.

02/10/11 15:50:46 changed by anonymous

see

02/10/11 23:12:55 changed by rjollos

  • owner changed from jeangui to rjollos.
  • status changed from new to assigned.

Wiki page updated.

02/10/11 23:13:04 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [9847]) Removed enclosing $ from example. Fixes #8492.


Add/Change #8492 (wrong example)




Change Properties
Action