Modify

Opened 13 years ago

Closed 13 years ago

#8492 closed defect (fixed)

wrong example

Reported by: anonymous Owned by: Ryan J Ollos
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 (1)

latexmacro_doc_example.png (9.7 KB) - added by anonymous 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by anonymous

Attachment: latexmacro_doc_example.png added

comment:1 Changed 13 years ago by anonymous

see

comment:2 Changed 13 years ago by Ryan J Ollos

Owner: changed from jeangui to Ryan J Ollos
Status: newassigned

Wiki page updated.

comment:3 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.