Вы находитесь на странице: 1из 6

2 vote down check wrapfig is the best i've found, however, you need to put the wrapfig code

above the paragraph you want it to wrap into: \begin{wrapfigure} \includegraphics... \end{wrapfigure} This is the paragraph of text you want the figure to "wrap" into... etc etc. If you put the wrapfig code under the paragraph you want to wrap into, it will o bviously wrap into the next paragraph, producing an undesirable result. you also mention a 'column' which makes me think you are using a multi-column la yout, which probably isn't going to work that well with wrapfig. When asking a specific question about latex, you should include a minimal workin g example, that is, enough of your preamble and body code/text so that people ca n recreate your problem. EDIT: Ah. i see what you mean. wrapfig can take an optional line height argument : \begin{wrapfigure}[line-height]{r}{width} where line-height is a positive integer. your solution would probably look like this: \begin{wrapfigure}[10]{r}{2.5in} \centering \includegraphics[width=2in]{governator.jpg} \end{wrapfigure} EDIT #2: wrapfig/floatflt + enumerate, itemize = not working. the packages are i ncompatible with one another. For a "wrapfigure" effect with an environment, i.e ., enumerate, itemize, etc etc., You should put the environment in a minipage an d the graphic in in a minipage, then set the two minipages next to each other. s omething to the effect of (i put them in a tabular environment as well): \begin{tabular}{l l} \begin{minipage}[0.5\textwidth] \begin{enumerate} \item \end{enumerate} \end{minipage} & \begin{minipage}[0.5\textwidth] \includegraphics... \end{minipage} \end{tabular} link flag change your LaTeX document). wrapfig wrapfig has syntax: \begin{wrapfigure}[height of figure in lines]{l r}[overhang]{width} figure, caption, etc.

\end{wrapfigure} The syntax of the wraptable environment is similar. Height can be omitted, in which case it will be calculated by the package; the package will use the greater of the specified and the actual width. The {l,r,etc.} parameter can also be specified as i(nside) or o(utside) for two-sided documents, and uppercase can be used to indicate that the picture should float. The overhang allows the figure to be moved into the margin. The figure or table will entered into the list of figures or tables if you use the \caption command. \prodScriere pe 2 coloane \begin{multicols}{2}{ Department of English\\ P.O. Box 117310\\ University of Florida\\ Gainesville, FL, 32611-7310\\ (352) 392-6650 111 My Home address\\ Gainesville, FL 32611\\ (352) 555-1111 (H)\\ (352) 555-2222 (M) } \end{multicols} ******************************************************************** Archive for the LaTeX Category LaTeX Customize page numbering October 4, 2006 For changing the default, centered page numbering, use the fancyhdr package: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyfoot[R]{\footnotesize Page \thepage\ of 2} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} This will print the page number on the right side of the footer, smaller font an d in the format Page % of 2?. Posted in LaTeX Leave a Comment Emacs LaTeX smart .dvi view July 26, 2006 Add this line to .emacs: (setq TeX-source-specials-view-emacsclient-flags -c no-wait +%%l %%f )

Press C-c C-c view while editing a LaTeX file and it lunches the .dvi viewer. If

you click in the viewer the editor is positioned where the text you clicked is. Posted in Emacs, LaTeX Leave a Comment Double spacing in LaTeX July 26, 2006 Add at the beginning: \usepackage{setspace} Then switch between different spacing options with: \doublespacing \singlespacing \onehalfspacing For other sizes use the \setstretch command like this: \setstretch{1.8} Posted in LaTeX Leave a Comment LaTeX a nice remainder command July 25, 2006 Define this command: \newcommand{\reminder}[1] { [[[ {\bf\marginpar{\mbox{$<==$}} #1 } ]]] } Now use it like this: \reminder{Add a figure, blah, blah} The text Add a figure, blah, blah will appear in bold, between l have an arrow ( <== ) pointing to in on the border. Posted in LaTeX 1 Comment Emacs edit LaTeX July 20, 2006 C-c = C-c [ C-c ) view: (setq table of contents (F long version) insert a citation insert a reference TeX-source-specials-view-emacsclient-flags -c no-wait +%%l %%f ) [[[" and "]]] and wil

safe local variable warning: (put Tex-master safe-local-variable t) Posted in Emacs, LaTeX Font problems in pdfs July 20, 2006 Leave a Comment

for embedded font problems in pdf files (under Linux) see *Download* options /var/lib/texmf/web2c/updmap.cfg and /etc/texmf/updmap.d/00updmap.cfg or the -Pdownload35 option to dvips use dvipdfm instead of dvips Posted in LaTeX Leave a Comment

Paper size in xdvi, dvips July 20, 2006 xdvi and dvips use the European A4 size as default papersize. How do I change this to make letterpaper the default? Simple answer: use texconfig: texconfig dvips paper letter texconfig xdvi us Posted in LaTeX Leave a Comment Flowing Text Around Figures in LaTeX July 20, 2006 There are several LaTeX packages that purport to do this, but they all have their limitations because the TeX machine isn t really designed to solve this sort of problem. Piet van Oostrum has conducted a survey of the available packages; he recommends: floatflt floatflt is an improved version (for LaTeX2e) of floatfig.sty, and its syntax is: \begin{floatingfigure}[options]{width of figure} figure contents \end{floatingfigure} There is a (more or less similar) floatingtable environment. The tables or figures can be set left or right, or alternating on even/odd pages in a double-sided document. The package works with the multicol package, but doesn t work well in the neighbourhood of list environments (unless you change your LaTeX document). wrapfig wrapfig has syntax: \begin{wrapfigure}[height of figure in lines]{l r}[overhang]{width} figure, caption, etc. \end{wrapfigure} The syntax of the wraptable environment is similar. Height can be omitted, in which case it will be calculated by the package; the package will use the greater of the specified and the actual width. The {l,r,etc.} parameter can also be specified as i(nside) or o(utside) for two-sided documents, and uppercase can be used to indicate that the picture should float. The overhang allows the figure to be moved into the margin. The figure or table will entered into the list of figures or tables if you use the \caption command. The environments do not work within list environments that end before the figure or table has finished, but can be used in a parbox or minipage, and in twocolumn format.

From: http://www.it.ms.unimelb.edu.au/tex/help/faq/uktug-faq/texfaq_12.html Posted in LaTeX Leave a Comment pdf readable fonts July 20, 2006 To create fonts readable in pdf from Latex: dvips -Pcmz file.dvi -o file.ps distill file.ps Posted in LaTeX * * or Search with Google * Categories * Recent Posts o Emacs ispell No word lists (Ubuntu) o Emacs Using rectangles o C/C++ Insert sequential values into container o Python Convert string to HTML/XML entities o Unix/Linux Swap Ctrl and Caps Lock in X11 * Archives o November 2008 (3) o October 2008 (1) o April 2008 (2) o November 2007 (1) o September 2007 (1) o August 2007 (1) o July 2007 (1) o May 2007 (1) o March 2007 (1) o February 2007 (3) o November 2006 (1) o October 2006 (4) o September 2006 (5) o August 2006 (19) o July 2006 (68) * Blog Stats o 350,901 hits * Pages o About o googleedbf863d09a0212a * October 2009 S Nov 1 2 4 5 6 11 12 18 19 M 3 7 13 20 T 8 14 21 W 9 15 22 T 10 16 23 F S Leave a Comment

17 24

25 *

26

27

28

29

30

31

Blogroll o WordPress.com o WordPress.org Blog at WordPress.com. Entries (RSS) and Comments (RSS).

Вам также может понравиться