## LaTeX forum ⇒ Calendars and Miscellaneous ⇒ Yearly Calendar Formatting

Calendars, invoices, tables, memos, contracts, dictionaries, code snippets
nvulic
Posts: 1
Joined: Tue Jun 09, 2015 10:48 pm

### Yearly Calendar Formatting

Hi, I was using the template from http://www.texample.net/tikz/examples/a-calender-for-doublesided-din-a4/ to make a calendar. Whenever I try inserting text for any day in June it always pushes the calendar down and left. Just trying to figure out what is happening with the formatting. There is no issue with December on the 2nd page which is why this is weird. Something to do with maximum text width being violated I suppose...

Thanks,

Neven

Stefan Kottwitz
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi Neven,

welcome to the forum!

nvulic wrote:Whenever I try inserting text for any day in June it always pushes the calendar down and left.

How are you doing this? I guess you don't insert text into the drawing but outside. You can place text by placing a node, similar to the `\termin` command there.

For example, you could define

`\newcommand*{\mydate}[2]{   \node [anchor=north west, text width= 3.4cm] at     (\$(cal-#1.north west)+(3em, -0.2ex)\$) {#2};}`

and later in the drawing you use it like

`\mydate{\year-06-05}{Today is the day}`

calendar.png (8.21 KiB) Viewed 12148 times

Stefan