Tag Info

Hot answers tagged

4

To have the number preceeded by the symbol § in the TOC, it suffices to to load the package tocloft and issue the command: \renewcommand{\cftsecpresnum}{\S} Complete MWE: \documentclass[leqno,12pt,twoside,letterpaper]{book} \renewcommand{\thesection}{\arabic{section}} \usepackage{tocloft} \renewcommand{\cftsecpresnum}{\S} \begin{document} ...


4

You can add a header switch during the toc using \addtocontents. For example, if we define the header type toc and apply it during the table of contents then you can also inject \makeevenhead and \makeoddhead part-way through the TOC: \documentclass[oneside,12pt]{memoir} \setsecnumdepth{subsection} \maxtocdepth{subsection} \usepackage{appendix} ...


3

Following Astrinus's advice, you can add the two lines of code between \makeatletter and \makeatother, given in egreg's answer, to modify the entry in the table of contents. Here is how you can do this: \documentclass[12pt, a4paper]{article} \makeatletter \let\latexl@section\l@section ...


3

Here are some experiments using paracol: \documentclass{book} \usepackage[margin=1in]{geometry} \usepackage{paracol} \newcommand{\comment}[1]% #1 = text and expandable macros {\switchcolumn*\vspace{-\baselineskip}#1\switchcolumn} \newcommand{\commentline}[2]% #1 = text, #2 = \thepage {\switchcolumn*\vspace{-\baselineskip}#1 ...


2

You can easily do that with the titlesec/titlestoc package. It has commands that allow for a different formatting of numbered and unnumbered sections (if you want to add unnumbered sections) in the table of contents: \documentclass[a4paper]{article} \usepackage{titletoc} \begin {document} \titlecontents{section}[0em] {\vskip 0.5ex}% {\scshape}% numbered ...


1

This happens because the bemaer column system uses the LaTeX minipage behind the scenes: a vertical box. As these are not set with a fixed height they don't stretch, in contrast to setting a frame where beamer does some resizing (so the stretch is important). For a one-off application I'd be tempted to use a raw minipage and adjust as require. For example ...


1

To start the appendices section, you use the command \appendix, not an environment. Change \begin{appendices} to \appendix and remove \end{appendices} If you need more flexibility, load Will Robert­son and Peter Wilson’s appendix-package. Here is an ‘MWE’ something that at least compile: \documentclass[ 11pt, a4paper, draft, ...



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