Search found 5 matches

by bleagos
Wed Mar 09, 2011 11:38 pm
Forum: Page Layout
Topic: Contents without appendix
Replies: 5
Views: 3119

Contents without appendix

Ah ok... So something like this:

Code: Select all

\documentclass[a4paper,12pt]{article}
\begin{document}
\tableofcontents
\section{Section 1}
.....
\appendix
\section{Appendix A}
\end{document}
I want it so that my table of contents only shows the sections rather than the appendices aswell.
Thanks
by bleagos
Wed Mar 09, 2011 6:58 pm
Forum: Page Layout
Topic: Contents without appendix
Replies: 5
Views: 3119

Contents without appendix

west.logan wrote:Do you have a MWE? What class are you using?
I am using article but am not sure what an MWE is?
by bleagos
Wed Mar 09, 2011 6:13 pm
Forum: Page Layout
Topic: Contents without appendix
Replies: 5
Views: 3119

Contents without appendix

Hi,
I was just wondering how you could make the table of contents not show appendices?

Thanks
by bleagos
Mon Mar 07, 2011 1:26 pm
Forum: General
Topic: add color to verbatim environments
Replies: 7
Views: 22543

Re: add color to verbatim environments

That is wicked, thanks :)
by bleagos
Mon Mar 07, 2011 12:31 pm
Forum: General
Topic: add color to verbatim environments
Replies: 7
Views: 22543

add color to verbatim environments

Hey,
I was just wondering how you would choose specific lines to be red...like just the 5th and 7th line, is there anyway to do this similar to the previous code, something like this:
\renewcommand{\FancyVerbFormatLine}[1]{%
\ifnum\value{FancyVerbLine}=5 or 7\color{red}#1%
\else\color{black}#1\fi ...