Fix noskip environment; discard emoji

pull/230/head
Joel Dueck 4 years ago committed by Matthew Butterick
parent 95df990b46
commit cdc9496014

@ -15,14 +15,7 @@
\newenvironment{fileblockFilecontent}{}{} \newenvironment{fileblockFilecontent}{}{}
\newsavebox{\noskipbox} \newsavebox{\noskipbox}
\newenvironment{noskip} \newenvironment{noskip}{}{}
{
\begin{lrbox}{\noskipbox}% % pdflatex chokes on emoji
\begin{minipage}{\dimexpr\columnwidth-2\fboxsep\relax} \DeclareUnicodeCharacter{1F3B8}{}
\bfseries
\begingroup\color{noskipforeground}}
{\endgroup\upshape\end{minipage}\end{lrbox}%
\medskip
\begin{center}
\colorbox{noskipbackground}{\usebox{\noskipbox}}
\end{center}\medskip}

Loading…
Cancel
Save