# Tag Info

6

Simple? \documentclass{report} \usepackage{kantlipsum} \usepackage{atbegshi} \AtBeginShipout{% \ifodd\value{page} \null\clearpage \else \relax \fi } \begin{document} \kant[1-40] \end{document}

5

One option: \documentclass[12pt,twoside]{book} \usepackage{tikz} \usepackage{lipsum} \usepackage{fancyhdr} \fancypagestyle{myfancy}{% \fancyhf{}% \fancyfoot[OL]{% \begin{tikzpicture}[overlay,baseline={(0,0)},anchor=center] \node[ rectangle, outer sep=0pt, text=white, fill = black!30, draw = black!20, ...

4

Here is a short solution using current page (a special node that requires two compilations). (Note: I changed your example to place the page number on the outside.) \documentclass[12pt,twoside]{book} \usepackage{tikz} \usepackage{lipsum} %---------------headers and footers--------------- \usepackage{fancyhdr} \tikzset{ page num/.style n args={2}{ ...

4

Your \dotfill command is the cause for the phenomenon: it doesn't ensure a line break is not taken after it. However, you want to set a minimum number of dots, besides avoiding the break. \documentclass[% fontsize=12pt, DIV=13, BCOR=8mm ]{scrbook} % use glossaries and acronyms \usepackage[indexonlyfirst]{glossaries} % display glossary entries ...

4

Just don't issue \frontmatter at all, since it's technically not needed if you want to start with \arabic numbering. As such, \mainmatter also become superfluous. Your document would therefore have the following structure: \documentclass{book} \usepackage{tocbibind} \usepackage[toc]{appendix} \usepackage[bookmarks]{hyperref} \begin{document} ...

3

ConTeXt has two notions of page numbers: The real page number (accessed using \pagenumber) and the user page number (accessed using \userpagenumber). The userpagenumber is meant for what you are looking for (different page numbering in frontpart and bodypart. In the code you posted, in the sectionblock environment you are resetting the userpage counter; ...

3

latex doesn't really support this. This makes float pages have an empty foot, so it does just affect the page the table lands on, not the page before or after. It will affect all other float pages unless you set it back ie restore the original definition without the marked line. \documentclass[12pt,letterpaper]{article} \usepackage[margin=1in ]{geometry} ...

3

Use \iffloatpage from fancyhdr: \documentclass[12pt,letterpaper]{article} \usepackage[margin=1in,headheight=15.2pt]{geometry} \usepackage{fancyhdr} \usepackage[flushleft]{threeparttable} \pagestyle{fancy} \fancyfoot[C]{\iffloatpage{}{\thepage}} \usepackage{lipsum} \def\sym#1{\ifmmode^{#1}\else$$^{#1}$$\fi} \def\sym#1{\ifmmode^{#1}\else$$^{#1}$$\fi} ...

3

This is a Minimal Working Example which reinstates page numbers and compiles without error. \documentclass[a4paper, 12pt]{book} \usepackage{paperandpencil} \pagestyle{plain} \begin{document} \pagenumbering{arabic} \setcounter{page}{75} \addtocounter{section}{7} \section{Example Code} \begin{flushleft} \textbf{This is an example.} ...

3

The first page of a chapter uses the plain style, as noted in the comments. I've also removed the PDF setting commands as those seem unnecessary, and I've used \geometry to set \footskip. [Otherwise, geometry won't know about the change and won't adjust things appropriately.] \documentclass[11pt, twoside, letterpaper]{book} \usepackage{geometry} ...

2


2

\frontmatter switches to roman (lower case) numbers, and \mainmatters switches back to arabic numbers, so if this should be prevented, it means either dropping \frontmatter and \mainmatter or patch this behaviour out of those macros using xpatchcmd from egreg's xpatch package. I was a little bit lazy about the success/failure test of the command \xpatchcmd ...

1

put option nonumberlist as option of printglossary \printglossary[type=main,style=long,nonumberlist] if print the glossary using printnoidxglossary use option nonumberlist as well \printnoidxglossary[type=\acronymtype,title=Abreviations,nonumberlist] \printnoidxglossary[title=Symbol,nonumberlist]

1

Most likely it is \pagenumbering that is causing this resetting of the page counter. The easiest is to redefine it to do nothing but change the display rather than also resetting the page counter. As such, add \makeatletter \renewcommand{\pagenumbering}[1]{\gdef\thepage{\csname @#1\endcsname\c@page}} \makeatother to your preamble.

1

Since titlepage option is given to article class, the abstract environment uses a titlepage internally, thus the page numbers are reset. In order to correct, the resetting of page numbers has to be patched out as well as the call to \endtitlepage in the \endabstract command, being replaced by a \clearpage. I did not address other issues with the original ...

1

This is a quick and dirty method to remove empty page style from the \tableofcontents command by patching it out. It works with book, scrbook and most probably with many other classes based on them. Since no further information is given, this is just a first step on the road to... page numbers on the bottom of the ToC page \documentclass{scrbook} ...

1

This is not the most elegant solution but I added \pagenumbering{gobble} which removes the page number and then reset it with \pagenumbering{arabic}(depending on your preferred style) and \setcounter{page}{2}. There is probably some automatic way to reset the counter without referring to the specific page. EDIT: So the page clearing/breaking I did between ...

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