\documentclass[11pt]{article} \usepackage{hhflxbox} % for presentation \usepackage{amssymb,epic,curves} % for illustrations \usepackage{verbatim} % for verbatim displaying of examples \usepackage{xspace} % for ease of typing \makeatletter \setlength\parindent\z@ \setlength\parskip{.5\baselineskip} \setcounter{errorcontextlines}{10} % For ease of debugging. \def\0#1.{\oldstylenums{#1}} % For ease of typing. \def\packagename#1{{\sffamily #1}} % For consistent displaying of % package names. To be redefined % by the editor if desired. \chardef\@ttbs="5C % This the only way I could figure \def\macroname#1{{\ttfamily\@ttbs#1}} % out to get the right backslashes % when displaying macro names % (math \backspace is too thin). \def\envirname#1{{\ttfamily #1}} % For consistent etc. \def\scheiding{\par % Because I cannot help to show my % `stamp' in and out of season. % Remove the stamps it you cannot % stand them. \nobreak\addvspace{18pt plus 6pt minus 6pt}% \nobreak\centerline{{\unitlength1pt\begin{picture}(0,0)% \thicklines \put(-10,0){\line(1,-1){10}}\put(-10,0){\line(1,1){10}}% \put(10,0){\line(-1,-1){10}}\put(10,0){\line(-1,1){10}}% \put(-5,5){\line(0,-1){10}}\put(5,5){\line(0,-1){10}}% \put(-5,-2.5){\line(2,1){10}}% \end{picture}}}% \addvspace{18pt plus 6pt minus 6pt}} % The following are document specific macros defined for ease of typing: \def\hhflxbox{\packagename{hhflxbox}\xspace} % If incorrect fl ligature shows, then replace following line by: % \def\hhfLxbox{\packagename{\hbox{hhf}\hbox{lxbox}}\xspace} \def\hhfLxbox{\packagename{hhf\hbox{}lxbox}\xspace} \def\={\verb=} \def\<#1>{\macroname{#1}} \def\:{\linebreak[1]} % The following input definitions used for examples: \newcommand\sillyshape{% \begin{picture}(2000,2000) \thicklines \put(1000,1000){\arc(0,1000){360}} \put(1000,-498){\arc(662,749){83}} \put(1000,2498){\arc(-662,-749){83}} \end{picture}} \newcommand\jarshape{% \begin{picture}(1800,1500) \thicklines \put(360,0){\line(-1,3){360}} \put(0,1080){\line(3,1){1260}} \put(540,1500){\line(1,0){720}} \put(1440,0){\line(1,3){360}} \put(1800,1080){\line(-3,1){1260}} \put(360,0){\line(1,0){1080}} \end{picture}} \newcommand\jarframe[1]{% \iframe\jarshape(300,180){1200}{10pt}% \ifrch\ifrb:{\separbox{1pt}{#1}}} \newcommand\templebox[1]{\sframe [1]\fancycolumn [2]\fancytympan [1]\fancycolumn [-]\-% {\separbox{3pt}{#1}}} \def\dashbox(#1,#2)(#3,#4){ \dashline{40}(#1,#2)(#1,#4)\dashline{40}(#1,#4)(#3,#4) \dashline{40}(#1,#2)(#3,#2)\dashline{40}(#3,#2)(#3,#4)} \def\hmeasure(#1,#2)(#3,#4){ \put(#1,#2){\makebox(0,0)[l]{$\blacktriangleleft$}} \put(#3,#4){\makebox(0,0)[r]{$\blacktriangleright$}} \drawline(#1,#2)(#3,#4)} \def\vmeasure(#1,#2)(#3,#4){ \put(#1,#2){\makebox(0,0)[b]{$\blacktriangledown$}} \put(#3,#4){\makebox(0,0)[t]{$\blacktriangle$}} \drawline(#1,#2)(#3,#4)} \def\fancycolumn#1#2#3#4#5#6#7#8{% \sbox#1{% \sfrcalclength{#2}{#3}{#4}% \def\\##1;##2;{\vrule height\@tempdimq width ##1pt\kern ##2pt}% \\0.05;0.15;\\0.60;0.44;\\1.11;0.65;\\1.45;0.77;\\1.57;0.77;% \\1.45;0.65;\\1.11;0.44;\\0.60;0.15;\\0.05;0;}% \sfrsetoffsets{15pt}{#3}{#4}#5#6#7#8}% \def\fancytympan#1#2#3#4#5#6#7#8{% \sbox#1{% \sfrcalclength{#2}{#3}{#4}% \unitlength\@tempdimq \vbox{\hsize\@tempdimq\offinterlineskip \hbox{\begin{picture}(1,0.1) \thicklines \put(0,0){\line(1,0){1}} \put(0,0){\line(5,1){0.5}} \put(0.5,0.1){\line(5,-1){0.5}} \thinlines \put(0.5,0.05){\circle*{0.072}} \end{picture}} \hbox{\vrule width\@tempdimq height 2pt}}}% \sfrsetoffsets{\ht#1}{#3}{#4}#5#6#7#8}% % THE FOLLOWING DEFINITION IS ALSO INCLUDED VERBATIM AS AN EXAMPLE! \newenvironment{templeboxed}{% \begin{sframed}% [1]\fancycolumn[2]\fancytympan[1]\fancycolumn[-]\- \begin{separboxed}{3pt} \begin{broadboxed}{30pt} }{% \end{broadboxed}% \end{separboxed}% \end{sframed}% } \makeatother \title{\hhflxbox\ --- Manual} \author{Herman Haverkort\\\normalsize\normalfont\texttt{herman@fgbbs.iaf.nl}} \date{May 1995} \begin{document} \maketitle \section{Introduction} \hhflxbox contains a number of boxing macros. The kernel consists of \