2023-10-25 09:08:45 -07:00

93 lines
2.1 KiB
TeX
Executable File

% use [nosolutions] flag to hide solutions.
% use [solutions] flag to show solutions.
\documentclass[
solutions,
unfinished
]{../../resources/ormc_handout}
\usepackage{../../resources/macros}
\usepackage{mdframed}
\usepackage{pgf}
% Ruble symbol with tweaks
\DeclareRobustCommand*{\Rub}{%
\begingroup
\dimendef\H=0 %
\settoheight\H{P}%
\begin{pgfpicture}%
\pgfsetlinewidth{.1\H}%
\pgfsetrectcap
\pgfsetmiterjoin
\pgfmoveto{\pgfpoint{0pt}{0.07\H}}% Move to bottom of main line
\pgflineto{\pgfpoint{0pt}{.90\H}}% P main line
\pgflineto{\pgfpoint{.3\H}{.90\H}}% P top line
\pgfpatharc{90}{-90}{.21\H}% P circle
\pgflineto{\pgfpoint{-.08\H}{.48\H}}% P bottom line
\pgfmoveto{\pgfpoint{-.08\H}{.31\H}}% Bonus line move
\pgflineto{\pgfpoint{.34\H}{.31\H}}% Bonus line draw
\pgfusepath{stroke}%
\pgfmoveto{\pgfpoint{-.23\H}{0pt}}% Before space
\pgfmoveto{\pgfpoint{0.55\H}{0pt}}% After space
\end{pgfpicture}%
\endgroup
}
% Ruble symbol, per official Kremlin specification
%
%\DeclareRobustCommand*{\Rub}{%
% \begingroup
% \dimendef\H=0 %
% \settoheight\H{P}%
% \begin{pgfpicture}%
% \pgfsetlinewidth{.1\H}%
% \pgfsetrectcap
% \pgfsetmiterjoin
% \pgfmoveto{\pgfpoint{0pt}{0.05\H}}%
% \pgflineto{\pgfpoint{0pt}{.95\H}}%
% \pgflineto{\pgfpoint{.35\H}{.95\H}}%
% \pgfpatharc{90}{-90}{.225\H}%
% \pgflineto{\pgfpoint{-.05\H}{.5\H}}%
% \pgfmoveto{\pgfpoint{-.05\H}{.34\H}}%
% \pgflineto{\pgfpoint{.38\H}{.34\H}}%
% \pgfusepath{stroke}%
% \pgfmoveto{\pgfpoint{-.175\H}{0pt}}%
% \pgfmoveto{\pgfpoint{.7\H}{0pt}}%
% \end{pgfpicture}%
% \endgroup
%}
\newmdenv[
topline=false,
bottomline=false,
rightline=true,
leftline=true,
linewidth=0.3mm,
frametitle={Contract:},
frametitlefont={\textsc},
%
skipabove=1mm,
skipbelow=1mm,
%
innerleftmargin=2mm,
innerrightmargin=4mm,
leftmargin=2mm,
rightmargin=2mm,
]{contract}
\uptitlel{Advanced 2}
\uptitler{Fall 2023}
\title{Options in Finance}
\subtitle{
Prepared by \githref{Mark} on \today{}
}
\begin{document}
\maketitle
\input{parts/0 intro}
\input{parts/1 call}
\input{parts/2 put}
\input{parts/3 compound}
\end{document}