GeneralHow to end the formatting from previous page...

LaTeX specific issues not fitting into one of the other forums of this category.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

How to end the formatting from previous page...

Post by kostoglotov »

Hi,
I needed to add an appendix at the end of my thesis. I created it in a format I wanted but when I place it after "references" it carries on the same formatting as in "references", i.e. it add a line on the top with "references" written on it. The rest of the page (i.e. formatting of the title "appendix" and spacing is OK). Clearly I have to alter somehow the formatting form the previous page. Do not know how though...

Here is how it looks like in main .tex file:

% this is formatting of that previous pages - references:

\begin{multicols}{2} % \begin{multicols}{ # columns}[ header text][ space]
\begin{tiny} % tiny(5) < scriptsize(7) < footnotesize(8) < small (9)

\bibliographystyle{Latex/Classes/PhDbiblio-url2} % Title is link if provided
\renewcommand{\bibname}{References} % changes the header; default: Bibliography

\bibliography{9_backmatter/references} % adjust this to fit your BibTex file

\end{tiny}
\end{multicols}

% And this an appendix I need to add...

\include{9/Appendix}

\end{document}




Thank you,
a.k.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How to end the formatting from previous page...

Post by Stefan Kottwitz »

Hi,

what do you mean with formatting? The page header?
You could use \markboth to change it.

Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: How to end the formatting from previous page...

Post by kostoglotov »

Hi,
yes I mean that there is still a header from the previous page, i.e. "references" - I want to get rid of it...
Where shall I put \markboth command then?
Cheers.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: How to end the formatting from previous page...

Post by kostoglotov »

Well,
I have used that and yes, I got rid of it. But still, it is considered as a continuation of that previous thing since it is not mentioned in "Contents"...

And additional question: would you know how can i get rid of that line in a header?

Thank you a lot!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How to end the formatting from previous page...

Post by Stefan Kottwitz »

To get it mentioned in the table of contents you should use \chapter or \section. Without those commands you could use \addcontentsline or \addtocontents.

And by

Code: Select all

\renewcommand{\headrulewidth}{0pt}
you can remove the header line.

Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: How to end the formatting from previous page...

Post by kostoglotov »

Cheers,
I think there is my problem - I should define it as a separate section but do not know how.
When I use \addtocontents command it adds it but as a subsection of previous section, i.e.
1 References
1.1 Appendix
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How to end the formatting from previous page...

Post by Stefan Kottwitz »

You could just write

Code: Select all

\appendix
\chapter{Title of Appendix}
...
I think it would be good to choose an appropriate title for the appendix, like "Tables" or "Sourcecodes" depending on the content of the appendix, not just "Appendix".

Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: How to end the formatting from previous page...

Post by kostoglotov »

That's brilliant mate!
Thank you a lot.
One more think though:
It creates "Appendix A", "Published papers"
Since I have just one appendix, i would prefer to have "Appendix" instead. Where can I modify this Appendix?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

How to end the formatting from previous page...

Post by Stefan Kottwitz »

You could change the secnumdepth counter:

Code: Select all

\appendix
\setcounter{secnumdepth}{-1}
\chapter{Appendix: Published papers}
Stefan
LaTeX.org admin
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to end the formatting from previous page...

Post by gmedina »

A quick fix:

Code: Select all

\appendix
\renewcommand\thechapter{ }
\chapter{Title of Appendix}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply