Skip to content

Undefined \interlineskip in tcolorbox-tutorial-poster.tex #353

@muzimuzhi

Description

@muzimuzhi

In tcolorbox-tutorial-poster.tex, an undefined control sequence \interlineskip is found, see before skip=-\interlineskip on line 1375.

\posterbox[blankest,posterset/fontsize=11pt]{name=source,
sequence=1 between title and bottom then
2 between top and bottom then
3 between top and bottom
}{%
\tcbinputlisting{standard jigsaw,size=minimal,toprule=0.5mm,bottomrule=0.5mm,boxsep=2mm,
colback=white,opacityback=0.75,listing only,
enforce breakable,tcb@poster@boxheight,before skip=-\interlineskip,height fixed for=all,
minted options={tabsize=2,fontsize=\small,breaklines,breakafter={\,\]-},breakafterinrun},
listing file=tcolorbox-example-poster.tex}%
}
\end{tcbposter}

There is a format macro called \nointerlineskip, but never \interlineskip, not even in packages. Sometimes people mis-spelled \nointerlineskip without the leading "no", see for example a pgf commit pgf-tikz/pgf@5466590 in 2010 and a comp.text.tex discussion in 2006, but setting before skip=-\nointerlineskip is still wrong.

Actually the setting before skip=-\interlineskip given to \tcbinputlisting never took effect, because this \tcbinputlisting is the first material inside \posterbox, so no before skip would be inserted. This explains why it caused no errors since committed in 8a2607f (4.10, 2017-07-05).

Thanks to TeXstudio's code highlighting and @mbertucci47's excellent contributions to cwl (completion word list) files.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions