ProgTutorial/document/root.tex
changeset 329 5dffcab68680
parent 316 74f0a06f751f
child 339 c588e8422737
equal deleted inserted replaced
328:c0cae24b9d46 329:5dffcab68680
    55 % to work around a problem with \isanewline
    55 % to work around a problem with \isanewline
    56 \renewcommand{\isanewline}{{\parindent0pt\parskip0pt\mbox{}\par\mbox{}}}
    56 \renewcommand{\isanewline}{{\parindent0pt\parskip0pt\mbox{}\par\mbox{}}}
    57 
    57 
    58 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    58 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    59 % for exercises, comments and readmores
    59 % for exercises, comments and readmores
       
    60 \newtheoremstyle{exercisestyle}{\topsep}{\topsep}{\small\it}{}{\small\bfseries}{:}{1ex}{}
       
    61 \theoremstyle{exercisestyle}
    60 \newtheorem{exercise}{Exercise}[section]
    62 \newtheorem{exercise}{Exercise}[section]
    61 \newcommand{\solution}[1]{{\bf Solution for Exercise~\ref{#1}.}}
    63 \newcommand{\solution}[1]{{\bf Solution for Exercise~\ref{#1}.}}
    62 
    64 
    63 \newcommand{\readmoremarginpar}[1]%
    65 \newcommand{\readmoremarginpar}[1]%
    64 {\marginpar[\raggedleft\small{#1}]{\raggedright\small{#1}}}
    66 {\marginpar[\raggedleft\small{#1}]{\raggedright\small{#1}}}