Hey,
I am writing my thesis using the scrreprt document class, but I don't like the default chapter set up. So I want to define my own document class, essentiall the same as the scrreprt classe, but with a front chapter page.
The example I'd like to use is that in the image attached.
Can anyone point me to the relevant section in the scrrept .cls file that I should edit?
Furthermore, I have copied and renamed scrreprt.cls, but when I do this and use the new class, some text in the header becomes block capitals - No idea why, text of the files is identical
Cheers
Document Classes ⇒ Editing scrreprt
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am
Editing scrreprt
- Attachments
-
- latex_example-600.png (11 KiB) Viewed 9819 times
Last edited by cgnieder on Fri Jan 24, 2014 5:44 pm, edited 1 time in total.
Reason: scaled image down to a reasonable size so it can be viewed on smaller screens, too
Reason: scaled image down to a reasonable size so it can be viewed on smaller screens, too
NEW: TikZ book now 40% off at Amazon.com for a short time.

Editing scrreprt
You shouldn't edit themagical marshmallow wrote:Can anyone point me to the relevant section in the scrrept .cls file that I should edit?
scrrprt.cls
file at all but either use KOMA-Script's interface macros such as the chapter
komafont and the macros \chapterformat
, \chapterheadstartvskip
and \chapterheadendvskip
which are all descrobed in the KOMA-Script manual 
If you don't like those macros you can also use the titlesec package to format the headings (The package disables KOMA-Scripts options related with headings which is why some people don't recommend it.)
Regards
site moderator & package author
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am
Editing scrreprt
Hi Clemens,
I've had a go at using the titlesec package and I've come up with
However, the number is still not what I would like, do you know how I might make it larger than the
I've had a go at using the titlesec package and I've come up with
\titleformat{\chapter}[display]{\normalfont\large\bfseries\filleft}{\Huge\thechapter}{15pt}{\Huge}
However, the number is still not what I would like, do you know how I might make it larger than the
\Huge[\LaTeX] font size, so as to mirror that of the picture above?
Editing scrreprt
You can use
Maybe this helps.
Regards
\scalebox
(provided by the graphicx package) to scale things to arbitrary height:Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\begin{document}
foo {\huge foo} \scalebox{3}{foo}
\end{document}
Regards
site moderator & package author
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am
Re: Editing scrreprt
Perftect - Thank you!