-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgrid-system-test.tex
81 lines (67 loc) · 1.62 KB
/
grid-system-test.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[default,scale=0.95]{opensans}
\usepackage[scaled=0.85]{beramono}
\usepackage{showframe}
\usepackage{grid-system}
\usepackage{xcolor}
%\setlength{\parindent}{0cm}
\begin{document}%
\begin{Row}%
\begin{Cell}{2}
This is a test for Cell and Row, with a text slightly longer than the row\footnote{Really, a row!}.
\end{Cell}
\begin{Cell}{1}
And this is just another text spanning many, rows, more than one. Lorem isum sit dolor amet.
\begin{eqnarray}
X^2 + \psi &= 7777\\
\psi^2 + 42 \cdot X &= \aleph
\end{eqnarray}
\end{Cell}
\end{Row}
\bigskip
\begin{Row}%
\begin{Cell}{2}
\textcolor{red}{Test}
This is a test for Cell and Row, with a text slightly longer than the row.
\end{Cell}%
\begin{Cell}{1}
And this is just another text spanning many, rows, more than one. Lorem isum sit dolor amet.
\end{Cell}%
\end{Row}
\bigskip
\begin{row}[cellsep=0.5cm]{3}{3}%
\begin{cell}{1}
This is a nice text, longer than one row.
\begin{tabular}{cc}\hline
1 & 2\\\hline
\end{tabular}
\end{cell}
\begin{cell}{1}
This is a nice text, longer than one row.
\end{cell}
\begin{cell}{1}
This is a nice text, longer than one row.
\end{cell}
\end{row}
\begin{row}[cellsep=0.5cm]{3}{3}%
\begin{cell}{1}
This is a nice \textcolor{red}{text}, longer than one row.
\end{cell}
\begin{cell}{1}
This is a nice text, longer than one row.
\end{cell}
\begin{cell}{1}
This is a nice text, longer than one row.
\end{cell}
\end{row}
\bigskip
%\begin{row}[cellsep=0.5cm]{3}{2}
% \begin{cell}{2}
% \end{cell}
% \begin{cell}{1}
% \end{cell}
%\end{row}
\end{document}