Take the 2-minute tour ×
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.

Is there any way to make a kind of activities calendar to put five activities per month in LaTeX, what would you recommend to make it look nice.

Something like:

Month      Activities    
---------------------
January   1.
          2.
          3.
February  1.
          2.
          3.
....

I was thinking in

\begin{center}
\begin{table}
  \begin{tabular}{|l|c|p{3.5in}|}
        \hline
        Month      & Activities \\ \hline
        January   &  1.  \\\newline &2.  \\\newline &3 \\ \hline
        February & 1.  \\\newline &2.  \\\newline &3 \\ \hline
       March       & 1.  \\\newline &2.  \\\newline &3 \\ \hline
        ~        & ~          \\
        \hline
    \end{tabular}
\end{table}
\end{center}

Is there a more elegant way to do this, also I am not getting that centered.

share|improve this question
2  
For the centering problem: use \begin{table}\centering instead of \begin{center}\begin{table} (see Should I use center or centering for figures?) –  Jake Sep 9 '11 at 5:49
add comment

1 Answer

up vote 8 down vote accepted

I would use the booktabs package, which gives you nice horizontal lines and appropriate vertical spacing, lose the vertical lines (they don't make the table clearer but introduce clutter), use one table row per activity, and use slightly larger vertical spacing to separate the months (you can do this with \\ \addlinespace:

\documentclass{article}

\usepackage{booktabs}
\usepackage{caption}

\begin{document}
\begin{table}\centering
\caption{Calendar of Activities}

\begin{tabular}{ll}\toprule
Month & Activities  \\\midrule
January & 1. Eat    \\
    & 2. Drink  \\
    & 3. Sleep  \\\addlinespace
February & 1. Read  \\
    & 2. Think  \\
    & 3. Write  \\
\bottomrule
\end{tabular}
\end{table}
\end{document}

share|improve this answer
add comment

Your Answer

 
discard

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.