File: whizzy.sty

package info (click to toggle)
whizzytex 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,536 kB
  • sloc: lisp: 3,668; sh: 1,768; makefile: 227
file content (26 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (3)
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
\usepackage{comment}
\@ifundefined {WhizzyTeX}{}{\AtBeginDocument{%
  \WhizzyInsideEnvironment {itemize}
     {\em \out@itemize}
     {\endout@itemize}
  \WhizzyInsideEnvironment {enumerate}
     {\em \out@enumerate}
     {\endout@enumerate}
  \let \latex@drawer \drawer
  \let \endlatex@drawer \enddrawer
  \renewenvironment {drawer}[1]%
     {\subsection {#1}\qquad
        {\emph{(Move cursor in subsection to open)}}\par 
      \setbox0\vbox \bgroup}
     {\egroup}
  \WhizzyInsideEnvironment {drawer}%
     {\latex@drawer}
     {\endlatex@drawer}
  \WhizzyInsideEnvironment {proof}
     {\@answer@laterfalse \out@proof}
     {\endout@proof}
  \expandafter \g@addto@macro \csname endnow-proof\endcsname 
    {\whizzy@envlimit@waux}
  \let \latex@mpr@and \mpr@and
  \def \mpr@and {\latex@mpr@and \whizzy@writelineno}
}}