LaTeX Creating a Time Table with LaTeX

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Latex Table Time
AI Thread Summary
The discussion revolves around creating a timetable in LaTeX using the provided code. Key points include inquiries about how to leave the area above the first two columns blank, how to center text within each cell while combining the effects of the |c| and |m{}| column specifications, and the issue of double lines appearing between columns. Suggestions include exploring dedicated LaTeX user groups for additional support. The conversation emphasizes the need for precise formatting in tabular environments within LaTeX documents.
EngWiPy
Messages
1,361
Reaction score
61
Hi,

I am trying to do a time table as in the following code:

Code:
\documentclass[a4paper]{report}
\usepackage{lscape}
\usepackage{multirow}
\usepackage{bigstrut}
\usepackage{array}
\begin{document}
\thispagestyle{empty}
\pagestyle{empty}  
\begin{landscape}
\begin{tabular}{*{11}{| m{1.5cm} |}}
\cline{3-11}
& & \multicolumn{9}{|c|}{Week}\\\cline{3-11}
  &            & Week 1 & Week 2 & Week 3 & Week 4 & Week 5 &Week 6& Week 7 & Week 8 & Week 9 \\\cline{1-11}
              \multicolumn{1}{|c|}{\multirow{4}{*}{Course}} & \multicolumn{1}{|c|}{Course 1} &  &  &  & & &  & & &\\\cline{2-11}
              
              & \multicolumn{1}{|c|}{Course 2} & &  & &  & &  &  &  &\\\cline{2-11}
              & \multicolumn{1}{|c|}{Course 3} &  &  &  &  &  &  &  &  &\\\cline{2-11}
               & \multicolumn{1}{|c|}{Course 4} &  & &  &  &  &  &  & &\\\cline{1-11}
\end{tabular}
\end{landscape}
\end{document}

and I have some questions:

1- How to make the area over the first two columns completely blank?
2- How to align the writing in each cell to the center of the cell and maintaining the tabular argument above? I need the effect of |c| and |m{}| together.
3- Why is there double lines between columns?!

Thanks in advance
 
Physics news on Phys.org

Similar threads

Back
Top