"LaTeX"의 두 판 사이의 차이

119 바이트 추가됨 ,  8년 전
 
== 입출력 예시 ==
아래는 LaTeX 입력의 예이다. 이 입력은 오른쪽 그림처럼 출력된다.
{|border="0" cellpadding="0" cellspacing="1em"
<source lang="latex">
|-
|<sourcesyntaxhighlight lang="latex">
\documentclass[12pt]{article}
\usepackage{amsmath}
\title{\LaTeX}
\date{}
\begin{document}
\maketitle
\maketitle \LaTeX{} is a document preparation system for the \TeX{}
typesetting program. It offers programmable desktop publishing
features and extensive facilities for automating most aspects of
typesetting and desktop publishing, including numbering and
cross-referencing, tables and figures, page layout, bibliographies,
and much more. \LaTeX{} was originally written in 1984 by Leslie
Lamport and has become the dominant method for using \TeX; few
people write in plain \TeX{} anymore. The current version is is
\LaTeXe.
\newline
 
% This is a comment,; it iswill not be shown in the final output.
% The following shows a little of the typesetting power of LaTeX:
\begin{eqnarrayalign}
E &=& mc^2 \\
m &=& \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\end{eqnarray}
\end{align}
\end{document}
</syntaxhighlight>
</source>
|[[Image:LaTeX Output.svg|425px|LaTeX output]]
 
|}
위의 입력은 아래와 같이 출력된다.
 
[[파일:LaTeX_Output.svg|LaTeX 출력]]
 
== 같이 보기 ==

편집

17,520