Template - Cheatsheet
Author
Sau1707
Last Updated
4 mesi fa
License
Creative Commons CC BY 4.0
Abstract
A template for a multi column cheat sheet
\documentclass[a4paper, landscape]{article}
\input{src/default.tex}
% Global setttings
\def\subject{Subject}
\def\semester{Semester}
\def\author{Author}
\def\cols{4}
\cheatsheet{
\section{Section}
This is a section
\subsection{Subsection}
This is a subsection
\subsubsection{Subsubsection}
This is a subsubsection
% Two-column layout within the section
\begin{minipage}{0.49\linewidth}
Left
\end{minipage}
\hfill
\begin{minipage}{0.49\linewidth}
Right
\end{minipage}
\section{Table Example}
\begin{tabularx}{\linewidth}{|X|X|X|}
\hline
\textbf{Header 1} & \textbf{Header 2} & \textbf{Header 3} \\
\hline
Row 1, Col 1 & Row 1, Col 2 & Row 1, Col 3 \\
\hline
Row 2, Col 1 & Row 2, Col 2 & Row 2, Col 3 \\
\hline
Row 3, Col 1 & Row 3, Col 2 & Row 3, Col 3 \\
\hline
\end{tabularx}
\section{Boxed Equation}
% Boxed equation with a simple math expression
\mathbox{
$E = mc^2$
}
\section{Input}
% Including an external file
\input{sections/00_Example}
\section{Image}
% Including an image with full width
\includegraphics[width=\linewidth]{img/example.png}
}