General ⇒ Appendix possible in latex?
Appendix possible in latex?
I will need you guys help for the appendix please.
I'll the the appendix to appear on the contents page if possible but not as a chapter.
Thanks in advance
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
Appendix possible in latex?
Code: Select all
\appendix
\chapter{Questionnaire Requirement}
\chapter{Questionnaire Testing}
Code: Select all
! LaTeX Error: File `appendix.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix possible in latex?
it seems you typed \usepackage{appendix}, but that's not neccessary for an appendix. One small example:
Code: Select all
\documentclass[a4paper,10pt]{report}
\begin{document}
\tableofcontents
\chapter{One}
\appendix
%\addcontentsline{toc}{chapter}{Appendix}
\addtocontents{toc}{\protect\contentsline{chapter}{Appendix:}{}}
\chapter{Questionnaire Requirement}
\chapter{Questionnaire Testing}
\end{document}
Re: Appendix possible in latex?
-
- Posts: 12
- Joined: Sun Oct 02, 2016 5:09 am
Re: Appendix possible in latex?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix possible in latex?
welcome to the forum!
It is not necessary to put chapters in separate .tex files. The whole document can be a single .tex file.
It's just handy to use a file for each chapter and to use
\include{filename}
for including them in the main document. That's because you don't need to work with a huge file but split the work into small files for better handling. It's easy to comment out some \include
(or to use \includeonly
) so just the current chapter that you are working on is compiled.Stefan
-
- Posts: 12
- Joined: Sun Oct 02, 2016 5:09 am
Re: Appendix possible in latex?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix possible in latex?
\appendix
command that starts an appendix. Then, the code makes normal chapters. LaTeX just uses letters for numbering and starts with A.Stefan
-
- Posts: 12
- Joined: Sun Oct 02, 2016 5:09 am