diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..48e230d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "kartsstyle"] + path = kartsstyle + url = https://git.raptorpond.com/KaRTS/kartsstyle diff --git a/game/dice.tex b/game/dice.tex index dc995dd..5dbf3ea 100644 --- a/game/dice.tex +++ b/game/dice.tex @@ -6,7 +6,7 @@ % \rule{\linewidth}{1pt} - \section*{{\small D}12} + \section*{\dc{12}} The \dc{12} is the main die that determines the fate of characters in \tochange{this game}. In general, when the fate of a character hangs in the balance of chance, the player assembles a pool of dice based on the stats (\cref{ch:stats}) that are relevant to the situation. The roll of those dice determines the outcome. @@ -25,9 +25,9 @@ The difference between the number of successes and the number of failures on a roll is the Margin of Success. For basic tests, the size of the margin does not matter, as long as it is positive. For more complex situations, the GR can use the margin to determine the degree of success. In encounters, the margin is used for further rolls to determine the details of the result. - \begin{framed} - \textbf{\sffamily Note} When playing with real dice, the margin can be determined by pairing success and failure dice and setting them aside (for 1 and 12, remove two of the opposite dice), and counting the remaining dice. - \end{framed} + \begin{boxnote} + When playing with real dice, the margin can be determined by pairing success and failure dice and setting them aside (for 1 and 12, remove two of the opposite dice), and counting the remaining dice. + \end{boxnote} \subsection*{Tests} diff --git a/kartsstyle b/kartsstyle new file mode 160000 index 0000000..642fec7 --- /dev/null +++ b/kartsstyle @@ -0,0 +1 @@ +Subproject commit 642fec7b08a369ee488682a05fe1232720574f97 diff --git a/main.tex b/main.tex index ba8761b..4e0a537 100644 --- a/main.tex +++ b/main.tex @@ -1,86 +1,7 @@ -\documentclass[a4paper,12pt,pagesize, openany]{scrbook} +\documentclass{kartsstyle/kartsstyle} -\KOMAoptions{ - numbers=noenddot, - chapterprefix, - parskip=half -} -\setlength{\footskip}{2.5em} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\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{setspace} -% % \onehalfspacing - -% \usepackage[]{parskip} -% \usepackage{array} \renewcommand{\arraystretch}{1.2} -\raggedbottom - -\usepackage[mode=match]{siunitx} - -\usepackage[lraise=0.1,nindent=0.0em]{lettrine} - -% \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[]{Adventurer's Guide to Savits} -\cehead[]{} -\rohead[]{\leftmark} -% \ofoot[]{} -\ofoot[\pagemark]{\pagemark} - \title{Adventurer's Guide to Savits} \author{\texttt{HeNine}} \date{2023} @@ -93,23 +14,7 @@ \newcommand{\tochange}[1]{\textcolor{red}{#1}} -\usepackage{relsize} - -\newcommand{\dc}[1]{\textsc{\larger d}#1} - -\newcommand*{\stat}[1]{\textsc{\larger[2]\MakeLowercase{#1}}} - -\usepackage{etoolbox} -\AtBeginEnvironment{multicols}{\small} - - -\newenvironment{firstpar}{\large\lettrine}{\normalsize\par} - \begin{document} -% \fontdimen2\font=1.25\fontdimen2\font - -\pagestyle{scrheadings} - \frontmatter @@ -119,7 +24,6 @@ \mainmatter - \include{game} \include{character}