# Tag Info

7

You can use the bookmark package: \documentclass{amsbook} \usepackage{bookmark} \begin{document} \chapter*{Introduction} \part{First Part} \chapter{1} \chapter{2} \chapter{3} \part{Second Part} \chapter{4} \chapter{5} \bookmarksetup{startatroot} \chapter*{Conclusion} \end{document} The bookmarks panel as displyed by Okular:

6

The fixme package assumes \@dotsep just expands to a decimal number, while revtex4 expects it to contain a dimension. A quick fix is to provide a redefinition as requested, in a group so the redefinition is not propagated; I use the hooks fixme executes before and after inputting the .lox file. \documentclass{revtex4} \usepackage[draft]{fixme} ...

5

The scrreprt class already has the relevant feature: \documentclass[listof=numbered]{scrreprt} \begin{document} \tableofcontents \chapter{Chapter 1} \cleardoublepage \pagenumbering{Roman} \appendix \listoffigures \chapter{Appendix chapter 1} \chapter{Appendix chapter 2} \end{document} Add \cleardoublepage before changing the page numbering style ...

5

I've downloaded the following files to be able to compile your MWE: http://www2.ece.ohio-state.edu/ips/home/resources/osudissert96.cls http://www2.ece.ohio-state.edu/ips/home/resources/osudissert96-mods.sty http://web.mit.edu/~paul_s/www/14.170/matlab/mcode.sty The problem is in the definition of \@chapter in the file osudissert96-mods.sty. It can be ...

4

I assume you set secnumdepth to -1 to manually adjust the sectional naming. If you strategically update the three requirements (ToC/header/naming) and only use \section to represent your Exercises, then the following will suffice: \documentclass{article} \usepackage{etoolbox,fancyhdr}% http://ctan.org/pkg/{etoolbox,fancyhdr} \fancyhf{}% Clear ...

3


3

Use \section* and \addcontentsline. See the code below. See the code below. Simply set the page counter to the desired value (see the code below, where a \MyNum command allows you to specify the desired page number). In a comment it was requested to have 1 inch margins in the page. This can be achieved using \usepackage[margin=1in]{geometry} I ...

3

The simplest way to do it is to use \section[Exercise x]{Exercise x - name}. The mandatory argument is used in the text, and the optional argument is used in the headings and the table of contents. To make it easier to write you could define the command \newcommand{\exercise}[2]{\section[Exercise #1]{Exercise #1 - #2}} and use it with ...

3

See How to change the title of ToC?. Using babel, it is good to use the \addto\captions<language> to replace the title of the TOC or the other lists. This maintains language compatibility. hyperref was added (with draft option, if you aren't using it already, to minimize the changes introduced) to give the \phantomsection command, which allows you ...

3

The report class has chapters, so it's rather strange you don't use them. There's no \bibliographystyle{amsrefs} to use with amsrefs, just \bibliography is sufficient. In the example I have used filecontents* and \jobname as the .bib file name just to make it self-contained. Since amsrefs uses either \bibchapter or \bibsection for the bibliography title, a ...

3

You can achieve this with the following mark-up: \documentclass{book} \usepackage{etoc} \begin{document} \part{1st part} \invisiblelocaltableofcontents \label{toc:part1} \chapter{1st} \section{A section} \chapter{2nd} \section{A section} \chapter{3rd} \section{A section} \tableofcontents\ref{toc:part1} \part{2nd part} \invisiblelocaltableofcontents ...

3

You can achieve this using for example afterpage. Update replaces generation of chapters with \loop with the use of blindtext package. And it adds a \clearpage after \tableofcontents. \documentclass{book} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{afterpage} \def\TimeForToc?{\ifnum\value{page}<17 \afterpage{\TimeForToc?}\else ...

2

With etoc this works out of the box, with or without hyperref: \documentclass{article} \usepackage{hyperref} \usepackage{etoc} \begin{document} \tableofcontents\label{toc} \clearpage \newcount\cnta \loop \advance\cnta 1 \ifnum\cnta<100 \section{A section} Here is a link to the \hyperref[toc]{Table of Contents} on page \pageref{toc}. \repeat ...

2

My solution goes like this (I actually extended this to include the subsubsections too): Load hyperref w/o ToC links (option linktoc=none) to define them manually. Here I decided that sections should link to whole pages they start on, while subsections link normally. Define custom counter for numberred subsections -- for referencing, in main matter only. ...

2

If you want all \subsections to be removed from the ToC, then all you need in your document preamble is \setcounter{tocdepth}{1} which would set the maximum depth of entries in the ToC to 1 (or \section). If you only want selected \subsections to be inserted/not in the ToC, then you should use a different technique. The following defines \stoptocentries ...

2

You can do this out of the box with package etoc. The code: \documentclass{article} \usepackage{etoc} \begin{document} \tableofcontents \section{First Section} Hello \subsection{A} \subsection{B} \section{Second Section} \etocsettocdepth.toc {section} \subsection {EXCLUDE ME}\label{ssec:excluded} \etocsettocdepth.toc {subsection} \subsection {D} ...

2

This is not a minitoc-specific problem. Adding \makeatletter \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.5em}}% Used to be {3.8em}{3.2em} \makeatother to your document preamble increases the width allocated to the subsection number in the ToC-related files from 3.2em to 3.5em. You can adjust this length to suit your needs.

2

Simply use the multicol package for this. Switch between any number of columns using the multicols environment. This solution should work for any document class as asked by you. The Code \documentclass{article} \usepackage{lipsum} \usepackage{multicol} \begin{document} \tableofcontents \begin{multicols}{2} \section{My Contents} \lipsum ...

2

The serbianc module for babel seems to enforce using the utf8x option for inputenc and the package ucs which is, in my opinion, wrong. A workaround seems to be specifying utf8x prior to utf8. \documentclass[a4paper,12pt]{book} \usepackage[T2A]{fontenc} \usepackage[utf8x,utf8]{inputenc} \usepackage[serbianc]{babel} However, I would ask the maintainer of ...

2

Within report, the abstract environment is set using within a titlepage, which defaults to putting the content on its own page. So you have to insert the ToC-writing piece using some patching (supported via etoolbox). \documentclass{report} \usepackage[paper=a6paper]{geometry}% Just for this example \usepackage{lipsum,etoolbox}% ...

2

As mentioned in the comments, your acronyms aren't appearing in small caps because you've defined them using upper case. You said that the upper casing of the description hasn't worked. That's because you haven't made any changes relating to the description. \glsnamefont is applied to the name not the description. You need to define a new style that makes ...

2

From tocbibind documentation (page 2): Hence numbib numbers the bibliography in the toc. Remove that option: \usepackage[nottoc]{tocbibind} You should be good to go.

1

I am not very sure if I get you right. You don't have any chapters but are using the report class. But well, I don't have a roman numbering as you asked for with "VII Bibliography" but at least, it will show a numbered section "Bibliography" in your TOC. Please clarify your question, if this is not what you want: % arara: pdflatex ...

1

Generally, there is a very small window in terms of line length that will push the page number out of alignment. The text should wrap if a longer section title is provided. That said, if you must, you can add a line break to the text that appears in the TOC by using the optional parameter to the section command: \paragraph[some thing in the ...

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