틀:LaTeX/LaTeX

Jmnote (토론 | 기여)님의 2014년 5월 22일 (목) 19:51 판 (새 문서: <includeonly>{{#if:{{{code|}}}|{{#tag:source|{{{code}}}|lang=latex|enclose=none}}|Code missing!}}</includeonly>{{BookCat}}<noinclude> This template is made to render usage of LaTeX co...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

This template is made to render usage of LaTeX code in a consistent matter in running text.

Usage: {{LaTeX/LaTeX|code=latex code}} produces highlighted LaTeX code in the inside, that looks like this: \[ x^2+y^2=z^2|_{x=<0,1>} \]. The parameter must be filed.

The parameter is passed to {{#tag}} construct so | pipe) characters have to be escaped using the {{!}} template. This makes the example to be written as such:

{{LaTeX/Example|code=\[ x^2+y^2=z^2{{!}}_{x=<0,1>} \]}}

Don't try using {{#!:}} construct as it will be passed along (don't know why though).

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}