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

259 lines
12 KiB
TeX

% https://lospec.com/palette-list/dynasty38
\definecolor{coelfire} {HTML}{c72352}
\definecolor{coelwater} {HTML}{0f2866}
\definecolor{coelwind} {HTML}{9ba5d7}
\definecolor{coelearth} {HTML}{623740}
\definecolor{coelwood} {HTML}{006d75}
\definecolor{coelthunder} {HTML}{e1bc82}
% \definecolor{coelthunderbg}{HTML}{eed1aa}
\definecolor{coelmagma} {HTML}{80234d}
\definecolor{coelice} {HTML}{5ebeed}
\definecolor{coeldark} {HTML}{080f1c}
\definecolor{coellight} {HTML}{e4eaf6}
\definecolor{coblued} {HTML}{4b726e}
\definecolor{cobluel} {HTML}{8caba1}
\definecolor{cobluell} {HTML}{baccc6}
\definecolor{coblueL} {HTML}{dce5e2}
\definecolor{cogreendd} {HTML}{4d4539}
\definecolor{cogreend} {HTML}{77743b}
\definecolor{cogreenl} {HTML}{b3a555}
% \definecolor{cogreenll} {HTML}{d2c9a5}
\definecolor{cogreydd} {HTML}{4b3d44}
\definecolor{cogreyd} {HTML}{574852}
\definecolor{cogreyl} {HTML}{847875}
\definecolor{cogreyll} {HTML}{ab9b8e}
\definecolor{cogreyL} {HTML}{d2c9a5}
\definecolor{coorangedd} {HTML}{79444a}
\definecolor{cooranged} {HTML}{ae5d40}
\definecolor{coorangel} {HTML}{c77b58}
\definecolor{coorangell} {HTML}{d1b187}
\definecolor{coorangeL} {HTML}{d1b187}
\definecolor{coorangeLL} {HTML}{E6D5BE}
\definecolor{coheaderschools} {HTML}{8caba1}
\definecolor{coevenschools} {HTML}{dce5e2}
% Build related
\def \buildversion{Version 1}
% General
\def \maitredejeu {Maître de Jeu}
\def \jauge {Jauge}
\def \Ravenous {\emph{Ravenous}}
% Symbols
\def \blood {\includegraphics[height=1.3\fontcharht\font`\B]{Ico/blood.png}} % icone de sang
\def \gauge {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/gauge.png}} % icone de jauge
\def \blunt {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/bulgeon.png}} % icone damage: contendant
\def \slash {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/slash.png}} % icone damage: slash
\def \pierce {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/pierce.png}} % icone damage: percant
% \def \dicef {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d4.png}} % icone des: d4
% \def \dices {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d6.png}} % icone des: d6
% \def \diceh {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d8.png}} % icone des: d8
% \def \dicet {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d10.png}} % icone des: d10
% \def \dicew {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d12.png}} % icone des: d12
% \def \dicee {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/d20.png}} % icone des: d12
% \def \ torque{\includegraphics[1.2height=\fontcharht\font`\B]{Ico/torque.png}} % icone : torque
\def \ddzero {\includegraphics[height=1.2\fontcharht\font`\B]{Ico/emptystar.png}} % icone : zero difficulty
\def \reload{$\circlearrowleft$} % icone : reload weapon
% \def \torque{\faGavel} % icone : torque
\def \toxicity{\includegraphics[height=1.2\fontcharht\font`\B]{Ico/tox.png}} % icone de la toxicité
\def \damagew{\raisebox{-0.2\height}{\includegraphics[height=1.6\fontcharht\font`\B]{Ico/swordw.png}}} % icone de damage
\def \damagek{\raisebox{-0.2\height}{\includegraphics[height=1.6\fontcharht\font`\B]{Ico/swordk.png}}} % icone de damage
\def \arbreakw{\raisebox{-0.2\height}{\includegraphics[height=1.6\fontcharht\font`\B]{Ico/bshieldw.png}}} % icone armorbreak
\def \arbreakk{\raisebox{-0.2\height}{\includegraphics[height=1.6\fontcharht\font`\B]{Ico/bshieldk.png}}} % icone armorbreak
\def \half{½}
\def \torque{$\mathbb{T}$}
\def \rmax{$\mathbb{R}$}
\def \protection{\faShield*}
\def \integrite{\faShieldVirus}
\def \senholy {\raisebox{-0.14\height}{\includegraphics[height=1.2\fontcharht\font`\B]{Sen/saint.png}}} % Lang: Saint
\def \senhunter {\raisebox{-0.14\height}{\includegraphics[height=1.2\fontcharht\font`\B]{Sen/hunter_v3.png}}} % Lang: Hunter
\def \WIP{Section en construction \faHardHat !}
% \def \torque{\faCogs} % icone : torque
% \def \rmax {\tikz[baseline=-3.8]{\draw[thick](0,0)circle[radius=2.0mm]node {RM};}}
\newcommand*\rotbx{\rotatebox{65}}
% \newcommand{\ddmod}[2]{$\texttt{#1}\forLoop{1}{#2}{ct}{\star}$} % Modular difficulty modifier command
\newcommand{\ddmod}[2]{\raisebox{0.4\height}{\scalebox{0.59}{$#1$}}\ddlvl{#2}} % Modular difficulty modifier command
\newcommand{\ddlvl}[1]{\forLoop{1}{#1}{ct}{\scalebox{1.4}{$\star$}}} % Modular difficulty command
\newcommand{\toxlvl}[1]{\forLoop{1}{#1}{ct}{\faSkull}} % Modular time command
\newcommand{\timelvl}[1]{\forLoop{1}{#1}{ct}{\faHourglass[regular]}} % Modular toxicity command
\newcommand{\winelvl}[1]{\forLoop{1}{#1}{ct}{\faFlask}} % Modular toxicity command
\newcommand{\fluff}[2] { % lore et citation in-universe
\emph{«\,#1\,»}\\ % 1: texte sans guillements
\rightline{- #2.} % 2: Auteur·ice
}
\newcommand{\actifn}[2] { % Actif nommé dans les origines
\textbf{Actif}\,: \emph{#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}\,: \emph{#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{\mecaniqueecoles}[1]{\\\hfill\emph{#1}}
\newcommand{\mecaniquejeu}[1]{\textbf{#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}
% Illustration spécifiques a la catégorie Class
\newcommand{\classillustration}[4]{
\begin{tblr}[presep=0pt,postsep=0pt]{width=0.95\linewidth,
colspec = {XXX},
% measure=vbox,
colsep = 2mm, leftsep=3px, rightsep=3px,
}
\SetCell[r=2]{l}\raisebox{-0.8\totalheight}{\includegraphics[clip,width=4.5cm,keepaspectratio]{#1}}
&
\SetCell[c=2]{p,0.66\linewidth} #2
&
\\
&
\raisebox{-0.8\totalheight}{\includegraphics[clip,width=5cm,keepaspectratio]{#3}}
&
#4
\hfill
\end{tblr}
}
% Text and illustration
\newcommand{\illustext}[2]{
\begin{tblr}{width = 1\linewidth,
colspec = {Q[l,m,wd=2.5cm]X[j,h]},
colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px,
}
\raisebox{-0.9\totalheight}{\includegraphics[clip,width=2.5cm,keepaspectratio]{#1}}
&
#2
\end{tblr}
}
\newcommand{\textillus}[2]{
\begin{tblr}{width = 1\linewidth,
colspec = {X[j,h]Q[m,l,wd=2.5cm]},
colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px,
}
#2
&
\raisebox{-0.9\totalheight}{\includegraphics[clip,width=2.5cm,keepaspectratio]{#1}}
\end{tblr}
}
%\newcommand{\ravex}[1]{\setlength{\parskip}{5pt} % Used for (hopefully)
%\newline % helpful examples
% {\small\setlength{\arrayrulewidth}{0.7mm}\arrayrulecolor{lightgray}
% \begin{tabularx}{\textwidth}{p{0.5em}|X}
% &\emph{#1}
% \end{tabularx}}
%}
\newtcolorbox{ravbox}{ % Sample box used for
colframe=black, % examples and help
coltitle=black,
colbacktitle = white,
left = 2ex,
right = 2ex,
top = 1.5ex,
bottom = 1.5ex,
colback = white,
boxrule = 0.2mm,
toptitle = 2ex,
breakable,
enhanced jigsaw,
}
\newcommand{\ravex}[1]{ % Example box
\begin{ravbox}{{\small\textbf{Exemple}\smallskip
#1}}\end{ravbox}
}
\newcommand{\ravtwoex}[2]{ % Two examples back
\begin{ravbox}{ % to back
\small\textbf{Exemples}}\smallskip
{\small#1}
\tcblower
{\small#2}\end{ravbox}}
\newcommand{\ravhelp}[1]{ % GM help
\begin{ravbox}{{\small\textbf{Aide au MJ}\smallskip
#1}}\end{ravbox}
}
\newcommand{\kw}[1]{\textbf{#1}} % Mots-clés
\def \medcirc{\raisebox{0.075em}{\scalebox{0.7}{$\bigcirc$}} } % Medium circle
\def \supmedcirc{\raisebox{0.42em}{\scalebox{0.56}{$\bigcirc$}} } % Superscript medcirc
\def \tranchant{\kw{Tranchant}\slash } % Tranchant
\def \percant{\kw{Perçant}\pierce} % Perçant
\def \contondant{\kw{Contondant}\blunt} % Contondant
\def \symfire {\faFire}
\def \symwater {\faTint}
\def \symwind {\faWind}
\def \symearth {\faMountain}
\def \symwood {\faLeaf}
\def \symthunder {\faBolt}
\def \symmagma {\faWater}
\def \symice {\faIcicles}
\def \symabyss {\faMoon}
\def \symceleste {\faSun}
\def \elfire {\kw{Feu} \textcolor{coelfire} {\symfire }}
\def \elwater {\kw{Eau} \textcolor{coelwater} {\symwater }}
\def \elwind {\kw{Vent} \textcolor{coelwind} {\symwind }}
\def \elearth {\kw{Terre} \textcolor{coelearth} {\symearth }}
\def \elwood {\kw{Bois} \textcolor{coelwood} {\symwood }}
\def \elthunder{\kw{Foudre} \textcolor{coelthunder}{\symthunder}}
\def \elmagma {\kw{Magma} \textcolor{coelmagma} {\symmagma }}
\def \elice {\kw{Glace} \textcolor{coelice} {\symice }}
\def \elabyss {\kw{Abyssale} \textcolor{coeldark} {\symabyss }}
\def \elceleste{\kw{Céleste} \textcolor{coellight} {\symceleste}}
% \def \elfire {\kw{Feu} \tikz[baseline=-3.8]{\draw[thick, draw=coelfire ,text=coelfire ](0,0)circle[radius=2.0mm]node {$|$};}}
% \def \elwater {\kw{Eau} \tikz[baseline=-3.8]{\draw[thick, draw=coelwater ,text=coelwater ](0,0)circle[radius=2.0mm]node {$\approx$};}}
% \def \elwind {\kw{Vent} \tikz[baseline=-3.8]{\draw[thick, draw=coelwind ,text=coelwind ](0,0)circle[radius=2.0mm]node {$\because$};}}
% \def \elearth {\kw{Terre} \tikz[baseline=-3.8]{\draw[thick, draw=coelearth ,text=coelearth ](0,0)circle[radius=2.0mm]node {$=$};}}
% \def \elwood {\kw{Bois} \tikz[baseline=-3.8]{\draw[thick, draw=coelwood ,text=coelwood ](0,0)circle[radius=2.0mm]node {$\cong$};}}
% \def \elthunder{\kw{Foudre} \tikz[baseline=-3.8]{\draw[thick, draw=coelthunder ,text=coelthunder](0,0)circle[radius=2.0mm]node {$\because$\llap{\textbar}};}}
% \def \elmagma {\kw{Magma} \tikz[baseline=-3.8]{\draw[thick, draw=coelmagma ,text=coelmagma ](0,0)circle[radius=2.0mm]node {\textpm };}}
% \def \elice {\kw{Glace} \tikz[baseline=-3.8]{\draw[thick, draw=coelice ,text=coelice ](0,0)circle[radius=2.0mm]node {$\thicksim$\llap{$\because$}};}}
% \def \elabyss {\kw{Abyssale}\tikz[baseline=-3.8]{\draw[thick, fill=coeldark ,draw=coellight ,text=coellight](0,0)circle[radius=2.0mm]node {$\bigtriangledown$ };}}
% \def \elceleste{\kw{Céleste} \tikz[baseline=-3.8]{\draw[thick, fill=coellight ,draw=coeldark ,text=coeldark](0,0)circle[radius=2.0mm]node {$\bigtriangleup$};}}
% \def \elfire {\kw{Feu}{\color{red} \textbigcircle\llap{\<\textbar}}}
% % \def \elwind {\kw{Vent}{\color{cyan} ($\because$)}}
% % \def \elearth {\kw{Terre}{\color{brown} ($=$)}}
% % \def \elwood {\kw{Bois}{\color{green} ($\cong$)}}
% % \def \elthunder{\kw{Foudre}{\color{orange} ($\because$\llap{\textbar})}}
% % \def \elmagma {\kw{Magma}{\color{purple} (\textpm) }}
% % \def \elice {\kw{Glace}{\color{teal} ($\thicksim$\llap{$\because$})}}
% \TikCircle[1][2.5]{\tikz[baseline=-5]{\draw[thick](0,0)circle[radius=5mm];}}