Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
5

First, you should use a book-like document class to use \chapter instead of \section as first level headings. Then you can customize the chapter style with the package tilesec in the standard book class or alternatively according the document class commands for this purpose. For example, using memoir you have already defined some chapter styles as "madsen"...


3

After some experimenting with the MWE I found the simple answer: use \markboth{leftHeader}{rightHeader} as follows: \documentclass{scrbook} \KOMAoptions{paper= 6.14in:9.21in, BCOR=8mm,twoside, headinclude=false, footinclude=false, DIV=13, fontsize=11pt, } \usepackage[german]{babel} \usepackage{parallel} \usepackage{lipsum} \...


3

Just as a starting point: you can use absolute page coordinate (see Positioning relative to page in TikZ) and overlays, together with a bit of coordinate labeling... \documentclass[]{report} \pagestyle{empty} \usepackage[a3paper, landscape]{geometry} \usepackage[RPvoltages]{circuitikz} \begin{document} \begin{tikzpicture}[overlay, remember picture] \...


3

With the titlesec package you can redefine any of your headings very precisely to provide the format/layout you like. Since that top rule is so close to the page number and since the page number is in the header despite being the start of a chapter, you might want to use the fancyhdr package and redefine the plain pagestyle to get the top rule and the page ...


3

add manually with \markboth{PREFACE}{}: \documentclass[a4paper,twoside,12pt]{book} \usepackage[left=3cm,right=3cm,top=3cm,bottom=3cm]{geometry} \usepackage{fancyhdr} \usepackage{titlesec} \titleformat{\chapter} [display] {\center\bfseries} {\large\MakeUppercase{\chaptertitlename} \thechapter}{0cm}{\large} \titlespacing{\chapter}{0cm}{-1cm}{0.5cm} %\...


3

An answer to two of your questions. ... \setSingleSpace{1} % normal space between lines \SingleSpacing \chapter[How do ...]{How do I reduce chapter heading line space? How do I ...} \setSingleSpace{1.3} % more space between lines \SingleSpacing \setsecheadstyle{\large\scshape\raggedright} % change section head font \section{How to change this font?} \...


2

With \fancyfoot you have access to the entire footer, so you can combine/align things any way you want. The \rlap \llap approach allows the left or right section to extend past the midpoint, and helps center the center section (if used). \documentclass{article} \usepackage[a6paper,footskip=30pt,showframe]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \...


2

The first page of the index uses page style plain. You can modify it with \indexsetup: \documentclass{article} \usepackage{fancyhdr,imakeidx} \usepackage[index]{kantlipsum} \makeindex \indexsetup{firstpagestyle=fancy} \lhead{Lorem Ipsum} \rhead{Cicero} \pagestyle{fancy} \begin{document} \section{Lorem Ipsum} \kant[1-200] \printindex \end{document}


2

Well, you can for example define two own styles to be used: \fancypagestyle{styletoc}{% <=========================================== \fancyhf{} \fancyhead[RE,LO]{Table of contents} \fancyhead[LE,RO]{\thepage} \fancyfoot[C]{My Book} % \renewcommand{\headrulewidth}{0pt} } \fancypagestyle{stylenor}{% <=========================================== ...


1

\documentclass[12pt]{article} \usepackage{pdfpages, fancyhdr} \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \lfoot{\thepage} \cfoot{\rightmark} \begin{document} \includepdf[pages=-, pagecommand={\markright{my cool document}}]{example-image-a4-numbered} \includepdf[pages=-, pagecommand={\markright{my second cool document}}]{example-image-a4-...


1

This might be a bit fragile, but seems to give the desired result: \documentclass{book} \usepackage{fancyhdr} \makeatletter \fancyfoot[c]{% \nameref{foo:\thechapter.\@arabic\c@section}% \space pp. \pageref{foo:\thechapter.\@arabic\c@section}\space--\space\pageref{bar:\thechapter.\@arabic\c@section}% } \makeatother \pagestyle{fancy} \usepackage{...


1

If you insist on locally changing the margin instead of making the table itself narrower, you might want to use the changepage package and its adjustwidth environment: \documentclass[a4paper,12pt]{scrbook} \usepackage[pass]{geometry} \usepackage{pdflscape} \usepackage[automark]{scrpage2} \pagestyle{scrheadings} \setheadsepline{1pt} \usepackage{lipsum} \...


1

From your MWE can be concluded, that your table is not so long that you need more pages for it, but it is wider than width of the landscape oriented page. If my conclusion is correct, than you can use the tabular* table environment with prescribed width equal to text height and use macro \extracolsep{\fill}} for determining column separation. Using it you ...


1

In the past I had problems with KOMA-Script and pdflscape. Therefore, with the answer of Jörg (the \newenvironment{rotatepage}) in this post Rotate single PDF page when viewing and the package hvfloat I found an "unconventional" way: \documentclass[a4paper,12pt]{scrbook} \usepackage[automark]{scrpage2} \pagestyle{scrheadings} \setheadsepline{1pt} \...


1

This answer: https://tex.stackexchange.com/a/31070/120014 clearly shows a workaround where a different command is defined and then input to \title{} or \author{} to avoid complexities associated with the true \author{} and \title{}, such as being cleared during \maketitle. So I simply define \firstauthor and input that to both \author and the footer: \...


1

For (3) \makeevenhead{headings}{\thepage}{}{\small\scshape\leftmark} \makeoddhead{headings}{\small\scshape\rightmark}{}{\thepage} \nouppercaseheads \pagestyle{headings} This makes all the headers scshape


1

The table of contents is typeset as a starred chapter, the reason why the pagestyle is plain and not fancy. See documentation of fancyhdr how the page style can be redefined with \fancypagestyle{plain}{...}.


1

If \KOMAoptions{enlargefirstpage} should have an effect, you have to add option firstfoot=false. See the documentation for more information. If you use firstfoot=false (without option enlargefirstpage!) you get the desired result for the text body on the first page. For the footer you can load package scrlayer, define a layer and a page style which can be ...


1

Add footsepline to the global options. headsepline, % Uncomment to get a line under the header footsepline,% <------- %chapterinoneline, % Uncomment to place the chapter title next to the number on one line %consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout ]{...


1

Thanks to esdd’s comment I figured out a solution: I am now using the geometry package and a combination of footlines to set the height of the foot used for footskip, a manually set bottom margin, footskip=0pt to merge the foot into the text area, and enlargethispage{-5\baselineskip} to create space for the foot on the first page. \documentclass[footlines=...


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