Graphics, Figures & Tablesmultirow | Problems with multiple Columns

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
MickiTEX
Posts: 3
Joined: Sat Jun 23, 2012 10:52 am

multirow | Problems with multiple Columns

Post by MickiTEX »

Hallo everybody!

In the following table I have got two problems: One is that missing vertical line at the bottom right corner of the table and the other is that the word "Abschlusspräsentation" isn't as large as I want it to be and it's also not in the center of the big cell at the bottom.

Here's the code of the table:

Code: Select all

\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline
Stunde&\multicolumn{7}{c|}{Workshop (mit Treffpunkt)} \\ \hline
1&\multirow{4}{20mm}{\hspace*{4mm}Rallye \\ 
\hspace*{-0.5mm}
(vor B414)\\ \hspace*{4mm}France \hspace*{4mm}Mobile }
&\multirow{4}{20mm}{\hspace*{4mm}France \\ \hspace*{4mm}Mobile\\ 
\hspace*{3mm} (\hspace*{5mm})\\ 
\hspace*{3mm}Rallye  \textbf{(II)}}&\multirow{4}{20mm}{\hspace*{2mm}Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Kochen\\
 \hspace*{3mm}(\hspace*{5mm})}    
&\multirow{4}{20mm}{\hspace*{2mm}Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Kochen \textbf{(II)}\\
 \hspace*{3mm}(\hspace*{5mm})}
&\multirow{4}{20mm}{\hspace*{2mm}Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Basteln\\ \hspace*{4mm}(\hspace*{5mm})}&\multirow{4}{20mm}{\hspace*{1mm}Germany's\\Next French\\Man/Woman \\ \hspace*{4mm}(Mensa)}
&\multirow{4}{20mm}{\hspace*{4mm}Französ-\\\hspace*{5mm}ische\\\hspace*{3mm}Chansons\\ \hspace*{4mm}(B305)}\\  
&&&&&&&\\ 
\cline{1-1}
2&&&&&&&\\ 
&&&&&&&\\ \hline
Pause&\multicolumn{7}{c|}{}\\ \hline
3&\multirow{4}{20mm}{\hspace*{4mm}Rallye \\ 
\hspace*{-0.5mm}
(vor B414)\\ \hspace*{4mm}France \hspace*{4mm}Mobile }
&\multirow{4}{20mm}{\hspace*{4mm}France \\ \hspace*{4mm}Mobile\\
\hspace*{3mm}(\hspace*{5mm})\\
\hspace*{3mm}Rallye \textbf{(II)} }&\multirow{4}{20mm}{\hspace*{2mm}Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Kochen\\ \hspace*{4mm}(\hspace*{5mm})}         &\multirow{4}{20mm}{Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Kochen \textbf{(II)}\\
\hspace*{3mm}(\hspace*{5mm})}
&\multirow{4}{20mm}{\hspace*{2mm}Französ-\\\hspace*{5mm}isch\\\hspace*{2mm}Basteln\\
 \hspace*{3mm}(\hspace*{5mm})}    
&\multirow{4}{20mm}{\hspace*{1mm}Germany's\\Next French\\Man/Woman \\ \hspace*{4mm}(Mensa)}
&\multirow{4}{20mm}{\hspace*{4mm}Französ-\\\hspace*{4mm}isches\\\hspace*{4mm}Theatre\\ \hspace*{4mm}(B305)}\\  
&&&&&&&\\ 
\cline{1-1}
4&&&&&&&\\ 
&&&&&&&\\ \hline
Pause&\multicolumn{7}{c|}{}\\ \hline
5&\multicolumn{7}{l|}{
\multirow{4}{20mm}
{\large Abschlusspräsentation}}\\ 
\\ \cline{1-1}
6\\
\\ \hline 
\end{tabular}
Attachments
stundenplan_aushang2.pdf
(26.8 KiB) Downloaded 169 times
Last edited by localghost on Sat Jun 23, 2012 11:34 am, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

multirow | Problems with multiple Columns

Post by cgnieder »

I would be very nice (and also very helpful both for you and for potential helpers) if you posted a Infominimal working example next time. That means a code which can be compiled directly without having to add a preamble and guessing which packages you might have used.

Changing the last lines of your table to

Code: Select all

 Pause  & \multicolumn{7}{c|}{}\\ \hline
 5      & \multicolumn{7}{c|}{\multirow{4}{*}{\large Abschlusspräsentation}}\\
        & \multicolumn{7}{c|}{} \\ \cline{1-1}
 6      & \multicolumn{7}{c|}{} \\
        & \multicolumn{7}{c|}{} \\ \hline
should do the trick.

Best regards
site moderator & package author
MickiTEX
Posts: 3
Joined: Sat Jun 23, 2012 10:52 am

Re: multirow | Problems with multiple Columns

Post by MickiTEX »

Thanks a lot. That works.
Post Reply