This commit is contained in:
2022-12-04 16:32:16 -05:00
parent d156927fab
commit efe2f09b17
6 changed files with 31 additions and 6 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
\ProvidesClass{booknotes}
\LoadClass{report}
\LoadClass[twoside]{report}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
@@ -161,11 +161,13 @@
}
\pagestyle{fancy}
\fancyhead[RO,L]{\@section}
\fancyhead[R,LO]{\leftmark}
\fancyhead[RO,LE]{\@section}
\fancyhead[RE,LO]{\leftmark}
\newcommand{\fullpagebreak}{\pagebreak}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex}
+1
View File
@@ -178,6 +178,7 @@
\definecolor{MintedBg}{RGB}{38, 38, 38}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newenvironment{code}[1]{\color{white}\VerbatimEnvironment\begin{minted}[bgcolor=MintedBg]{#1}}{\end{minted}}
+3
View File
@@ -176,6 +176,9 @@
\import{./figures/}{#1.pdf_tex}
}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\definecolor{MintedBg}{RGB}{38, 38, 38}
+5 -3
View File
@@ -1,5 +1,5 @@
\ProvidesClass{simplebooknotes}
\LoadClass{report}
\LoadClass[twoside]{report}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
@@ -129,9 +129,11 @@
\subsection*{\@lecture}
}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\pagestyle{fancy}
\fancyhead[RO,L]{\@section}
\fancyhead[R,LO]{\leftmark}
\fancyhead[RO,LE]{\@section}
\fancyhead[RE,LO]{\leftmark}
\newcommand{\fullpagebreak}{\pagebreak}
+2
View File
@@ -141,6 +141,8 @@
\newcommand{\fullpagebreak}{}
\renewcommand{\maketitle}{}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex}