Mercurial > dottes
comparison dottes.tex @ 611:b6b80aca673d
It seems \tabularnewline is better than \\ in tables.
It explicitly means that this is the end of an entire row. \\ can
get redefined a lot.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 04 Nov 2016 23:57:05 +0000 |
parents | ef0d66742e01 |
children | 49d72092b45e |
comparison
equal
deleted
inserted
replaced
610:b20beaebc06b | 611:b6b80aca673d |
---|---|
49 % filename, notes, history. | 49 % filename, notes, history. |
50 \newcommand{\showtune}[7]{% | 50 \newcommand{\showtune}[7]{% |
51 \phantomsection | 51 \phantomsection |
52 \begin{tabularx}{\textwidth}{LCR} | 52 \begin{tabularx}{\textwidth}{LCR} |
53 \addcontentsline{toc}{section}{#2} | 53 \addcontentsline{toc}{section}{#2} |
54 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ | 54 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \tabularnewline |
55 \ifemptyarg{#3}{}{% | 55 \ifemptyarg{#3}{}{% |
56 & #3 & \\ | 56 & #3 & \tabularnewline |
57 } | 57 } |
58 \multicolumn{3}{c}{% | 58 \multicolumn{3}{c}{% |
59 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}% | 59 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}% |
60 }\tabularnewline | 60 }\tabularnewline |
61 \end{tabularx} | 61 \end{tabularx} |