Tag Info

New answers tagged

3

Define \newcommand*{\Romannumeral}[1]{\uppercase\expandafter{\romannumeral#1}} and change \renewcommand\cftchappresnum{\chaptername\space} to \renewcommand\cftchappresnum{\chaptername\space\Romannumeral} Then you may want to increase \cftchapnumwidth: \renewcommand\cftchapnumwidth{8em} Complete MWE: \documentclass[12pt,a4paper]{report} ...


2

Maybe you can use a KOMA-Script class: \documentclass[emulatestandardclasses]{scrbook} \renewcommand\addchaptertocentry[2]{\addtocentrydefault{chapter}{}{#2}} \usepackage{blindtext}% dummy text \begin{document} \tableofcontents \Blinddocument \Blinddocument \end{document}


1

A solution with titletoc: \documentclass[11pt, a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{microtype} \usepackage{titletoc}% \titlecontents{chapter}[0em]{\lsstyle\smallskip\bfseries}%\vspace{1cm}% {}% {\itshape\bfseries}%numberless% ...


1

The very fancy and sophisticated package etoc by our fellow user jfbu provides the means for this. By using \etocsetlevel{level name}{level value} it's possible to shift the structure level (e.g. chapter) to some lower level (say, beyond subparagraph) and then restrict the tocdepth counter to some value above. \etocsetlevel{chapter}{6} and ...


3

You don't need a \bgroup in your definition since the change is local to the ToC. You should issue the following three commands to hide the colors in ToC, LoT and LoF: \addtocontents{toc}{\protect\hypersetup{hidelinks}} \addtocontents{lot}{\protect\hypersetup{hidelinks}} \addtocontents{lof}{\protect\hypersetup{hidelinks}} MWE: \documentclass{article} ...


4

This changes the chapter titles, leaders and page numbers to bold since it would be unusual to want the titles in bold but not the accompaniments. However, if you just want the titles in bold for whatever reason, simply revert the other 2 lines to your original code. The comments explain which line changes which thing. \documentclass{book} ...


2

The following example addresses all three questions (the code includes comments): \documentclass{article} \usepackage[explicit]{titlesec} \usepackage{hyperref} \titleclass{\minisec}{straight}[\paragraph] \newcounter{minisec} % Change 0pt to a positive value once the representation for the counter has been established \titleformat{\minisec}[hang] ...



Top 50 recent answers are included