LAview.LaTeX-Struct/test/tex/back_slashes_in_a_table.eta...

49 lines
1.1 KiB
TeX
Raw Normal View History

2014-04-09 17:43:14 +04:00
\documentclass[russian]{report}
\usepackage{array}
\begin{document}
% use of \tabularnewline
\begin{tabular}{|>{\centering}p{0.08\paperwidth}|>{\centering}b{0.08\paperwidth}|>{\centering}m{0.08\paperwidth}|}
\hline
A1 \\ aa A1 & B1 \\ aa B1 & C1 \\ aa C1 \tabularnewline
\hline
A1 & B1 & C1 \tabularnewline
\hline
A2 & B2 & C2 \tabularnewline
\hline
\end{tabular}
% old style row endings
\begin{tabular}{|c|c|c|}
A \tabularnewline & B \tabularnewline & C \tabularnewline
A & B & C \tabularnewline C
\end{tabular}
\begin{tabular}{|c|c|c|}
A & B & C \tabularnewline
A & B & C \tabularnewline
\end{tabular}
% use of \tabularnewline
\begin{longtable}{|>{\centering}p{0.08\paperwidth}|>{\centering}b{0.08\paperwidth}|>{\centering}m{0.08\paperwidth}|}
\hline
A1 \\ aa A1 & B1 \\ aa B1 & C1 \\ aa C1 \tabularnewline
\hline
A1 & B1 & C1 \tabularnewline
\hline
A2 & B2 & C2 \tabularnewline
\hline
\end{longtable}
% old style row endings
\begin{longtable}{|c|c|c|}
A \tabularnewline & B \tabularnewline & C \tabularnewline
A & B & C \tabularnewline C
\end{longtable}
\begin{longtable}{|c|c|c|}
A & B & C \tabularnewline
A & B & C \tabularnewline
\end{longtable}
\end{document}