# Tag Info

7

Combining and adapting answers to other of your questions (Redefine \part style and \part Heading style) and adding the formatting for the part entries in the ToC, this might be what you're after: \documentclass{book} \usepackage[table]{xcolor} \usepackage{epigraph} \setlength\epigraphwidth{.6\textwidth} \makeatletter \def\@part[#1]#2{% \ifnum ...

6

You can use tocloft and its \cftXfont family of commands: \documentclass[a4paper,12pt]{book} % Packages \usepackage[english]{babel} \usepackage{blindtext} \usepackage{titlesec} \usepackage[titles]{tocloft} \titlespacing*{\chapter}{0pt}{-50pt}{20pt} \titleformat{\chapter}[display]{\normalfont\scshape\huge\bfseries}{\chaptertitlename\ ...

5

See the improved version below!!! First: Quick and dirty solution: This works, as long there are no \chapter commands, which reset the section counter. However, the subsection counter is reset by \section: Either one drops the resetting or a special redefinition of \subsection is applied, using another totalsubsection counter. After all, the value is ...

4


3

One option using the multicol package: \documentclass{beamer} \usepackage{multicol} \begin{document} \begin{frame} \frametitle{Outline splitted} \begin{multicols}{2} \tableofcontents[pausesections,sections={1-10}] \end{multicols} \end{frame} \section{Test1} \frametitle{Test} \begin{frame} Test \end{frame} \section{Test2} ...

3

Caution: You shouldn't mix similar styling packages like titletoc and tocloft. According to the titletoc documentation: \titlecontents{<section>}[<left>]{<above>} {<before with label>}{<before without label>} {<filler and page>}[<after>] Here: <section> is the ...

3

This seems to work, at least if the contents fits one page: the code is admittedly horrible. \documentclass[11pt, openany, oneside]{book} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \usepackage[paper=a4paper,margin=1.3 in]{geometry}% http://ctan.org/pkg/geometry \usepackage[demo]{graphicx} % demo is just for the example ...

2

You can do that with titlesec/titletoc which have a \titlerule command. Here is a way to obtain something (almost) close to the picture — I didn't want to hack for the appearance of ‘Contents’, which is not the main subject of your question. \documentclass{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{titletoc} ...

2

This is perhaps, what you want: Use a \chapter*{\appendixname} having no 'number' (i.e. no prefix 'A') and just provide the \thefigure with the prefix A, via \renewcommand{\thefigure}{A.\arabic{figure}} Additionally, add the Appendix to the TOC using \addcontentsline{toc}{chapter}{\appendixname} manually. See code below, where I commented some ...

1

You can use the usual interface to specify a different <ToC title> to your <part title>: \part[<ToC title>]{<part title>} If you wish to adjust the font (and other characteristics) of the ToC-related entries, consider using tocloft. For example, using \usepackage{tocloft} \renewcommand{\cftpartfont}{\itshape\LARGE} prints the ...

1

Just add to your preamble: \mtcsettitle{minitoc}{Contents \hspace{13.5cm} Page} Unfortunately \hfill renders an incorrect result. EDIT \hspace{} inside \mtcsettitleis not a good idea, many errors, no clue, why. Ahem, an even more dirty version: \mtcsettitle{minitoc}{Contents \textcolor{white}{mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm} Page} Of course ...

1

Yuo need to redefine the chapter counter right when the appendix part is started. Here is your MWE: \documentclass[lscape]{msu-thesis} \usepackage[T1]{fontenc} \usepackage{lipsum} \begin{document} \frontmatter \tableofcontents* \mainmatter \chapter{Introduction} \section{Some section} \lipsum[2] \subsection{Subsection} \lipsum ...

1

The problem is in the last mandatory argument for \titlecontents for chapter in which you use \; which is a math-mode only space and you are trying to use it in text mode; replace those for text-mode spaces. I marked the problematic line below using "% the problem is here", so you can easily see where the problem is and can apply the necessary correction: ...

1

The \addtocontents command is the source of the error, in my point of view, so I changed it to \addcontentsline version. However, the lab command does not seem to be well-defined in this case. Additionally, for use with hyperref, there should be a \phantomsection command before \addcontentsline. \documentclass[12pt]{book} % Book class in 12 ...

1

Using \usepackage[bitstream-charter]{mathdesign} makes your entire document conform to the mdbch font family. To adjust the boldness of your ToC/LoT/LoF titles, you can add \renewcommand\cfttoctitlefont{\normalfont\Huge\mdseries} \let\cftlottitlefont\cfttoctitlefont \let\cftloftitlefont\cfttoctitlefont to your preamble. The first command adjusts the ...

1

Edit See improved version below This is some kind of a hack, redefining the \chapter, \section down to \subsubsection commands, which write an additional \jobname.tabletoc file. Remove the .tabletoc file after addition of new sections, this must improved later on, I will fix it. The traditional \tableofcontents is still available. It should also use a ...

1

You would have to adjust the way tocloft constructs the LoF entry by modifying the margin lengths that are set. Below is a redefinition of \l@figure from tocloft to provide you with the necessary output: \makeatletter \renewcommand*{\l@figure}[2]{% \ifnum \c@lofdepth >\z@ \vskip \cftbeforefigskip {%\leftskip \cftfigindent\relax ...

Only top voted, non community-wiki answers of a minimum length are eligible