General ⇒ Appendix
Appendix
Thank you,
Linda
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Appendix
Re: Appendix
Thank you,
Linda
- Attachments
-
- mwe.tex
- (4.11 KiB) Downloaded 918 times
Appendix
More adapted to your needs is the subappendices environment, also defined in the appendix package. Now, each appendix is produced by a \section command. Read carefully p. 4 in the manual of the package. The following code exemplifies this environment:
Code: Select all
\documentclass[12pt,oneside]{book}
\usepackage[titletoc,title]{appendix}
\usepackage[dotinlabels]{titletoc}
%\usepackage[titles]{tocloft}
\begin{document}
\tableofcontents
\chapter{RANDOM TITLE}\label{chap:1}
\newpage
\begin{subappendices}
\section{First appendix}\label{A}
Please refer to Appendix \ref{C}.
\section{Second appendix}\label{B}
Please refer to Appendix \ref{A}.
\section{Third appendix}\label{C}
Please refer to Appendix \ref{B}.
\end{subappendices}
\end{document}
- Both the titletoc and the tocloft packages modify the table of contents. Use one or another, but not both.
- \bf is an obsolete command. Use \bfseries or \textbf instead. Please note that, contrarily to \textbf, the commands \bf and \bfseries have no argument. Thus, write {\bfseries text more text} or \textbf{text more text}.