Exercise: Making a Note Environment
<<<< ^^^^^ >>>>

Note like in Tech Book

Indented both sides

# %%% note environment
Style Note
        LatexType             Environment
        LatexName             note_l
        LabelType             Centered_Top_Environment
        LabelString           "NOTE"
        LeftMargin            MMMMM
        RightMargin           MMMMM
        ParIndent             MM
        TopSep                0.7
        ItemSep               0.7
        ParSep                0.7
        BottomSep             0.7
        Align                 Block
        AlignPossible         Block

        Font 
                Family               Sans
                Shape                Upright
                Series               Medium
                Size                 Normal
        EndFont

        LabelFont
                Family               Sans
                Shape                Upright
                Series               Bold
                Size                 Largest
        EndFont


        Preamble
                \newenvironment{note_l}
                {
                \begin{list}{}
                        {
                        \setlength{\leftmargin}{1in}
                        \setlength{\rightmargin}{\leftmargin}
                        \setlength{\parindent}{0in}
                        \setlength{\parsep}{0.2in}
                        \itshape
                        }
                \item[]
                \hrulefill\\[-.4in]
                \center{NOTE}\\[.1in]
                \flushleft
                \raggedright
                }
                {
                \\
                \hrulefill
                \par
                \end{list}
                }
        EndPreamble
End
<<<< ^^^^^ >>>>
 
 
 
 
 
Copyright (C) 2002 by Steve Litt, you can freely distribute unmodified copies if this copyright notice and disclaimer are intact.  This material originally appeared on Troubleshooters.Com.

This presentation has no warranty, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the presentation is with you.
 

39.html

Exit Slideshow