Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Tables in Latex

  1. Jul 20, 2011 #1
    Hi,

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

    Code (Text):
    \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
     
  2. jcsd
  3. Jul 21, 2011 #2

    hotvette

    User Avatar
    Homework Helper

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Tables in Latex
  1. Tables in LaTeX (Replies: 9)

  2. Tables in latex (Replies: 1)

  3. Latex table help (Replies: 2)

  4. Latex tables, units (Replies: 5)

Loading...