TeX - LaTeX Asked by unDavide on July 15, 2021
I am using tableof
to create two additional TOCs for tagged sections.
In the included MWE I end up with the main TOC, but I’ve only been able to add the two tagged TOCs in their own sections, which show up in the main TOC as well:
My goal is to have them:
Mockup as follows:
Do you think it is possible?
Thank you for any suggestion you’re able to provide!
documentclass[
numbers=endperiod,
oneside
]{scrbook}
pagestyle{empty}
usepackage{tableof}
% ---------------------------
begin{document}
frontmatter
tableofcontents
section{Table of A Content}
tableof{a}
section{Table of B Content}
tableof{b}
section{Introduction}
something
mainmatter
chapter{First}
toftagthis{a}
section{Topic A}
something
toftagthis{a}
section{Topic A}
something
toftagthis{b}
section{Topic B}
something
chapter{Second}
toftagthis{b}
section{Topic B}
something
toftagthis{b}
section{Topic B}
something
toftagthis{a}
section{Topic A}
something
end{document}
For starters, you can use section*
rather than section
to get section headings that are neither numbered nor listed in the TOC. For a book
ish class, you'll want chapter*
, though. Also, you can use newpage
to start a new page:
documentclass[
numbers=endperiod,
oneside
]{scrbook}
pagestyle{empty}
usepackage{tableof}
% ---------------------------
begin{document}
frontmatter
tableofcontents
newpage
chapter*{Table of A Content}
tableof{a}
newpage
chapter*{Table of B Content}
tableof{b}
newpage
section{Introduction}
something
mainmatter
chapter{First}
toftagthis{a}
section{Topic A}
something
toftagthis{a}
section{Topic A}
something
toftagthis{b}
section{Topic B}
something
chapter{Second}
toftagthis{b}
section{Topic B}
something
toftagthis{b}
section{Topic B}
something
toftagthis{a}
section{Topic A}
something
end{document}```
Correct answer by chsk on July 15, 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