This site is supported by donations to The OEIS Foundation.
Template:LaTeX/LaTeX
From OeisWiki
This template is meant to render usage of LaTeX code in a consistent manner in running text. It produces highlighted LaTeX code (if the {{#tag:source}}
construct is used in the template code).
Usage
- {{LaTeX/LaTeX|code = LaTeX code}}
The parameter must be provided. The parameter is passed to the {{#tag:source}}
construct or to the <code></code> tag. Pipe characters |
have to be escaped using the {{!}} template. Don't try using the {{#!:}}
construct as it will be passed along (don't know why though).
Examples
The code
The {{LaTeX}} code {{LaTeX/LaTeX|code = \[ x^2 + y^2 = z^2 |_{x=<0,1>} \] }} appears inline.
yields
The LaTeX code \[ x^2 + y^2 = z^2 |_{x=<0,1>} \]
appears inline.
See also
- {{LaTeX/Example}}