summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/grid-system
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-16 23:14:41 +0000
committerKarl Berry <karl@freefriends.org>2014-02-16 23:14:41 +0000
commit9a6c50c182c6a6f56ec91c0014cd2cd580dd8fee (patch)
tree9aaa0e8cf61fcfdf811b39a35440a7a3377feac2 /Master/texmf-dist/doc/latex/grid-system
parentba4b016c440ad55acf1438f0dbe4e33a262a9640 (diff)
grid-system
git-svn-id: svn://tug.org/texlive/trunk@32981 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/grid-system')
-rw-r--r--Master/texmf-dist/doc/latex/grid-system/grid-system.pdfbin47835 -> 52440 bytes
-rw-r--r--Master/texmf-dist/doc/latex/grid-system/grid-system.tex19
2 files changed, 9 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/grid-system/grid-system.pdf b/Master/texmf-dist/doc/latex/grid-system/grid-system.pdf
index 31b7e98562e..f37c5bd9357 100644
--- a/Master/texmf-dist/doc/latex/grid-system/grid-system.pdf
+++ b/Master/texmf-dist/doc/latex/grid-system/grid-system.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/grid-system/grid-system.tex b/Master/texmf-dist/doc/latex/grid-system/grid-system.tex
index 89c380d38b9..746e87dbec9 100644
--- a/Master/texmf-dist/doc/latex/grid-system/grid-system.tex
+++ b/Master/texmf-dist/doc/latex/grid-system/grid-system.tex
@@ -6,11 +6,8 @@
\usepackage[default,scale=0.95]{opensans}
\usepackage[scaled=0.85]{beramono}
-%\usepackage[default,semibold]{sourcecodepro}
-%\usepackage[default,semibold]{sourcesanspro}
-
-\usepackage{listings}
+\usepackage{listings,minted}
\usepackage{grid-system}
\usepackage{tabularx}
\usepackage{booktabs}
@@ -43,22 +40,22 @@ Grid system is a package that implements grid-like layouts for \LaTeX, as it is
\section{Usage}
\subsection{Overview}
-There are two methods to divide your row into multiple columns. The first one with uppercase \emph{Cell} and \emph{Row} is easier to use as it collects the content of the cells and calculates everything for you. As a result, it might break on certain contents (e.g. footnotes). For such cases, the second method with lowercase \emph{row} and \emph{cell} will work. These are more capable, but need more configuration.
+%There are two methods to divide your row into multiple columns. The first one with uppercase \emph{Cell} and \emph{Row} is easier to use as it collects the content of the cells and calculates everything for you. As a result, it might break on certain contents (e.g. footnotes). For such cases, the second method with lowercase \emph{row} and \emph{cell} will work. These are more capable, but need more configuration.
\medskip
-\subsection{The simple way}
+\subsection{Default use:}
\minisec{Example:}
-\begin{lstlisting}
+\begin{minted}{latex}
\begin{Row}%
\begin{Cell}{2}
- This is a long row spanning two thirds of the text width. This one cannot have footnotes.
+ This is a long row spanning two thirds of the text width.
\end{Cell}
\begin{Cell}{1}
This is a long row spanning one third of the text width.
\end{Cell}
\end{Row}
-\end{lstlisting}
+\end{minted}
\minisec{Output:}
\begin{Row}%
@@ -72,7 +69,9 @@ There are two methods to divide your row into multiple columns. The first one wi
\clearpage
-\subsection{The complete way}
+\subsection{The (old) fallback}
+In earlier implementations, the default interface from above would not work for many content. As this has changed, this fallback will become deprecated in the next version unless someone finds an important case to keep it.
+
\begin{lstlisting}
\begin{row}{<Total number of columns}{<Number of cells>}%
\begin{cell}{<Number of columns to span>}