Tag Info

5

Improved code with 'grouping' of persons and hyperlinks (if needed) \documentclass{book} \usepackage{marginnote} \usepackage{xparse} \usepackage{totcount} \usepackage{morewrites} \newcounter{dummycounter} \newcounter{personposition} \newtotcounter{personcounter} \makeatletter \def\latex@starttoc#1{% \begingroup \makeatletter \@input{\jobname.#1}% ...

4

\listof... commands can be defined with tocloft package and the \newlistof command in conjunction with \addcontentsline (which is the usual suspect ;-)) Explanation: Since the counter is named defns the \newlistof command is used to define this counter (with resetting counter section), a file extension, say .dfn and the heading name of the \list of ...

2

I think this is what you're looking for. If not, please clarify, using this as a starting point: \documentclass{report} \usepackage{hyperref} \begin{document} \tableofcontents \chapter*{Dedication} \pdfbookmark{Dedication}{chap:dedication} \chapter{One} \chapter{Two} \end{document} Table of contents: Working bookmark to Dedication:

2


2

This is not the best solution, but if you want the watermark to appear only at the titlepage, you may set that page to any desired number, and then choose the watermark to appear only at that one instead of 'firstpage': \newwatermark[page=100,...]{Vorabgabe} \begin{titlepage} \setcounter{page}{100} \maketitle \thispagestyle{empty} \end{titlepage} ...

1

You should either use the \maketitle command, or uses the titlepage environment, but not both at the same times. With \maketitle \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{xcolor} \usepackage[printwatermark]{xwatermark} \newwatermark[firstpage,color=red!50,angle=45,scale=3,xpos=0,ypos=0]{Vorabgabe} \title{XXXXX\\ XXX } ...

1

Use \caption[Block Diagram of Systems]{Block diagram of systems} It is a pointless requirement not worth spending coding time on spending time on:-) and doing it automatically is tricky requiring lists of words such as of to skip, and skipping over math mode or anything else that may come in a caption. \caption allows you to specify the LOF text ...

1

The package makeidx (the most common indexing package for LaTeX) has a way to format the pages of a particular index entry. Namely, if you write \index{bulldog|textbf} then the page number for this entry will be typeset in bold face. You can use this in your case as follows: Define a new "style command" that takes one argument (the page number) and ...

1

You could switch to the KOMA-classes and patch \addsec. This would also remove the need for the \addcontentsline. But imho the numbering is curious. It looks as if the typesetter made an error and forget a number. \documentclass{scrartcl} \usepackage{etoolbox} \pretocmd\addsec{\refstepcounter{section}}{}{} \begin{document} \tableofcontents \section{First ...

1

Do not use \include but \input \documentclass{beamer} \author[N. Surname]{Name Surname} \begin{filecontents}{dummyslide} \subsection{dummy1} \frame{Dummyslide} \end{filecontents} \begin{document} \frame{\titlepage} \begin{frame}{Outline} \tableofcontents \end{frame} \section{sec1} \input{dummyslide} \end{document}

1

The break of the ToC entries depend on the right margin. tocloft allows you to change this (from the default 2.55em) using \cftsetrmarg: \documentclass[12pt]{article} \usepackage{tocloft} \cftsetrmarg{7em}% Default is 2.55em \begin{document} \tableofcontents \section{long section title that in the TOC wraps to the next line at a point too far} ...

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