Modify

Opened 3 years ago

Closed 3 years ago

#8492 closed defect (fixed)

wrong example

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

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

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by anonymous

comment:1 Changed 3 years ago by anonymous

see

comment:2 Changed 3 years ago by rjollos

  • Owner changed from jeangui to rjollos
  • Status changed from new to assigned

Wiki page updated.

comment:3 Changed 3 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.