Documentclass edits
This commit is contained in:
parent
47de89c2c4
commit
bb5c3bfb76
@ -1,10 +1,9 @@
|
|||||||
% Mark's handout style.
|
% Mark's math circle handout style.
|
||||||
%
|
|
||||||
% Source is at https://git.betalupi.com/Mark/ormc-handouts
|
% Source is at https://git.betalupi.com/Mark/ormc-handouts
|
||||||
|
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesClass{ormc_handout}[2023/05/13 1.2.0 ORMC Handout]
|
\ProvidesClass{ormc_handout}[2023/05/14 1.2.1 ORMC Handout]
|
||||||
|
|
||||||
|
|
||||||
% Boolean that determines solution behavior.
|
% Boolean that determines solution behavior.
|
||||||
@ -101,7 +100,7 @@
|
|||||||
\RequirePackage{fancyhdr} % Header/Footer customization
|
\RequirePackage{fancyhdr} % Header/Footer customization
|
||||||
\RequirePackage{adjustbox} % Used for title
|
\RequirePackage{adjustbox} % Used for title
|
||||||
|
|
||||||
\tcbuselibrary{breakable}
|
\tcbuselibrary{breakable} % Allows tcolorboxes to break across pages
|
||||||
|
|
||||||
\RequirePackage[
|
\RequirePackage[
|
||||||
left = ``,
|
left = ``,
|
||||||
@ -114,6 +113,8 @@
|
|||||||
\RequirePackage{amsmath}
|
\RequirePackage{amsmath}
|
||||||
\RequirePackage{amssymb}
|
\RequirePackage{amssymb}
|
||||||
\RequirePackage{multicol}
|
\RequirePackage{multicol}
|
||||||
|
\RequirePackage{tabto}
|
||||||
|
\TabPositions{1cm, 2cm, 3cm, 4cm, 5cm, 6cm, 7cm, 8cm}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -443,13 +444,23 @@
|
|||||||
|
|
||||||
\ifsolutions
|
\ifsolutions
|
||||||
\newenvironment{solution}{
|
\newenvironment{solution}{
|
||||||
|
% ifdefined hack allows for nested environments.
|
||||||
|
% could be done better, this doesn't preserve inner line color.
|
||||||
|
\ifdefined\linehack
|
||||||
|
\else
|
||||||
\@makelinehack{red!75!black}
|
\@makelinehack{red!75!black}
|
||||||
|
\fi
|
||||||
\begin{@shown_solution}
|
\begin{@shown_solution}
|
||||||
} {
|
} {
|
||||||
\end{@shown_solution}
|
\end{@shown_solution}
|
||||||
}
|
}
|
||||||
\newenvironment{instructornote}{
|
\newenvironment{instructornote}{
|
||||||
|
% ifdefined hack allows for nested environments.
|
||||||
|
% could be done better, this doesn't preserve inner line color.
|
||||||
|
\ifdefined\linehack
|
||||||
|
\else
|
||||||
\@makelinehack{cyan!75!black}
|
\@makelinehack{cyan!75!black}
|
||||||
|
\fi
|
||||||
\begin{@shown_note}
|
\begin{@shown_note}
|
||||||
} {
|
} {
|
||||||
\end{@shown_note}
|
\end{@shown_note}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user