ProgTutorial/document/root.tex
changeset 312 05cbe2430b76
parent 300 f286dfa9f173
child 316 74f0a06f751f
equal deleted inserted replaced
311:ee864694315b 312:05cbe2430b76
    67 \newenvironment{leftrightbar}{%
    67 \newenvironment{leftrightbar}{%
    68 \def\FrameCommand##1{\vrule width 2pt \hspace{8pt}##1\hspace{8pt}\vrule width 2pt}%
    68 \def\FrameCommand##1{\vrule width 2pt \hspace{8pt}##1\hspace{8pt}\vrule width 2pt}%
    69 \MakeFramed {\advance\hsize-\width \FrameRestore}}%
    69 \MakeFramed {\advance\hsize-\width \FrameRestore}}%
    70 {\endMakeFramed}
    70 {\endMakeFramed}
    71 
    71 
    72 
       
    73 \newenvironment{readmore}%
    72 \newenvironment{readmore}%
    74 {\begin{leftrightbar}\small\it{\textbf{Read More}}\\}{\end{leftrightbar}}
    73 {\begin{leftrightbar}\small\it{\textbf{Read More}}\\}{\end{leftrightbar}}
       
    74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    75 % some mathematical notation
       
    76 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
    75 
    77 
    76 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    78 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    77 % this is to draw a gray box around code
    79 % this is to draw a gray box around code
    78 %(FIXME redefine pagebreak so that it includes a \smallskip)
    80 %(FIXME redefine pagebreak so that it includes a \smallskip)
    79 \newenvironment{graybox}
    81 \newenvironment{graybox}