# Tag Info

7

I introduce a \newcounter{pagecntr}[chapter] which will be set to zero for every new chapter. I did not manage to set it directly to 1. That's why I needed to do the ugly \setcounter{temp}{\thepagecntr}\stepcounter{temp}\thetemp every time I want to print it. I guess, there are better approaches, but well... doesn't matter, it works. The final trick is to ...

4

\maketitle of the article.cls uses \thispagestyle{plain}. If this is not wanted either plain has to be redefined, \maketitle be redefined or one could use \xpatchcmd to replace the plain with mypagestyle here. \xpatchcmd{\maketitle}{\thispagestyle{plain}}{\thispagestyle{mypagestyle}}{}{} Since the O.P. does set the pagestyle globally to mypagestyle at ...

4

You can use atbegshi to perform page-related checking before shipout and condition accordingly. Here's an example: \documentclass{article} \usepackage{afterpage,atbegshi,lipsum} \AtBeginDocument{% \AtBeginShipout{% \ifnum\value{page}=403 \vspace*{\fill} {\raggedleft\Large The page \\ cannot be found\par} \vfill ...

3

Use tocloft as suggested by Torbjorn. Here is an example: \documentclass{article} \usepackage{tocloft} \setlength{\cftsecnumwidth}{3em} %% adjust as you wish \cftsetindents{section}{3em}{1.5em} %% adjust as you wish \cftsetindents{subsection}{4.5em}{2.5em} %% adjust as you wish \cftsetindents{subsubsection}{7em}{3.5em} %% adjust as you wish ...

2

If you only need epigraphs on part pages, this ought to work (patching the epigraph page style so its footer is empty): \documentclass{tufte-book} \usepackage{epigraph} \usepackage{titlesec} \usepackage{xpatch} \titleformat{\part}[display] {\filleft\fontsize{40}{40}\selectfont\scshape} {\fontsize{90}{90}\selectfont\thepart} {20pt} ...

2

Here is an additional suggestion using scrlayer-scrpage instead fancyhdr. The pagestyle scrheadings is defined without the chapter pagenumber in the header and an alias Normal is set for this pagestyle. Then scrheadings is cloned to page style Specialadding the chapter pagenumber in the header. The onbackground hook for @everystyle@ is used to step the ...

2

If you are using the standard article class, the titlepage class option takes care of this: \documentclass[titlepage]{article} \author{The Author} \title{The title} \begin{document} \maketitle test text \end{document}

2

I also had a custom footers and using a combination of both plain and noframenumbering worked for me. This removes any footnotes and does not increase the frame increment. \documentclass[]{beamer} % Custom numbering for the footline \setbeamertemplate{footline}{% \raisebox{5pt}{% \makebox[\paperwidth]{% \hfill\makebox[10pt]{% ...

2

Possibly this might be a helpful beginning which I've expanded a bit in light of the additional information about your bibliography. Note that I had to expand your example considerably in order to reproduce this as yours did not provide the resources required. Also, I had to invent a definition for \lsstyle. This customises the footers as requested, as far ...

2

The page number is used for sorting and referring to the marked position. However, chappg changes the page number, such as from 1 to 1-1. The error comes, because that's not a number any more. You can verify it by \renewcommand*{\chappgsep}{0} It will work then, because it's number. Without going further in the depth, I would say it's a bug, because it ...

1

As Stefan mentions in his answer, there seems to be a problem with tikzmark; in execute at end picture={% \ifpgfrememberpicturepositiononpage% \edef\pgf@temp{% \noexpand\write\noexpand\pgfutil@auxout{% \string\savepicturepage{\pgfpictureid}{\noexpand\thepage}}}% \pgf@temp \fi% }, it uses \thepage and it's safer to use \value{page}. Here's a corrected ...

1

In general: To reset arabic pagenumbering use \pagenumbering{arabic} which sets the next page number to 1. To set the pagenumber to 0 use \setcounter{page}{0} So for your case try: end of volume 1 \clearpage \pagenumbering{arabic} \setcounter{page}{0} start of volume 2 I think that starting your second volume with page number 0 will strike the reader ...

1

classicthesis is using the obsolete package scrpage2 to set headers and footers. I adapted the original code and want to say, that this isn't really best-practice. \documentclass[ twoside,openright, titlepage,numbers=noenddot,headinclude,%1headlines,% letterpaper a4paper footinclude=true,cleardoublepage=empty,abstractoff, % <--- ...

1

The answer is here: plain xetex page labels. And here's a minimal example in plain TeX. (It's minimal if you ignore the fish.) \pageno-1 Page minus 1. \vfill\eject Page minus 2. \vfill\eject \special{pdf: docview << /PageLabels << /Nums[0 <</S /r>> 2 <</S /D>>] >> >> } \special{pdf: docinfo << /Author ...

1


1

I managed it: 1) I took Touhami's advice by removing frontmatter and mainmatter. 2) Put \addtocounter{page}{1} right after \maketitle. Allowing a page counter from 1 at the title page. 3) At first I had a problem that my Abstract became chapter 1. That was because I used \chapter instead of \chapter*. Using \chapter* will suppress the chapter numbering. ...

1

If you look at the aux file you will see that \@input{chap2.aux} occurs before \@writefile{toc}{\contentsline {part}{\numberline {II}TOC Part}{7}{part.2}} and there is nothing one can do about it. I even tried modifying \@docinclude to not use \immediate\write\@mainaux{\string\@input{#1.aux}}. Anyway, the main key is to use \input instead of \include. The ...

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