\tracingstats=0 \usepackage{relsize} \usepackage{url} \usepackage{graphicx} \usepackage{multicol} \usepackage{grffile} % Fix loading files name a.preview.pdf \usepackage{helvet} \usepackage{spverbatim} % \spverb+..+ to break at spaces \usepackage{xstring} % for \IfSubStr \usepackage[pdfborder={0 0 0}]{hyperref} \usepackage{fancyvrb} % to allow Verbatim inside headerbox \pagestyle{empty} % Workaround: \mytilde to create a normal tilde (not superscript) in Lily code \catcode`~=11 % make LaTeX treat tilde (~) like a normal character \newcommand{\mytilde}{\kern 0em\lower .7ex\hbox{~}\kern -0.1em} \catcode`~=13 % revert back to treating tilde (~) as an active character \hypersetup{ pdftitle={LilyPond Cheatsheet}, pdfauthor={Reinhold Kainhofer - Edition Kainhofer}, pdfkeywords={LilyPond, cheatsheet, music typesetting, music notation, engraving} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Table formatting %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcolumntype{x}[1]{>{\raggedright}m{#1}} \newcommand{\tn}{\tabularnewline} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Multicol Settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength{\columnsep}{0.7em} \setlength{\columnseprule}{0mm} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Save space in lists. Use this after the opening of the list %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\compresslist}{% \setlength{\itemsep}{1pt}% \setlength{\parskip}{0pt}% \setlength{\parsep}{0pt}% \setlength{\leftskip}{-1em}% } \setlength{\tabcolsep}{3pt} %% Already patched in baposter.cls: % \usepackage[table]{xcolor} \DeclareGraphicsExtensions{.preview.pdf,.pdf,.eps,.png,.jpg} \DeclareGraphicsRule{.preview.pdf}{pdf}{*}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Define some colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definecolor{posterBackground}{rgb}{0.875,1.0,0.7} \definecolor{boxBorder}{rgb}{0,1.0,0.0} \definecolor{boxBackground}{rgb}{1,1,1} \definecolor{textColor}{rgb}{0,0,0} \definecolor{headerTextColor}{rgb}{0.97,1,0.68} \definecolor{row1}{rgb}{0.8,0.8,0.8} \definecolor{row2}{rgb}{1,1,1} % \definecolor{shadecolor}{named}{white} \colorlet{shadecolor}{white} \newlength{\leftimgwidth} \rowcolors{1}{row1}{row2} % color table rows in alternating colors automatically % Make multicolumn table cells use the row color, too: \makeatletter \newcommand\defcolor{% \ifodd\rownum\@oddrowcolor\let\CT@color\cellcolor\CT@row@color\else \@evenrowcolor\let\CT@color\cellcolor\CT@row@color\fi} \newcolumntype{G}{>{\defcolor}l} \makeatother \newcommand\samecolor{\global\advance\rownum1} % whitebox environment to print the contents on white background \makeatletter\newenvironment{whitebox}[1]{% \begin{lrbox}{\@tempboxa}\begin{minipage}{#1}}{\end{minipage}\end{lrbox}% \colorbox{white}{\usebox{\@tempboxa}}% }\makeatother %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Crop marks for printing (depending on -jobname cmd line arg) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \IfEndWith*{\jobname}{_Crop}{ \typeout{Jobname ends with _Crop, creating cropped pdf with printing marks} \usepackage[width=230truemm,height=317truemm,center,cam]{crop} }{}