10.07.2015 Views

LATEX for Word Processor Users version 1.0.6

LATEX for Word Processor Users version 1.0.6

LATEX for Word Processor Users version 1.0.6

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4 THE INSERT MENU 4.13 Insert/ShapesThe parameters are the number of lines to be narrowed, the figure placement, the overhang, andthe figure width.Another package to per<strong>for</strong>m the same action is floatflt:Sator arepo tenet opera rotas.Sator arepo tenet opera rotas.\begin{floatingtable}{\small\begin{tabular}{l}\hline\textbf{Floating table}\\Text flows around.\\\hline\end{tabular}}\end{floatingtable}Sator arepo tenet opera rotas.Sator arepo tenet opera rotas.Sator arepo tenet opera rotas.Sator arepo tenet opera rotas.4.13 Insert/ShapesSator arepo tenet opera rotas. Sator arepotenet opera rotas.Floating table Sator arepo tenetText flows around. opera rotas. Satorarepo tenet operarotas. Sator arepo tenet opera rotas. Satorarepo tenet opera rotas.L A TEX provides a picture environment whithin which you use commands like \circle, \ovaland so on. In my opinion, drawing pictures without a graphical environment is just too hard,and picture has several limitations too. It’s much better to use the epic and eepic packages(include them in that order), together with the drawing program Xfig (http://www.xfig.org).It’s only available <strong>for</strong> Unix.Xfig looks ugly, but is very powerful. One of its greatest advantages is that it exports drawingsin several <strong>for</strong>mats, among which is eepic macros. These, in turn, produce very compactPostScript files. Another bonus is that text objects will be rendered by L A TEX if their ‘specialflag’ field is set, letting you enter ordinary L A TEX <strong>for</strong>mulae and symbols in drawings.So, let’s suppose you made a drawing called small.fig. Select File/Export. . . and choose ‘LaTeXpicture + eepic macros’ from the Language menu. You’ll obtain another file, small.eepic. Toinclude the drawing in a document:This is a picture drawn with Xfig:This is a picturedrawn with Xfig:\\\input{small.eepic}¢¡¤£¦¥¨§Un<strong>for</strong>tunately, eepic doesn’t work with pdflatex. As an alternative, you should export the drawingas ‘Combined PS/LaTeX (both parts)’. You’ll get two files, small.pstex and small.pstex t.Rename the latter to small.tex and edit it to insert these lines at the top:©\documentclass{article}\usepackage{graphicx}19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!