summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/grid-system/README
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/grid-system/README
Initial commit
Diffstat (limited to 'macros/latex/contrib/grid-system/README')
-rw-r--r--macros/latex/contrib/grid-system/README58
1 files changed, 58 insertions, 0 deletions
diff --git a/macros/latex/contrib/grid-system/README b/macros/latex/contrib/grid-system/README
new file mode 100644
index 0000000000..887fd6b239
--- /dev/null
+++ b/macros/latex/contrib/grid-system/README
@@ -0,0 +1,58 @@
+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:
+
+```latex
+\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:
+
+```latex
+\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. \ No newline at end of file