Tag Info

New answers tagged

3

This is a way. Let's define a new command \doublecaption to be used when you want that behavior in the LoF: \makeatletter \def\doublecaption{% \ifx\@captype\@undefined \@latex@error{\noexpand\caption outside float}\@ehd \expandafter\@gobble \else \refstepcounter\@captype \expandafter\@firstofone \fi ...


4

I have left the Remarks column empty. The method requires the following mark-up: \chapter{\EXP{date}{name}} One could extend the mechanism to handle Remarks. Here \EXP definition is initially \protected\def\EXP #1#2{#2 (#1)} and this is how chapter titles will appear in the document. It is redefined internally by the TOC typesetting code. It is ...


3

The following may be a (hopefully reasonable) first step towards achieving your objective. It uses the tocloft package extensively. It also uses the optional argument of the \chapter command to insert information about the date of the experiment in the ToC entry. Some of the spacing, font weight, and font size choices may not be to your full liking, but ...


3

This update achieves right alignment, as explained in my added comment. The defect is that it will not work if \thepage is not the standard representation with digits. Also the placement of the page number is not so good in the case of multiline section titles. \documentclass[a4paper]{article} \usepackage{lipsum} \RequirePackage[titles]{tocloft} ...


4

If you want to suppress the number, or alternatively include it in the underlining you may try this. If your section titles are short enough then, using souls \ul (which may have problems depending on the encountered material) is too much, a simple \underline or home-made box+rule would work. \documentclass[a4paper]{article} \usepackage{color} ...


5

I won't recommend it, as it hard to read: see http://practicaltypography.com/underlining.html You can do this by: \documentclass{article} \usepackage{soul,xcolor} \setul{1ex}{0.8ex} \setulcolor{red} \begin{document} \tableofcontents \section[\ul{Foobar}]{Foobar} \end{document} EDIT: Maybe this helps, but I didn't get it managed to work with soul, nor to ...



Top 50 recent answers are included