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 % Needed to get last page of document
\RequirePackage{lastpage} \RequirePackage{lastpage}
% Tables % Tables
\usepackage{tabularx} \RequirePackage{tabularx}
% Icons
\usepackage{pifont}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Configuration for options % Configuration for options
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -105,6 +106,10 @@
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} \newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} \newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
%%% Checkmarks and Crosses
\newcommand{\cmark}{\ding{51}}
\newcommand{\xmark}{\ding{55}}
%%% Code Listings %%% Code Listings
\lstdefinestyle{mystyle}{ \lstdefinestyle{mystyle}{
backgroundcolor=\color{codeback}, % choose the background color; 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 \item[Show] some space
\end{enumerate*} \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 \columnbreak
\section{Boxes} \section{Boxes}