# Tag Info

4

Use tocloft. From its manual: A sample: \documentclass{article} \usepackage{tocloft} \usepackage{blindtext} \cftpagenumbersoff{section} \cftpagenumbersoff{subsection} \cftpagenumbersoff{subsubsection} \begin{document} \tableofcontents \Blinddocument \end{document} Now wondering how to publish the TOC only, but that's probably for another ...

4

Since there's no special header or footer apparently, I would suggest to use \pagestyle{empty}, but as cfr and Zarko already noted: This is confusing -- does one have to count the pages oneself during reading (either on screen or using a hardcopy?) \documentclass{article} \usepackage{blindtext} \pagestyle{empty} \begin{document} \tableofcontents ...

3

I guess, you mean the page number on your second page (repeating the first title page)? Well, \thispagestyle{empty} works for only one page. Just repeat it after the \clearpage (see <=============== in code). Code: \documentclass[a4paper,12pt,operight,oneside]{book} \usepackage[a4paper,top=3cm,bottom=3cm,left=3.5cm,right=2cm]{geometry} ...

3

You have to redefine the \pagemark command: \renewcommand\pagemark{\usekomafont{pagenumber}\thepage} Additional remarks: The letter-class-option file DIN is loaded by scrlttr2 automatically. I do not understand why you are nesting letter environments and why you are closing the outer letter environment using \AtEndDocument. So in the following MWE there ...

3

This memoir document has a three page table of contents with numbers i,ii,iii \documentclass{memoir} \begin{document} \frontmatter \tableofcontents \section{ff}bbb \section{ff}bbb \mainmatter \chapter{zz} \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb \section{aa}bbb ...

3

I see two further possibilities. There is Donald Arseneau's fwlw (First Word Last Word) 1995 package which grabs the first and last words (with a suitable definition of word) on a page and the first word on the next page. A pagestyle is part of the package that will print on an odd page the first word on the following even page. ...

2

To avoid confusion, I created macros \newgroup to reset the page counter and \thelastpage to print the last page of a "group". The tricky bit was setting the LastPage label before the end of the page but not changing the counters until after the end of the page (when the header and footer are created). \documentclass[12pt,english]{article} ...

2

One simple way to do this is to use fancyhdr to clear the page numbers. % in preamble \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{0pt} % removes the horizontal bar at the top No page numbers are printed on the pages, but the table of contents functions normally. Note that if you have a title, you need to fix the title ...

2

The entries for the ToC (and LoF, LoT etc.) are done with \addcontentsline, more precisely: \def\addcontentsline#1#2#3{% \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} If \thepage is removed from the \contentsline call, all page numbers will be dropped. If the page numbers for particular structuring levels should be removed use tocloft ...

2

A page number is not shown because you set \thispagestyle{empty}. If you remove that line the page number will be set at the bottom center of the page, but \newgeometry{margin=1cm} pushes it off the page. To restore the original page geometry after the \afterpage, use \aftergroup\restoregeometry (thanks to this answer). \documentclass[a4paper]{article} ...

2

easiest way would be to use \begin{landscape} \thispagestyle{empty} .... \vfill \raisebox{-??}{\makebox[\linewidth]{\thepage}} \end{landscape} adjusting the raisebox amount to position it "by eye" into the space normally used for the left margin. Note \thepage here is "safe" as landscape forces a pagebreak with \clearpage so you do not have the usual ...

2

The hard way to do it would be to use: \documentclass{article} \usepackage{pdflscape} \usepackage{everypage} \usepackage{lipsum} \newcommand{\Lpagenumber}{\ifdim\textwidth=\linewidth\else\bgroup \dimendef\margin=0 \ifodd\value{page}\margin=\oddsidemargin \else\margin=\evensidemargin \fi \raisebox{\dimexpr ...

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

The \floatpagestyle{empty} command is designed to set the page style on float pages (as used by [p] floats). the package redefines float internals in a way incompatible with the float package so do not use them both together. In the case of [H] or [h] floats they are by definition on a text page not on a float page, so the command could do nothing in that ...

1

As a workaround try to change package loading order to: \usepackage{floatpag} \usepackage{float} There are plans to do some code cleanup and make it compatible with float package in the next floatpag package release.

1

It appears that you do not want to insert complete pages but rather just include the mathematica pages as images, for which you can use \includeraphics and just scale with [width=...] as for other images. If it is code that you are wanting to include you may be better including it as text using listings or minted or some other code highlighting package.

1

The document from the question has the following page numbers: Physical/absolute page vs. \thepage 1 vs. 1 2 vs. 1 3 vs. 2 Class book uses environment titlepage for \maketitle, which resets the page number to one in the end of the environment. Package hyperref enables option pdfpagelabels by default (not in too old versions). It uses \thepage for the ...

1

You're using the wrong tool for setting page numbers. Anyway, using \protect\thepage solves the issue, as it avoids \thepage being expanded at the moment \rightmark is assigned a value and deferring its evaluation to the header's print time. \documentclass{article} \begin{document} \pagestyle{myheadings} \markboth{}{Why is this not the right number? ...

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