Tag Info

New answers tagged

5

You can use the tocloft package to adjust the spacing: \documentclass[12pt]{book} \usepackage{tocloft} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \setlength{\cftchapnumwidth}{2em} \begin{document} \tableofcontents \chapter{A}\chapter{B}\chapter{C}\chapter{D} \chapter{E}\chapter{F}\chapter{G}\chapter{H} \chapter{I}\chapter{J}\chapter{K} ...


25

Both mdframed and tcolorbox are powerful and offer highly customizable boxes; below I show some options to achieve the desired box using each of those packages. Since both packages offer the possibility of designing the frames from scratch and an easy system of predefined coordinates, the possibilities are endless. For each package I will show two ...


2

Solution with nothing \documentclass[12pt,a4paper]{book} \usepackage{blindtext} % just for the example \renewcommand{\chaptermark}[1]{} \renewcommand{\sectionmark}[1]{} \makeatletter \renewcommand{\@mkboth}[2]{} \makeatother \begin{document} \blinddocument \end{document} Explanation The text in the headers is controlled by the argument given to ...


1

Solution with fancyhdr \documentclass[12pt,a4paper]{book} \usepackage{fancyhdr} \usepackage{blindtext} % just for the example \fancyhf{} \fancyhead[R]{\thepage} \pagestyle{fancy} % redefine the plain pagestyle \fancypagestyle{plain}{% \fancyhf{} % clear all header and footer fields \fancyhead[R]{\thepage} % except the center } ...


1

The text in the sample you linked is in FF Scala and the headings are in FF Scala Sans, which you could use with LuaTeX and fontspec. These are both great typefaces, but unfortunately they have only a few basic mathematical symbols and lack a full Greek alphabet, so they might not be the best choice if you have a lot of maths in your thesis. Finding truly ...


3

I will describe a way to go with the book class using etoc. The code sample is minimal but you should be able to transfer the relevant parts to your real use case. see update below in response to question asked in comment Here are the two tables of contents (with correct hyperlinks): Code: \documentclass{book} \usepackage{hyperref} ...


2

If changing from book to memoir is acceptable this late in the process, you could use that. One feature of it is that \tableofcontents and similar commands can be repeated, since they are not cleared when used, like in the standard classes. Here is a non-polished proof-of-concept of how to do this in memoir, creating a result that can be split afterwards ...


3

UPDATE This proved surprisingly troublesome. I originally posted what I thought was a solution, based on modifying \tableofcontents which lasted about ten seconds, before I found it wouldn't work with hyperref. I then found something that worked, but was clunky. This version is more pleasing: my initial instinct (modification the way tables of contents are ...



Top 50 recent answers are included