latex-grid-system is a package for the LaTeX typesetting system implementing a grid system as known from CSS grid systems.
TeX
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
fabfile.py
grid-system-test.tex
grid-system.sty
grid-system.tex

README.md

latex-grid-system

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.

Usage:

\begin{Row}
    \begin{Cell}{<Columns for this cell>}
    Some text using 2/3 of the width.
    \end{Cell}
    \begin{Cell}{<Columns for this cell>}
    Some text using 1/3 of the width.
    \end{Cell}
\end{Row}

\begin{row}{<Total columns>}{<Cells in row>}%
    \begin{cell}{<Columns for this cell>}
    Some text using 2/3 of the width.
    \end{cell}
    \begin{cell}{<Columns for this cell>}
    Some text using 1/3 of the width.
    \end{cell}
\end{row}

Example:

\begin{Row}%
    \begin{Cell}{2}
    Some text using 2/3 of the width.
    \end{Cell}
    \begin{Cell}{1}
    Some text using 1/3 of the width.
    \end{Cell}
\end{Row}

\begin{row}{3}{2}%
    \begin{cell}{2}
    Some text using 2/3 of the width.
    \end{cell}
    \begin{cell}{1}
    Some text using 1/3 of the width.
    \end{cell}
\end{row}

Contribute

This package is developed on GitHub:

https://github.com/bitzl/latex-grid-system

Please feel free to fork and contribute.