This repository has been archived on 2026-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
Ravenous-LaTeX/Misc/Shortcuts.tex

55 lines
2.7 KiB
TeX

\def \blood{\includegraphics[height=\fontcharht\font`\B]{Ico/blood.png}} % icone de sang
\def \gauge{\includegraphics[height=\fontcharht\font`\B]{Ico/gauge.png}} % icone de jauge
\def \blunt{\includegraphics[height=\fontcharht\font`\B]{Ico/bulgeon.png}} % icone damage: contendant
\def \slash{\includegraphics[height=\fontcharht\font`\B]{Ico/slash.png}} % icone damage: slash
\def \pierce{\includegraphics[height=\fontcharht\font`\B]{Ico/pierce.png}} % icone damage: percant
\def \dicef{\includegraphics[height=\fontcharht\font`\B]{Ico/d4.png}} % icone des: d4
\def \dices{\includegraphics[height=\fontcharht\font`\B]{Ico/d6.png}} % icone des: d6
\def \diceh{\includegraphics[height=\fontcharht\font`\B]{Ico/d8.png}} % icone des: d8
\def \dicet{\includegraphics[height=\fontcharht\font`\B]{Ico/d10.png}} % icone des: d10
\def \dicew{\includegraphics[height=\fontcharht\font`\B]{Ico/d12.png}} % icone des: d12
\def \dicee{\includegraphics[height=\fontcharht\font`\B]{Ico/d20.png}} % icone des: d12
\def \torque{\includegraphics[height=\fontcharht\font`\B]{Ico/torque.png}} % icone des: torque
% \def \DD{\# } % icone de difficulté
\newcommand{\fluff}[2] { % lore et citation in-universe
\textit{«\,#1\,»}\\ % 1: texte sans guillements
— #2. % 2: Auteur·ice
}
\newcommand{\actifn}[2] { % Actif nommé dans les origines
\textbf{Actif}\,: \textit{#1}\,: #2 % 1: Nom de l'actif
} % 2: Texte de l'actif
\newcommand{\actif}[1] { % Actif dans les origines
\textbf{Actif}\,: #1 % 1: Texte de l'actif
}
\newcommand{\passifn}[2] { % Passif nommé dans les origines
\textbf{Passif}\,: \textit{#1}\,: #2 % 1: Nom du passif
} % 2: Texte du passif
\newcommand{\passif}[1] { % Passif dans les origines
\textbf{Passif}\,: #1 % 1: Texte du passif
}
\newcommand{\mecanique}[1]{\emph{#1}}
% Illustration spécifiques a la catégorie Origine
\newcommand{\originillustration}[1]{\vfill
\begin{center}
{\includegraphics[clip,width=\linewidth,height=15cm,keepaspectratio]{#1}}
\end{center}
\vfill}
\newcommand{\dd}[1]{
\forLoop{1}{#1}{ct}{$\star$}
}
\newcommand{\kw}[1]{\textbf{#1}} % Mots-clés
\def \tranchant{\kw{Tranchant}\slash} % Tranchant
\def \percant{\kw{Perçant}\pierce} % Perçant
\def \contondant{\kw{Contondant}\blunt} % Contondant