69 lines
1.1 KiB
TeX
69 lines
1.1 KiB
TeX
\chapter{Introduction}
|
|
\clearpage
|
|
|
|
\section{はじめに}
|
|
|
|
Start Writing!
|
|
|
|
Use lualatex + biber to compile.
|
|
|
|
Test Bib\cite{example}
|
|
|
|
いろはにほへと ちりぬるを
|
|
|
|
{\sans \LaTeX で自由な組版を。}
|
|
|
|
{\sans Write freely with \LaTeX{}.}
|
|
|
|
{\zeroxproto LaTeX shall be free forever!}
|
|
|
|
\begin{lstlisting}[language=C, caption=Basic Hello World]
|
|
#include <stdlib.h>
|
|
|
|
int square(int n) {
|
|
return n*n;
|
|
}
|
|
|
|
int main(int argc, char** argv) {
|
|
char* msg = "Hello World";
|
|
int x = 3;
|
|
int y = square(x);
|
|
printf("%s\n", msg);
|
|
printf("f(x) = x^2; x: %d, y: %d\n", x, y);
|
|
return 0;
|
|
}
|
|
\end{lstlisting}
|
|
|
|
\begin{displaymath}
|
|
\int_{a}^{b} f(x) \,dx = F(b)-F(a)
|
|
\end{displaymath}
|
|
|
|
\begin{itemize}
|
|
\item C
|
|
\item Python
|
|
\item Javascript
|
|
\item Rust
|
|
\item Haskell
|
|
\end{itemize}
|
|
|
|
\begin{enumerate}
|
|
\item lualatex <filename>.tex
|
|
\item biber <filename>
|
|
\item lualatex <filename>.tex
|
|
\item lualatex <filename>.tex
|
|
\end{enumerate}
|
|
|
|
\newpage
|
|
|
|
\section{Section}
|
|
|
|
section
|
|
|
|
\subsection{Sub Section}
|
|
|
|
sub section
|
|
|
|
\paragraph{Paragraph}
|
|
|
|
paragraph
|