Changing title/author in the middle of a document

1,110

Based on what's in the combine documentation, the following code includes two papers as a mock-up of conference proceedings with a table of contents:

\documentclass[11pt]{combine}
\title{Proceedings of the ...}
\author{A. N. Editor\thanks{Support ...}}
\begin{document}
\pagestyle{combine}
\maketitle
\tableofcontents
\clearpage
\section{Editor's introduction} \label{intro} 
In the article by A.~N.~Author on page~\pageref{art1} ...
\begin{papers}
\coltoctitle{An article}
\coltocauthor{A.~N.~Author}
\label{art1}
\import{art1}
\coltoctitle{Another article}
\coltocauthor{A.~N.~Other}
\label{art2}
\import{art2}
\end{papers}
\clearpage
\section{Acknowledgements}
Among the many ...
\end{document}

This could be art1.tex:

\documentclass{article}
\title{An article}
\author{A.~N.~Author}
\begin{document}
\maketitle
My paper.
\end{document}

And this could be art2.tex:

\documentclass{article}
\title{Another article}
\author{A.~N.~Other}
\begin{document}
\maketitle
My paper.
\end{document}
Share:
1,110

Related videos on Youtube

Aloizio Macedo
Author by

Aloizio Macedo

I am a PhD in Mathematics at UFRJ (Universidade Federal do Rio de Janeiro) currently working at traffic control as an applied mathematician. You can see my webpage on IM-UFRJ here. My area of study in my DSc and MSc was Geometry and Topology. Specifically, I studied the free loop space of globally symmetric spaces and its homology in the specific case of CROSS's (Compact Rank One Symmetric Spaces) in my MSc. In my DSc, I studied the symmetric Hofer-Zehnder capacity (defined in symmetric symplectic manifolds, which are essentially symplectic manifolds equiped with an anti-symplectic involution with non empty fixed-point set) and arrived at results related to its finiteness under specific conditions. My main mathematical interests reside in the following areas: Topology Geometry Analysis Set Theory Foundations of Mathematics Algebra Functional Analysis Measure Theory I also like music, and I'm a huge fan of guitarist John Frusciante. I have a blog, on which I post something every once in a millennium: http://aloiziomacedo.weebly.com/ I have a Real Analysis book in development (mostly done), which you can see here (I've been adding some things, so the last sections are still incomplete). You can contact me at aloiziomacedo AT gmail DOT com.

Updated on August 01, 2022

Comments

  • Aloizio Macedo
    Aloizio Macedo over 1 year

    I am creating an internal "toy" journal for the undergraduates of my university. I grabbed a template of a journal available from CTAN in order to make this toy journal.

    When trying to build it up, I made a "mother" .tex and put various \include{paper1},...\include{paper i }, ... \include{paper n} to put all submissions together.

    However, the titles and authors are being fixed from the first \include{paper1}. Even if I change them in paper 2, they don't display correctly (they display as normal text) and the previous titles/authors keep reappearing on pages.

    I would like a way to solve this issue and, if possible, references on how to "build up" something like a journal. Thanks in advance.

    • Gareth Walker
      Gareth Walker almost 7 years
      Have you had a look at the combine package? I think that does it.
    • Aloizio Macedo
      Aloizio Macedo almost 7 years
      @GarethWalker Thank you for the suggestion. I'm trying to implement the class, but I am having some difficulties. For instance, the following error appears: "! TeX capacity exceeded, sorry [input stack size=5000].<to be read again>t \end{align}" whenever I try to include a document.
    • Gareth Walker
      Gareth Walker almost 7 years
      You'll almost certainly need to provide a MWE demonstrating the error before anyone helps.
  • Aloizio Macedo
    Aloizio Macedo almost 7 years
    Thank you for the help and reference. I'll accept your answer and open another question with respect to the error I mentioned in the comments.
  • Aloizio Macedo
    Aloizio Macedo almost 7 years
    Do you have alternatives to this package? I am having problems with it.