I am trying to compile a teaching portfolio of various LaTeX files. I have a main file and want to call the other files while keeping the formatting of the other files. I do want to put my name in the footer of every page after the first page (table of contents) of the document though.

Does anyone have any suggestions?

My main file is currently:

\title{Teaching Portfolio}
\author{Tyler Clark}
\date{Fall 2014}
\renewcommand*\contentsname{Table of Contents}
\addcontentsline{toc}{section}{Teaching Philosophy}
Teaching Philosophy
\addcontentsline{toc}{section}{Mathematics for Calculus Course Plan}
Mathematics for Calculus Course Plan

Now for the CV, I have something like

{\Large NAME} \\[.5pc]
CONTACT $\;$\\
{\large \bf Education} \\*[-.8pc]
\underline{\hspace{6in}} \\
%{\bf School stuff} \\
%Anticipate completion and defense of dissertation in May. \\
  • The principal problem is that you can't have \@onlypreamble commands like \documentclass, \usepackage etc. and \begin{document} more than one, so a direct inclusion involves some work. It's possible, with some efforts, however, if your files to be included are not to complicated – user31729 Nov 14 '14 at 16:46
  • 1
    The combine package might help: tug.ctan.org/macros/latex/contrib/combine/combine.pdf – Ethan Bolker Nov 14 '14 at 16:48
  • Christian, any ideas how to do it? – Tyler Clark Nov 14 '14 at 16:55

Compile the documents separately, include the pdf-files as pictures in a master file, that adds the footer, seems to be the easiest solution.

See e.g. this or this question that includes external documents with pdfpages.

  • Do you mean this serious? ;-) – user31729 Nov 14 '14 at 16:44
  • 1
    @ChristianHupfer why not? – David Carlisle Nov 14 '14 at 16:47
  • if you would mention the pdfpages package, and link to a question or two on this site that demonstrates its use, I'd vote for your answer :) – cmhughes Nov 14 '14 at 16:53
  • You could improve this answer by explaining how to use pagecommand={} to include the footer with the OP's name on each page. – cfr Nov 15 '14 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.