1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

rogueviz::presentation:: added a comment about what package you need

This commit is contained in:
Zeno Rogue 2022-08-07 02:29:07 +02:00
parent 0dc84d8f34
commit 91f0f7ff03

View File

@ -182,6 +182,7 @@ string latex_packages =
"\\definecolor{remph}{rgb}{0,0.5,0}\n"
"\\renewcommand{\\labelitemi}{{\\color{remph}$\\blacktriangleright$}}\n";
/* note: you pdftopng from the xpdf package for this to work! */
string gen_latex(presmode mode, string s, int res, flagtype flags) {
unsigned hash = 0;
for(char c: latex_packages + s) hash = (hash << 3) ^ hash ^ c ^ flags;