kartsstyle

main
HeNine 2 years ago
parent 8eea25be68
commit 441f8527f8

@ -20,6 +20,9 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
submodules: recursive
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." - run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: Build PDF with `latexmk` - name: Build PDF with `latexmk`

3
.gitmodules vendored

@ -0,0 +1,3 @@
[submodule "kartsstyle"]
path = kartsstyle
url = https://git.raptorpond.com/KaRTS/kartsstyle.git

@ -0,0 +1 @@
Subproject commit 642fec7b08a369ee488682a05fe1232720574f97

@ -1,92 +1,9 @@
\documentclass[a4paper,12pt,pagesize, openany]{scrbook} \documentclass[]{kartsstyle/kartsstyle}
\KOMAoptions{
numbers=noenddot,
chapterprefix,
parskip=half
}
\setlength{\footskip}{2.5em}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[english]{babel} \usepackage[english]{babel}
\usepackage{scrlayer-scrpage}
\usepackage[hidelinks]{hyperref}
\hypersetup{pdfpagelayout=TwoColumnRight,pdfstartview={XYZ null null 1.00}}
\usepackage[dvipsnames]{xcolor}
\usepackage[]{cleveref}
\usepackage{multicol}
\setlength{\columnsep}{0.75cm}
\raggedcolumns
% \usepackage{blindtext}
% \usepackage{float}
\usepackage{wrapfig}
\usepackage{framed}
% \usepackage[a4paper,bottom=2.2cm,hmarginratio=2:3,textwidth=10.5cm]{geometry}
\usepackage[a4paper,bottom=3.2cm,outer=2cm, inner=1.5cm, footskip=2.0cm]{geometry}
\usepackage[loversize=0.2,nindent=0.0em]{lettrine}
\usepackage{setspace}
% % \onehalfspacing
% \usepackage[]{parskip}
% \usepackage{array}
% \renewcommand{\arraystretch}{1.2}
\raggedbottom
\usepackage[mode=match]{siunitx}
% \renewcommand*\sfdefault{ugq}
\usepackage[scaled]{helvet}
% \usepackage{tgadventor}
\usepackage[]{scholax}
\usepackage{microtype}
\usepackage{anyfontsize}
% \addtokomafont{chapter}{\scshape}
\definecolor{chapterbrown}{RGB}{ 89, 25, 9}
\definecolor{sectionbrown}{RGB}{140, 39, 14}
\renewcommand{\chapterlineswithprefixformat}[3]{%
\color{chapterbrown}#2\MakeUppercase{#3}%
}
\addtokomafont{section}{\color{sectionbrown}}
\addtokomafont{subsection}{\color{sectionbrown}}
\addtokomafont{subsubsection}{\color{sectionbrown}}
\renewcommand*{\chapterheadmidvskip}{\par\nobreak\vspace{0em}}
\newcommand{\clearpart}[1]{\cleardoubleevenpage\part{#1}}
\addtokomafont{pagenumber}{\normalshape}
\renewcommand\chapterpagestyle{plain}
\renewcommand\partpagestyle{empty}
\setkomafont{pagehead}{\footnotesize\sffamily}
\ihead[]{}
% \ohead[]{}
\lehead[]{Chronicles of Savits}
\cehead[]{}
\rohead[]{\leftmark}
% \ofoot[]{}
\ofoot[\pagemark]{\pagemark}
\usepackage{etoolbox}
\AtBeginEnvironment{multicols}{\small}
\newenvironment{firstpar}{\onehalfspacing\large\lettrine}{\normalsize\par}
\title{Chronicles of Savits} \title{Chronicles of Savits}
\author{\texttt{HeNine}} \author{\texttt{HeNine}}
\date{2023} \date{2023}
@ -94,10 +11,6 @@
\newcommand{\tochange}[1]{\textcolor{red}{#1}} \newcommand{\tochange}[1]{\textcolor{red}{#1}}
\begin{document} \begin{document}
% \fontdimen2\font=1.25\fontdimen2\font
\pagestyle{scrheadings}
\frontmatter \frontmatter

Loading…
Cancel
Save