[Tex/LaTex] Guide to managing multiple resume with one LaTeX

resume

I've heard making and managing a resume in LaTeX is highly useful. I am sure consistent and easy to maintain output format is one reason.

I haven't used LaTeX before (a suggestion to where from to learn will also be helpful) so my question may be fairly trivial.

The questions:

  1. Is it possible to have one resume
    and have multiple outputs (I don't
    know what it is called, but I mean when
    you make a PDF, etc. of it) based on
    you selecting show this section and
    don't show this section? How?

    For example, at some places I would
    like to give them my resume with
    mentions of X and Y and not A while
    I would like to give my resume
    elsewhere with A and not X or Y.

  2. Also, is it possible to have a
    couple of summary sections written
    and chose one of them to be inserted
    when the documented is exported (as
    in made into a PDF, etc.)? How?

Best Answer

For this sort of “conditional” compilation I would suggest the use of, e.g., verbatim to create comment environments to skip over parts of a document with respect to your selected options. A quick example

\documentclass{article}

\usepackage{verbatim}
\newenvironment{optionA}{}{} % use this to show
% \newenvironment{optionA}{\comment}{\endcomment} % use this to hide

\begin{document}

\begin{optionA}
Some text to show only if optionA is enabled.
\end{optionA}

\end{document}

Toggling between the two definitions of the optionA environment (of course you should give it a more descriptive name) you can select whether the appropriate content is shown (or not) in the final pdf output.

Related Question