では TeX ファイル (source code)を見てみます。
\documentclass[a4paper,11pt]{report}
\begin{document}
\title{A Simple Document}
\author{Me}
\maketitle
\begin{abstract}
A brief document to illustrate how to use \LaTeX.
\end{abstract}
\chapter{Introduction}
\section{The First Section}
This is a simple \LaTeX\ document.
Here is the first paragraph.
\section{The Next Section}
Here is the second paragraph. As you can see it's a very
short document\footnote{with a footnote}.
This document was created on: \today.
\chapter{Another Chapter}
Here's another very interesting chapter.
We're going to put a picture here later.
\chapter*{Acknowledgements}
I would like to acknowledge all those
very helpful people who have assisted me in my work.
\appendix
\chapter{Tables}
We will turn this tabular environment into a table later.
\begin{tabular}{lrr}
& \multicolumn{2}{c}{\bfseries Expenditure}\\
& \multicolumn{1}{c}{Year1} & \multicolumn{1}{c}{Year2}\\
\bfseries Travel & 100,000 & 110,000\\
\bfseries Equipment & 50,000 & 60,000
\end{tabular}
\end{document}
これは chapter の 所で 使用したものと 同一の 内容です。
”platex” で 処理を します。
$ ls -l | sed 1d -rw-r--r-- 1 fdopstm users 1025 7月 8日 10:04 report.tex $ platex report.tex This is pTeX, Version 3.14159-p3.1.3 (euc) (Web2C 7.4.5) (./report.tex pLaTeX2e <2001/09/04>+0 (based on LaTeX2e <2001/06/01> patch level 0) (/usr/share/texmf/tex/latex/base/report.cls Document Class: report 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size11.clo)) No file report.aux. [1] [1] Chapter 1. [1] Chapter 2. [2] [3] Appendix A. [4] (./report.aux) ) Output written on report.dvi (6 pages, 2296 bytes). Transcript written on report.log. $ ls -l | sed 1d -rw-r--r-- 1 fdopstm users 616 7月 8日 10:18 report.aux -rw-r--r-- 1 fdopstm users 2296 7月 8日 10:18 report.dvi -rw-r--r-- 1 fdopstm users 4009 7月 8日 10:18 report.log -rw-r--r-- 1 fdopstm users 1025 7月 8日 10:04 report.tex
これが 出来上がりの 内容です。
”xdvi”の 頁の 部分を 再掲しておくと
残念ながら 1枚では 収まりません。これだけしか 無いのですが xdvi で 頁部分を見ると

6枚 有るということです。(しかしながら 頁の 表示は 4 迄です)一度 くらい 一式 見ておきましょう。
といって 一式 見てきました。 まずは 復習ということです。
にゃんたろう 拝!
2008年 7月 8日 (火) 21:01:34 JST 作成