# Tag Info

5

EDIT If I were doing this, I would consider two options. Option 1 If you are printing double-sided, put the chapter on even pages and the section on odd pages. For example: \documentclass[12pt,a4paper,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[headheight=14pt]{geometry}% don't set these manually but, if you do, you need to ensure that you ...

4

In your example both \section and \subsection set a bipartite mark: \section cleans the right part of the mark and sets the left part to the current section entry. \subsection sets the right part to the current subsection and saves the left part unchanged. There are three kinds of marks: \botmark is the last valid mark on a page, \firstmark is the first ...

4

Memoir includes code based on both the titling and abstract packages so you should use these facilities for modifying the layout. The abstract is not a section but, rather, a specialised environment of its own with its own settings and configuration. Note that using Memoir's tools for configuring the title means that the relevant pieces of data are ...

3

The \chapter command sets the \thispagestyle{chapter} explicitly which has no header by default. To trick memoir it's possible to use \aliaspagestyle, but ideally one would copy the original chapter page style first. \documentclass{memoir} \makepagestyle{generalstyle} \makeevenhead{generalstyle}{}{HEADER}{} \makeoddhead{generalstyle}{}{HEADER}{} ...

3

\thispagestyle{empty} sets the page style to empty i.e. no headers or footers. If you want headers and footers, you don't want empty. So just delete \thispagestyle{empty} for the relevant pages.

3

Makes no real sense, but is possible: \documentclass[12pt]{book} \title{Something} \usepackage{fancyhdr} \fancyhf{} \cfoot{\thepage} \renewcommand\headrulewidth{0pt} \setlength{\headheight}{15pt} \pagestyle{fancy} \makeatletter \let\ps@plain\ps@fancy \makeatother \begin{document} \begingroup \makeatletter \let\ps@empty\ps@plain \maketitle \endgroup ...

3

If I understand your setup correctly, there's actually no need to define a header block just for the first page. Instead, I suggest you do something like the following. \documentclass[a4paper,10pt,twoside,titlepage]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \usepackage{anysize} ...

3

First comment: Oh my, this template is ... (fill in yourself ;-)) I made some changes and marked them with % MY CHANGE or MY ADDITION but I could not address anything there... \singlespacing is no environment → added the command in the \fquote macro Added some lengths to provide easier change of the bar height and width Removed the bar from the chapter ...

3

If you are using a KOMA-Script class (or the package scrextend together with a standard class) there is an option to set the page style of blank pages: cleardoublepage=<page style name> The default value of this option is empty. To change the layout of the blank pages you can decide which page style they should use. If there should be only the ...

3

By default, the header and the footer are not included in the text body. But you can include them using includefoot and includehead keys of geometry package. In this case you have to adjust the footskip also. We make footskip = 25pt, otherwise a warning is issued. The solution is ...

2

Since you say that the bit of text is part of the title, not actually a heading ... don't use the mechanism to generate a heading. Do it like you would do it with any other title, add a bit of space by hand. \documentclass[a4paper,10pt,twoside]{article} \usepackage{blindtext} %--------------- Page Geometry--------------- \usepackage{geometry} ...

2

Your problem comes from incorporating \normalsize to the argument of \section: it is included in rightmark, thus overwriting the \tiny specification of fancyhdr. I also took the liberty to replace your hyphen dashes with more relevant endashes. Here is a simple solution with \titlesec: \documentclass[12pt, a4paper]{book} \usepackage[utf8]{inputenc} ...

2

Well amstex is very old. And it doesn't really have the notion of a "\thispagestyle{plain}" for pages as you would have in latex. But you can try something like this: {\catcode`\@=11 \gdef\plainpagestyle{\firstpage@true}} %new \def\chtitlen#1#2#3{\centerline{\titlefontd#1}% \plainpagestyle %new \vskip 0.5truecm {\hrule height#2} \vskip 0.6truecm ...

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

2

Note that package scrpage2 is depreciated for 2 years. I would suggest to use its successor scrlayer-scrpage: \documentclass[% paper=6in:9in, pagesize=pdftex, headinclude=on, footinclude=on,12pt ]{scrbook} \areaset[0.50in]{4.5in}{8in} \usepackage[automark]{scrlayer-scrpage} \addtokomafont{pagenumber}{\oldstylenums} \clearpairofpagestyles ...

2

I don't know why this has to reproduced, but this is a starter (only), without a further package. \documentclass[a4paper,11pt,openany,leqno]{memoir} \usepackage{blindtext} \begin{document} {% \centering {% \large \textsc{Transport Architectures for an evolving internet}% by \textsc{Keith Winstein}% } \vskip\baselineskip Submitted to the Department of ...

1

There's a lot you can do in the headers. I've set the Left Header as-is, while the Center Header and Right Header is set using a tabular of fixed width. The advantage of using a tabular is that you can use its \hlines for rules: \documentclass{article} \usepackage{fancyhdr,lipsum} \pagestyle{fancy} \fancyhf{}% Clear header/footer \fancyhead[L]{Left ...

1

Using the answer directly from this question, I suggest you add the following to your preamble (that is, before \begin{document}): \makeatletter \def\ps@IEEEtitlepagestyle{% \def\@oddfoot{\mycopyrightnotice}% \def\@evenfoot{}% } \def\mycopyrightnotice{% {\hfill \footnotesize 978-1-4673-9563-2/15/\$31.00 \copyright 2015 IEEE\hfill} } \makeatother ... 1 Posting the lines that worked for me. Adding the below lines before /begin{document} \IEEEoverridecommandlockouts \IEEEpubid{\makebox[\columnwidth]{978-1-4673-9563-2/15/\$31.00~ \copyright~2015 IEEE \hfill} \hspace{\columnsep}\makebox[\columnwidth]{}} At the same time removed this line. \IEEEpubid{978-1-4673-9563-2/15/\$31.00 ©2015 IEEE}

1

The following is not thoroughly tested, but should suffice with some tweaking. The idea is to update \newchap to include some code from needspace. This allows you to force a new page based on the amount of space available on the page, and condition accordingly between issuing \thispagestyle{plain} and \thispagestyle{fancy}: \documentclass{article} ...

1

This is a job for \framebox and tabular*. The first line is set in a \textwidth wide box, to avoid overfilling; the \framebox is set wider exactly by the amount of \fboxsep and \fboxrule on either side, so the text is typeset exactly on the text width. The inner \hfill kills all other stretchabilities. \documentclass{article} \usepackage[T1]{fontenc} ...

1

Here is a custom headline with author's email added. I would rather not install confposter.sty which presumably defines colors jblue and jg. \documentclass{beamer} \setbeamertemplate{headline}{ \leavevmode \begin{columns} \begin{column}{\linewidth} \vskip1cm \centering \usebeamercolor{title in headline}{\Huge{\textbf{Title goes ...

1

I just saw in the updates, that such an option is now included in the package. You have to include the option [left] in \moderncvstyle. I'll learn to read the changelog next time beforehand.

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? ...

1

I'd forego newlfm and choose something less restrictive. Here's a replica of your document under good ol' article: \documentclass[10pt]{article} \usepackage{charter,fancyhdr,geometry,graphicx} \usepackage{lipsum}% For this example \geometry{paper=letterpaper, hmargin=1in, vmargin=.5in, includefoot } \pagestyle{fancy} \fancyhf{}% Clear header/footer ...

1

If you know how to use tikz: \documentclass{article} \usepackage{everypage} \usepackage{tikzpagenodes} \usetikzlibrary{calc} \usepackage{mwe} \pagestyle{empty} \AddEverypageHook{\begin{tikzpicture}[remember picture,overlay] \fill[blue] (current page.north west) rectangle (current page text area.north -| current page.east); \node[fill=white] at (current ...

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