TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some positions I'd like to apply to I'm not brave enough to use moderntimeline. Is it possible to disable the timeline part and fall back to just numerical date ranges without having to rewrite the relevant parts?

share|improve this question
Hi McEnroe and welcome to TeX.sx. In its current form, your question might not receive many answers. Please take a look at the How to Ask-page and try to improve your question according to the guidance found there. This may require you to show some effort on your part in terms of attempting a solution. If you have questions about what to do or if you don't quite understand what this means, please ask for clarification using the add comment function. – Jubobs Mar 24 '13 at 17:00
up vote 2 down vote accepted

I haven't tested this as you haven't provided a MWE, but the idea is to save two definitions of a cventry (\cventrytl and \cventrynotl) and switch your \mycventry between them.

So, in your preamble, save the two definitions:

\let\cventrynotl\cventry% save definition of cventry without timeline
\let\cventrytl\tlcventry% save definition of cventry with timeline

\let\mycventry\cventrytl% start with \mycventry as cventry with timeline

Then in your document, you can can simply use \mycventry, which takes the same arguments as \tlcventry. When you want to disable the timeline, you redefine it as follows to discard the two timeline arguments and resort to \cventrynotl:


When you want to reenable the timeline, you revert to the original definition:

share|improve this answer

In Addition to the other answer, a helpful modification might be to use

\renewcommand*{\mycventry}[7]{\cventrynotl{#1 -- \ifnum #2=0 ~ \else #2 \fi}{#3}{#4}{#5}{#6}{#7}}


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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