Table with „tabulary“ and line breaks
%\usepackage{longtable} | |
%\usepackage{tabulary} | |
\newcommand{\cellOneOne}{ \textbf{Foobar} } | |
\newcommand{\cellOneTwo}{ \textbf{Foobar} } | |
\newcommand{\cellOneThree}{ \textbf{Foobar} } | |
% ----- ----- ----- ----- ----- ----- ----- ----- ----- | |
\newcommand{\cellTwoOne}{ | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit,\\ | |
sed diam nonummy nibh euismod tincidun | |
} | |
\newcommand{\cellTwoTwo}{ | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit,\\ | |
sed diam nonummy nibh euismod tincidun | |
} | |
\newcommand{\cellTwoThree}{ | |
\vspace{-1.25cm} | |
\begin{itemize}[leftmargin=*] | |
\item Key | |
\item Key | |
\item Key | |
\end{itemize} | |
} | |
\begin{longtable}{ | p{0.3\textwidth} | p{0.3\textwidth} | p{0.3\textwidth} | } | |
\hline | |
\cellOneOne & \cellOneTwo & \cellOneThree \\ | |
\hline | |
\cellTwoOne & \cellTwoTwo & \cellTwoThree \\ | |
\hline | |
\caption{Foobar} | |
\end{longtable} | |
\begin{tabulary}{\textwidth}{ | p{0.3\textwidth} | p{0.3\textwidth} | p{0.3\textwidth} | } | |
\hline | |
\cellOneOne & \cellOneTwo & \cellOneThree \\ | |
\hline | |
\cellTwoOne & \cellTwoTwo & \cellTwoThree \\ | |
\hline | |
\end{tabulary} |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
mkempe commentedMar 24, 2014
http://www.andy-roberts.net/writing/latex/tables