Dear Latex-Community,
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
General ⇒ IMSART in combination with appendix package
NEW: TikZ book now 40% off at Amazon.com for a short time.
IMSART in combination with appendix package
The imsart class is not standard. I've downloaded the bundle from here and I've added the appendix package in the sample paper. The headers were still there. So I don't see the problem. You should build a minimal working example and post it here.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: IMSART in combination with appendix package
Hi Juanjo,
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
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: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
IMSART in combination with appendix package
Hi Florian,
the appendix package calls \markboth, you could use this workaround disabling it temporarily:
Stefan
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}}
LaTeX.org admin
Re: IMSART in combination with appendix package
Dear Stefan,
your idea works perfectly. You are a LaTex magician!
Thank you and best regards,
Florian
your idea works perfectly. You are a LaTex magician!
Thank you and best regards,
Florian
IMSART in combination with appendix package
Stefan's advice solves the particular problem you found. However, I would suggest to consider if the appendix package, in your case, is really convenient. So, is \appendixpage the only command from the appendix package that you use? In the affirmative case, you can perfectly remove appendix from the preamble (so don't load it) and replace \appendixpage by \part*{Appendices} (internally, \appendixpage is just a redefinition of \part).
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
whereas, if you have several appendices, I would write something like
In my opinion, an "appendices" title may be convenient in, say, a master thesis or long report, but not in a relatively short research article. Anyway, that's your choice.
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
..........................................
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.