this is for holding javascript data
Deyan Ginev edited section_Tables_subsection_Merging_rows__.tex
almost 9 years ago
Commit id: f8c08ed3e75ba0802e472b65048ede21ad5210e5
deletions | additions
diff --git a/section_Tables_subsection_Merging_rows__.tex b/section_Tables_subsection_Merging_rows__.tex
index d4725c0..ebe89d6 100644
--- a/section_Tables_subsection_Merging_rows__.tex
+++ b/section_Tables_subsection_Merging_rows__.tex
...
\end{itemize}
Example:
\noindent\begin{minipage}{0.5\textwidth} \noindent\begin{minipage}{0.7\textwidth}
\begin{lstlisting}
\begin{tabular}{|l|l|l|}
\hline
\multicolumn{3}{|c|}{Table cheat sheet} \\
...
& \verb.c|. & center\\
& \verb.|r. & right\\
& \verb,|p{'width'}|, & custom width, aligned top \\
& \verb,|m{'width'}|, & custom width, aligned
middle\footnote{requires array.sty} middle \\
& \verb,|b{'width'}|, & custom width, aligned
bottom\footnote{requires array.sty} bottom \\ \hline
\multirow{3}{*}{Borders} & none & default \\
& \verb.|. & single, as in \verb.l|. \\
& \verb.||. & double, as in \verb.l||c. \\ \hline
...
& \verb|newline| & macro style \\
\hline
\end{tabular}
\end{lstlisting}
\end{minipage}
\noindent\begin{minipage}{0.5\textwidth}
\begin{lstlisting} \noindent\begin{minipage}{0.2\textwidth}
\begin{tabular}{|l|l|l|}
\hline
\multicolumn{3}{|c|}{Table cheat sheet} \\
...
& \verb.c|. & center\\
& \verb.|r. & right\\
& \verb,|p{'width'}|, & custom width, aligned top \\
& \verb,|m{'width'}|, & custom width, aligned
middle middle\footnote{requires array.sty} \\
& \verb,|b{'width'}|, & custom width, aligned
bottom bottom\footnote{requires array.sty} \\ \hline
\multirow{3}{*}{Borders} & none & default \\
& \verb.|. & single, as in \verb.l|. \\
& \verb.||. & double, as in \verb.l||c. \\ \hline
...
& \verb|newline| & macro style \\
\hline
\end{tabular}
\end{lstlisting} \end{minipage}