今回は ”\pageref” も 含んでいます。
まず TeX ファイル (source code)を 見てみましょう。
\documentclass[a4paper,11pt]{report}
\begin{document}
\title{A Simple Document}
\author{Me}
\maketitle
\tableofcontents
\begin{abstract}
A brief document to illustrate how to use \LaTeX.
\end{abstract}
\chapter{Introduction}
\label{ch:intro}
\section{The First Section}
This is a simple \LaTeX\ document. Here is the first paragraph.
The next chapter is Chapter~\ref{ch:another}
and is on page~\pageref{ch:another}.
The next section is Section~\ref{sec:next}.
\section{The Next Section}
\label{sec:next}
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}
\label{ch:another}
Here's another very interesting chapter.
We're going to put a picture here later.
See Chapter~\ref{ch:intro} for an
introduction.
\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}
関係すると 思われる 頁 のみ


にゃんたろう 拝!
2008年 7月 9日 (水) 21:00:11 JST 作成
Copyright © 2006.-2008. nyantarou All Rights Reserved.