Hi!
Dor my thesis i decided to improve my work inserting directly in Lyx the command "\appendix" but i don't understand how to end this part.
I would like to insert an Appendix between two different chapters but if i use this command everything i'll write after that will be inside the Appendix without the possibility to come back to a "normal chapter".
Could someone help me?
Could someone explain me how to end the \appendix part?
Thanks a lot!!
LyX ⇒ HELP Lyx command \appendix
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
HELP Lyx command \appendix
Hi Tanja,
welcome to the forum!
Usually an appendix comes at the end. That's why there's the
You could make it with the
appendix package, such as, in LaTeX:
Did you see a book with an appendix between chapters? As it's an addition anyway, it usually comes at the end. Your thesis may be nearly the only one with appendices within the actual document, which is an interesting idea but perhaps unusual styles may not be so honored, except the supervisor wants it that way.
Stefan
welcome to the forum!
Usually an appendix comes at the end. That's why there's the
\appendix
command to switch to the appendix, but not command to switch back. As an appendix in the middle of a document is very uncommon, there's no default support for it.You could make it with the

Code: Select all
\documentclass{report}
\usepackage{appendix}
\begin{document}
\chapter{One}
The chapter content
\section{A section}
The section content
\section{Another section}
The section content
\begin{subappendices}
\chapter*{Appendix}
\section{A title for the appendix}
Appendix text
\section{Another heading in the appendix}
More appendix text
\end{subappendices}
\chapter{Two}
The chapter content
\section{A section}
text
\begin{subappendices}
\chapter*{Appendix}
\section{Title for an appendix}
text
\section{Another title for an appendix}
text
\end{subappendices}
...
\end{document}
Stefan
LaTeX.org admin
HELP Lyx command \appendix
Hi Stefan,
you're right, actually it's not very common what I wanted to. Maybe I should rethink it.
I am writing a chapter where I'm showing the results of a model I tested and at the end of the chapter I wanted to add an appendix with the R code used to produce the results. Then I wanted to switch back to a chapter for the conclusions.
Maybe it's simply the best to add the R code at the end of the thesis.
Thanks a lot!
you're right, actually it's not very common what I wanted to. Maybe I should rethink it.
I am writing a chapter where I'm showing the results of a model I tested and at the end of the chapter I wanted to add an appendix with the R code used to produce the results. Then I wanted to switch back to a chapter for the conclusions.
Maybe it's simply the best to add the R code at the end of the thesis.
Thanks a lot!