General ⇒ IMSART in combination with appendix package
IMSART in combination with appendix package
I am using the imsart package. In that package, with the \runauthor-command one has to specify how the author's name appears in the headline of every page. However, I use the package in combination with the appendix package, and unfortunately in the appendix of the paper the headlines of the pages are empty, i.e. no author is given there. This is very annoying. I contacted one of those people responsible for imsart but he did not reply yet. Has anyone an idea how I can extend the display of the author's names also to the pages in the appendix?
Thanks in advance and with best regards,
Florian
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
IMSART in combination with appendix package
Re: IMSART in combination with appendix package
thanks for considering my question. I have created a minimal working example which shows that on the second page (not appendix) the author's name and the paper's title appear in the headline while on the third page (appendix) both have disappeared.
\documentclass[preprint]{imsart}
\RequirePackage{amsthm,amsmath,verbatim,appendix,graphics,amssymb,mathrsfs}
\begin{document}
\begin{frontmatter}
\title{An (almost) minimal working example}
\runtitle{Minimal working example}
\begin{aug}
\runauthor{Florian}
\end{aug}
\end{frontmatter}
\newpage
\section{Main Text}
Here the author's name and the runtitle \emph{appear} in the headline.
\newpage
\appendix
\appendixpage
Here the author's name and the runtitle do \emph{not} appear in the headline anymore!! That's the problem!
\end{document}
If you could help me how to resolve the problem, I would be highly grateful!
Thanks,
Florian
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
IMSART in combination with appendix package
the appendix package calls \markboth, you could use this workaround disabling it temporarily:
Code: Select all
\let\stdappendixpage\appendixpage
\renewcommand*\appendixpage{{%
\let\markboth\relax\stdappendixpage}}
Re: IMSART in combination with appendix package
your idea works perfectly. You are a LaTex magician!
Thank you and best regards,
Florian
IMSART in combination with appendix package
Have you more \part commands in your document? If not, observe that \appendixpage (or its replacement \part*{Appendices}) writes a title in a big font size, breaking the global appearance of the document. If you have only one appendix, I would simply start it with
Code: Select all
\section*{Appendix}
Code: Select all
\appendix
\section{Title of the first appendix}
Some text
\section{Title of the second appendix}
Some text
..........................................