TeX - LaTeX Asked on June 30, 2021
If markboth
is used inside a tikz node text, this markboth
does nothing.
markboth
, like {markboth{lefthead}{righthead}}
, still works. Then what does tikz do that “blocks” markboth
?documentclass{book}
usepackage{tikz}
begin{document}
tikznode[red] {markboth{tikz left}{tikz right}};
contents newpage contents
end{document}
Where does this question raise from:
chapter*{...martboth{...}{...}}
inside tableofcontents
to generate the title of toc and change the marker. chapter[*]{arg}
is passed to a tikz
drawing. tableofcontents
fails to change marker.I know how to make a workaround, but I am curious about how and why it fails.
Every tikzpicture
is in a box, and as @UlrikeFischer commented,
mark
commands can't escape boxes
This is discussed in The TeXbook, chapter 23 on page 259, the first paragraph.
Correct answer by muzimuzhi Z on June 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP