担当教員:Defago, Xavier
\maketitle
と\section{Introduction}
の間に
\begin{abstract}
This document illustrates some of the basic functionalities of \LaTeX{} when writing technical documents.
\end{abstract}
似た事を日本語で書いても構いません.
\usepackage[japanese]{babel}
の前に%
の記号を入れて,「リコンパイル」を押す.
LaTeXでは%
の同じ行の右にある文章は全て無視する(コメント扱い).\section{Introduction}
の「Introduction」の代わりに「序論」と書き直す. The \LaTeX{} environment is used \emph{extensively} in academia and research because of its very \textbf{strong} support for technical writing.
It takes time to ``master'' \LaTeX{} and can be difficult to start.
For this reason, it helps a lot to begin with a simple example that demonstrates some of the basic functionalities.
\emph
(emphasize)と\textbf
(text boldface)は書き方を帰る.``
と''
は英語のコーテーションマークとなる. \section{Basic Functionalities in \LaTeX{}}
\subsection{Lists}
\LaTeX{} supports several types of lists, as illustrated below.
\paragraph{Unordered lists.}
These lists are called ``itemize'' in LaTeX{}, and they have the following characteristics:
\begin{itemize}
\item Order does not matter.
\item Each item typically starts with a bullet.
\item They can be nested:
\begin{itemize}
\item The symbol usually changes to hyphen when nested
\end{itemize}
\end{itemize}
\section
は節を始まる.他:\section
, \subsection
, \subsubsection
, \paragraph
\paragraph
はタイトル付きの段落\begin{...}
と\end{...}
はLaTeXのenvironment(環境)を作るitemize
環境に\item
で記述を分ける\paragraph{Ordered lists.}
These lists are called ``enumerate'' in LaTeX{}, and they have the following characteristics:
\begin{enumerate}
\item Each item starts with a number.
\item They are numbered automatically.
\item They can be nested:
\begin{enumerate}
\item Typically, the numbering changes to letters.
\end{enumerate}
\end{enumerate}
\subsection{Math mode}
It is easy to write mathematics in \LaTeX{} documents. For instance, Greek letters: $\alpha$, $\beta$, $\gamma$, $\pi$, \ldots{} or in capital letters: $\Gamma$, $\Pi$, \ldots
It is also possible to write formulas in the text, such as $\sqrt{256} = 16$ or $x_1 + x_2 + x_3$, or $(x+y)(x-y) = x^2 - y^2$.
If you need bigger formula, you can use the display mode as follows:
\[
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
\]
$
で挟んでいる文章は数式モードで認識される\[\]
は縦空間を利用した可視化する数式モード^
が上付添字(例:冪乗),_
が下付添字\sum
(和)で大きなシグマ\frac{...}{...}
(fraction)は分数を作る.左が分子,右が分母.\ldots
(low dots)は「…」を作る.Sometimes, equations must be numbered to be referenced in the text. For instance, consider Equation~\ref{eq:limit-for-e} below which expresses the constant $e$ as a limit.
\begin{equation} \label{eq:limit-for-e}
\lim_{n \rightarrow \infty} \left( 1+{1 \over n} \right)^n = e
\end{equation}
equation
環境だと,右に番号が付く\label{...}
である箇所に目印をつける\ref{...}
を目印名の番号に帰る(数式なら数式番号,図表なら図番号など).\pageref{...}
だと目印のページ番号.\left( \right)
は内応に合わせて,大きさが変わる括弧を作る.{... \over ...}
も分数の書き方.左が分子,右が分母.