-
Notifications
You must be signed in to change notification settings - Fork 32
/
mylecturenotes.sty
27 lines (19 loc) · 1 KB
/
mylecturenotes.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%%%%%%%%%%%%%%%%%%%%%%%%% standard packages
\RequirePackage{currfile}
\RequirePackage{amsmath,amssymb,amsthm}
\RequirePackage{url}
\RequirePackage{paralist}
\RequirePackage{kvoptions}
\usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
%%%%%%%%%%%%%%%%%%%%%%%%% options using kvoptions
\SetupKeyvalOptions{family=ln,prefix=ln@} % needed to override default values obtained from file name
%% the root directory that contains the macros directory
\DeclareStringOption[..]{root}
\ProcessKeyvalOptions*
%%%%%%%%%%%%%%%%%%%%%%%%% my packages
\usepackage{\ln@root/macros/twelf-math}
\usepackage[book,mark]{\ln@root/macros/theorems}
\usepackage{\ln@root/macros/basics}
\usepackage[hyperfootnotes=false,bookmarks=true, linkcolor=blue, citecolor=blue, urlcolor=blue, colorlinks=true, breaklinks=true, bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered]{hyperref} % this needs to go last
\newenvironment{exsolution}[1]{\textit{Solution} to Ex.~\ref{#1}.}{\medskip}
\markEnv{exsolution}