Page LayoutCustomizing first Section Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
maddog84
Posts: 2
Joined: Wed Jan 18, 2012 11:50 pm

Customizing first Section Page

Post by maddog84 »

Hi there,

I tried to search for a comparable topic but really did not find anything that answered my question.

My *.tex document class is "scrartcl" and I want to customize the first pages of all of my sections by the following:
  • increased font size of section name
  • increase margins between section name and text as well as section name and page boarder (same for footer). The whole first page should be more "centered"

Code: Select all

%\documentclass[a4paper,12pt]{article}
\documentclass[a4paper,12pt]{scrartcl}
%\documentclass[12pt]{ociamthesis}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
%   Standards
%    \usepackage[latin1]{inputenc}
%    \usepackage{fontenc}%\usepackage{chicago}

% German language support
   \usepackage[english]{babel}
%   \usepackage{bibgerm}

%   Mathematics
    \usepackage{amsmath}
    \usepackage{amssymb}
    \usepackage{amsthm}
    \usepackage{amscd}
    \usepackage{amsfonts}

%   Formatting
    \usepackage{graphicx}   %Graphics
    \usepackage{booktabs}   %Tables
    \usepackage{a4}         %Page setting
    \usepackage{fancyhdr}   %Headers and footers
    \usepackage{longtable}  %Tabellen l\"{a}nger als eine Seite
    \usepackage{subfigure}
    \usepackage{booktabs}
    \usepackage{enumerate}
    \usepackage{epsfig}
    \usepackage{layout}
    \usepackage{tabularx}
    \usepackage{array}
    \usepackage{wasysym}
    \usepackage{fancybox}
    \usepackage{color}
    \usepackage{rotating}
    \usepackage{slashbox}% kann in Tabelle diagonalen Strich darstellen
    \usepackage{multirow}
    \usepackage{mathrsfs}
    \usepackage[a4paper]{geometry}
		\geometry{top=3.5cm, bottom=5cm, left=3cm, right=3cm}
		\interfootnotelinepenalty=50000
		
		\usepackage{caption}

    % Chapter title pages
        \fancypagestyle{myheadings}{
        \fancyhf{}
				\vspace{3cm}
        \fancyhead[R]{}
        \fancyfoot[L]{}
        \fancyfoot[R]{}
        \fancyfoot[C]{\thepage}
        \renewcommand{\headrulewidth}{0pt}
        \renewcommand{\footrulewidth}{0pt}}
        \renewcommand{\baselinestretch}{1.3}

\pagestyle{headings}
\begin{document}

\setcounter{page}{1}\renewcommand{\thepage}{\roman{page}}%
\tableofcontents %
\newpage
% \listoffigures \addcontentsline{toc}{chapter}{List of Figures}% in Englisch
\listoffigures \addcontentsline{toc}{section}{List of Figures} % in Deutsch
% \listoftables \addcontentsline{toc}{chapter}{List of Tables}% in Englisch
\listoftables \addcontentsline{toc}{section}{List of Tables} % in Deutsch
\newpage
\setcounter{page}{1}\renewcommand{\thepage}{\arabic{page}}

\newpage
\section{\bfseries{\huge{Model}}
\thispagestyle{myheadings}
\vspace{2cm}
body of text...


\newpage
%
%


\newpage
\appendix


\end{document}
I tried to increase font size of the section "model" directly by using \huge() which does not increase the section number, too.

The next problem was that now the increased size of the section name leads to an increased font size in the header of the remaining pages of the same section which looks awful.
I was at least capable of creating margins by using \vspace() in \fancypagestyle{} and in the section directly..

I would be really grateful I anyone could give me a hint towards a more satisfying solution.


Best regards
maddog

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

erikgahner
Posts: 1
Joined: Wed Jan 18, 2012 7:39 pm

Customizing first Section Page

Post by erikgahner »

Section titles can be customized with the titlesec package. Maybe this topic can help.
maddog84
Posts: 2
Joined: Wed Jan 18, 2012 11:50 pm

Re: Customizing first Section Page

Post by maddog84 »

@erikgahner
thanks a lot. That helps. Although some problems remain. I don't want that the List of Contents, Figures and Tables become huge too (and they are sections as well). Any way how to set them manually?

Can I define page borders/ margins with the \fancypagestye{} command? I couldn't find any functions or arguments for this.

Best regards
maddog
Post Reply