add cmark & xmark

This commit is contained in:
Robert Jeutter 2022-02-27 10:02:58 +01:00
parent 44088da8f9
commit d0fd872ab6
3 changed files with 21 additions and 4 deletions

View File

@ -41,8 +41,9 @@
% Needed to get last page of document
\RequirePackage{lastpage}
% Tables
\usepackage{tabularx}
\RequirePackage{tabularx}
% Icons
\usepackage{pifont}
%-------------------------------------------------------------------------------
% Configuration for options
%-------------------------------------------------------------------------------
@ -105,6 +106,10 @@
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
%%% Checkmarks and Crosses
\newcommand{\cmark}{\ding{51}}
\newcommand{\xmark}{\ding{55}}
%%% Code Listings
\lstdefinestyle{mystyle}{
backgroundcolor=\color{codeback}, % choose the background color;

BIN
sample.pdf (Stored with Git LFS)

Binary file not shown.

View File

@ -40,6 +40,18 @@
\item[Show] some space
\end{enumerate*}
\section{Icons}
There are currently two icons you can use
\begin{enumerate*}
\item \cmark $\quad\backslash$cmark
\item \xmark $\quad\backslash$xmark
\end{enumerate*}
And it can be used in Lists too
\begin{itemize*}
\item[\cmark] Checkmark
\item[\xmark] Cross
\end{itemize*}
\columnbreak
\section{Boxes}