Edit: I used the answers I got so far and created some code. Now I have another Question. How can I change the distance margin on the top of the document to get some more space to write? (for detailed question and code see below)
I want to make myself a new template for short texts up to five pages. therefore I would like to avoid using a titlepage and just use the header I know by WORD as given in my example image.
So far I came across the scrlayer-scrpage package but I couldn't find a solution for my template yet. The problem is, that I want to use the header only on the first page, the rest of the headers should be empty.
This is the code im currently using:
\documentclass[12pt,a4paper]{article}
\usepackage[a4paper, left=3cm, right=3cm, top=3.4cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage{lmodern}
\usepackage{ngerman}
\usepackage{graphicx}
\usepackage{kantlipsum}
\usepackage{fancyhdr} %Kopfzeilen und co.
\setlength{\headheight}{55pt} % space for two lines in header
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\fancypagestyle{firstpage}{ % define a custom header (Kopfzeile)
\fancyhf{}
\fancyhead[R]{\raggedleft \includegraphics[height=50pt]{Abbildungen/ottomodernhw}}
\fancyhead[L]{\small{ some Text\\some Text \\some Text \\ some Text} }
\fancyfoot[C]{\thepage}
}
\renewcommand{\headrulewidth}{0pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{firstpage}
\kant[1-4]
\end{document}
Resulting in this header:
This is some code I used before:
\fancypagestyle{firstpage}{ % define a custom header (Kopfzeile)
\fancyhf{}
\fancyhead[R]{\raggedleft \small{some Text \\some Text}}
\fancyhead[L]{\small{ some Text \\some Text } }
\fancyhead[C]{\centering \small{ some Text \\ } }
\fancyfoot[C]{\thepage}
}
\renewcommand{\headrulewidth}{0pt}
Resulting in this (I should change the \setlength{\headheight}{55pt}
):
My new problem/question is now: how can I change the space above the text on the second (and also the third) page? I want it to be smaller. I googled for some time and found the geometry
package wiht the newgeometry
command, but unfortunately it always creates a new page.
Is there any possibility to change the geometry
settings for single pages? Maybe with pagenumbers as a reference? I want to use the template without searching for the exact spot to make a break in the text.
The last image shows what I want to change: