Document Classes ⇒ Editing scrreprt
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am
Editing scrreprt
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
- Attachments
-
- latex_example-600.png (11 KiB) Viewed 9626 times
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.
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
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
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am
Editing scrreprt
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
\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
-
- Posts: 30
- Joined: Mon Jan 21, 2013 11:37 am