Skip to content

latex-grid-system is a package for the LaTeX typesetting system implementing a grid system as known from CSS grid systems.

License

Notifications You must be signed in to change notification settings

bitzl/latex-grid-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

latex-grid-system is a package for the LaTeX typesetting system implementing a grid system as known from CSS grid systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages