| 1 |
latex-grid-system |
| 2 |
================= |
| 3 |
|
| 4 |
latex-grid-system is a package for the LaTeX typesetting system implementing a grid system as known from CSS grid systems. This is useful for creating box layouts as used in brochures. |
| 5 |
|
| 6 |
Usage: |
| 7 |
|
| 8 |
```latex |
| 9 |
\begin{Row} |
| 10 |
\begin{Cell}{<Columns for this cell>} |
| 11 |
Some text using 2/3 of the width. |
| 12 |
\end{Cell} |
| 13 |
\begin{Cell}{<Columns for this cell>} |
| 14 |
Some text using 1/3 of the width. |
| 15 |
\end{Cell} |
| 16 |
\end{Row} |
| 17 |
|
| 18 |
\begin{row}{<Total columns>}{<Cells in row>}% |
| 19 |
\begin{cell}{<Columns for this cell>} |
| 20 |
Some text using 2/3 of the width. |
| 21 |
\end{cell} |
| 22 |
\begin{cell}{<Columns for this cell>} |
| 23 |
Some text using 1/3 of the width. |
| 24 |
\end{cell} |
| 25 |
\end{row} |
| 26 |
``` |
| 27 |
|
| 28 |
|
| 29 |
Example: |
| 30 |
|
| 31 |
```latex |
| 32 |
\begin{Row}% |
| 33 |
\begin{Cell}{2} |
| 34 |
Some text using 2/3 of the width. |
| 35 |
\end{Cell} |
| 36 |
\begin{Cell}{1} |
| 37 |
Some text using 1/3 of the width. |
| 38 |
\end{Cell} |
| 39 |
\end{Row} |
| 40 |
|
| 41 |
\begin{row}{3}{2}% |
| 42 |
\begin{cell}{2} |
| 43 |
Some text using 2/3 of the width. |
| 44 |
\end{cell} |
| 45 |
\begin{cell}{1} |
| 46 |
Some text using 1/3 of the width. |
| 47 |
\end{cell} |
| 48 |
\end{row} |
| 49 |
```` |
| 50 |
|
| 51 |
Contribute |
| 52 |
========== |
| 53 |
|
| 54 |
This package is developed on GitHub: |
| 55 |
|
| 56 |
https://github.com/bitzl/latex-grid-system |
| 57 |
|
| 58 |
Please feel free to fork and contribute. |