%2multibyte Version: 5.50.0.2960 CodePage: 65001 \documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{wrapfig} %TCIDATA{OutputFilter=LATEX.DLL} %TCIDATA{Version=5.50.0.2960} %TCIDATA{Codepage=65001} %TCIDATA{} %TCIDATA{BibliographyScheme=Manual} %TCIDATA{Created=Fri Apr 28 10:50:01 2000} %TCIDATA{LastRevised=Thursday, April 15, 2010 02:03:51} %TCIDATA{} %TCIDATA{} %TCIDATA{} %TCIDATA{Language=American English} %TCIDATA{CSTFile=LaTeX article (bright).cst} \newtheorem{theorem}{Theorem} \newtheorem{acknowledgement}[theorem]{Acknowledgement} \newtheorem{algorithm}[theorem]{Algorithm} \newtheorem{axiom}[theorem]{Axiom} \newtheorem{case}[theorem]{Case} \newtheorem{claim}[theorem]{Claim} \newtheorem{conclusion}[theorem]{Conclusion} \newtheorem{condition}[theorem]{Condition} \newtheorem{conjecture}[theorem]{Conjecture} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{criterion}[theorem]{Criterion} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \newtheorem{exercise}[theorem]{Exercise} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{notation}[theorem]{Notation} \newtheorem{problem}[theorem]{Problem} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{remark}[theorem]{Remark} \newtheorem{solution}[theorem]{Solution} \newtheorem{summary}[theorem]{Summary} \newenvironment{proof}[Proof]{\textbf{#1.} }{\ \rule{0.5em}{0.5em}} \input{tcilatex} \begin{document} \title{} \section{A small test of the \texttt{wrapfig} package} \LaTeX{} provides three models for the placement of graphics, in line, displayed, or floating. None of these models allows text to flow around a graphics. The wrapfig package adds functionality which allows text to flow around graphics. There is not an interface to the wrapfig package in SW, but encapsulated TeX fields around an in line graphics object can provide the necessary instructions to \LaTeX. See a sample below. The first TeX field contains \texttt{\TEXTsymbol{\backslash}begin\{wrapfigure\}\{i\}\{0in\}}\ which starts the area around which text will wrap, specifies that the graphics should be on the inside margin when a twoside typesetting style is used, and uses the actual width of the graphics as the width to wrap text around. You can change \texttt{\{0in\}} to a specific value to control the wrap width. The second TeX field contains a caption; it can be omitted if you do not want the graphics automatically numbered and labeled. The third TeX field contains \texttt{\TEXTsymbol{\backslash}end\{wrapfigure\}} which ends the area around which text will wrap. The documentation for the wrapfig package can be found at the\ end of\ the package file, wrapfig.sty, that you can find in the directory \texttt{TCITeX\TEXTsymbol{\backslash}TeX% \TEXTsymbol{\backslash}latex\TEXTsymbol{\backslash}contrib\TEXTsymbol{% \backslash}misc.} Here we cross refer to the graphic in Fig.\ref{3dplot}. The rest of this document contains some sample text taken from The Mythical Man-Month\emph{\ }by Frederick P. Brooks, Jr. Why is programming fun? What delights may its practitioner expect as his reward? First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. I think this delight must be an image of God's delight in making things, a delight shown in the distinctness and newness of each leaf and each snowflake. %TCIMACRO{\TeXButton{start wrapfigure}{\begin{wrapfigure}{i}[0.5in]{0in}}}% %BeginExpansion \begin{wrapfigure}{i}[0.5in]{0in}% %EndExpansion \FRAME{itbpFX}{2.0349in}{1.3664in}{0in}{}{\Qlb{3dplot}}{3dplot.wmf}{\special% {language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display "FULL";valid_file "F";width 2.0349in;height 1.3664in;depth 0in;original-width 3in;original-height 2.0003in;cropleft "0.0957861";croptop "0.9142096";cropright "0.8527685";cropbottom "0.1578716";filename '../Graphics/3dplot.wmf';file-properties "XNPEU";}}% \caption{A sample 3D plot.}% %TCIMACRO{\TeXButton{end wrapfigure}{\end{wrapfigure}}}% %BeginExpansion \end{wrapfigure}% %EndExpansion Second is the pleasure of making things that are useful to other people. Deep within, we want others to use our work and to find it helpful. In this respect the programming system is not essentially different from the child's first clay pencil holder \textquotedblleft for Daddy's office.\textquotedblright Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate. Fourth is the joy of always learning, which springs from the nonrepeating nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes practical, sometimes theoretical, and sometimes both. Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air from air, creating by exertion of the imagination. \end{document}