CookBook/document/root.tex
changeset 15 9da9ba2b095b
parent 13 2b07da8b310d
child 17 8afa1c990a14
equal deleted inserted replaced
14:1c17e99f6f66 15:9da9ba2b095b
    20 \isadroptag{theory}
    20 \isadroptag{theory}
    21 
    21 
    22 % sane default for proof documents
    22 % sane default for proof documents
    23 \parindent 0pt\parskip 0.6ex
    23 \parindent 0pt\parskip 0.6ex
    24 
    24 
    25 
       
    26 % for comments on the margin
    25 % for comments on the margin
    27 \newcommand{\readmoremarginpar}[1]%
    26 \newcommand{\readmoremarginpar}[1]%
    28 {\marginpar[\raggedleft\small{#1}]{\raggedright\small{#1}}}
    27 {\marginpar[\raggedleft\small{#1}]{\raggedright\small{#1}}}
    29 
    28 
    30 \newenvironment{readmore}%
    29 \newenvironment{readmore}%
    31 {\hspace{-3pt}\readmoremarginpar{\fbox{\textbf{Read More}}}\it}{}
    30 {\hspace{-3pt}\readmoremarginpar{\fbox{\textbf{Read More}}}\it}{}
    32 
    31 
       
    32 % for exercises and comments
    33 \newtheorem{exercise}{Exercise}[section]
    33 \newtheorem{exercise}{Exercise}[section]
    34 
    34 \newcommand{\solution}[1]{{\bf Solution for Exercise~\ref{#1}.}}
    35 
    35 
    36 \begin{document}
    36 \begin{document}
    37 
    37 
    38 \title{\mbox{}\\[-10ex]
    38 \title{\mbox{}\\[-10ex]
    39        \includegraphics[scale=0.5]{cookbook-logo.jpg}\\[3ex]
    39        \includegraphics[scale=0.5]{cookbook-logo.jpg}\\[3ex]