TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

I want to know, how to decrease/increase the distance between month label and the calendar. There seem to be no "month label xshift" key.

Here is an MWE to play with:



  \calendar (mycal) [dates=2013-01-01 to 2013-01-last, week list, month label left vertical];
  \draw[red, thick] (mycal-2013-01-28) circle (7.3pt);


With following result:

enter image description here

share|improve this question
You could for example use every month/.append style={xshift=.5cm}. – Qrrbrbirlbel Feb 8 '13 at 14:02
@Qrrbrbirlbel: I think that's the answer, that's basically what happens inside the calendar library as well (month label left vertical sets every month/.append style{..., xshift=...} too). – Jake Feb 8 '13 at 14:08
@Qrrbrbirlbel: Yes, that's the answer. Thank you – schmendrich Feb 8 '13 at 14:14
up vote 5 down vote accepted

Use the every month style but .append style your changes, otherwise you’ll overwrite all previous changes to the every month.

The month label left vertical style already appends anchor=base east, xshift=-4.5ex, yshift=2.25ex, rotate=90, the latter transformation is also the reason we need to use yshift to move our label in the x direction.


    \calendar (mycal) [
        dates=2013-01-01 to 2013-01-last,
        week list, 
        month label left vertical,
        every month/.append style={yshift=1em},
    \draw[red, thick] (mycal-2013-01-28) circle (7.3pt);


enter image description here

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.