Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

PlacingPicturesBesideTheText

Categories: Tips, Figures
<< | Page list | >>

How to insert wrapped floats beside the text

Using picins for inserting pictures beside the text.

HEADER:

 \usepackage{picins}
 %Optional: Define style&font for piccaptions:
 \usepackage[font={small,sf}]{caption}
 \addto\captionsngerman{\renewcommand{\figurename}{Abb.}}
 \addto\captionsngerman{%
  \renewcommand{\figurename}{\sffamily\bfseries Abb.}  
 }

%--> important to have babel activated e.g.: \usepackage [ngerman] {babel}

TEXT:

 ERT: \piccaption{DESCRIPTION}\label{LABEL}\parpic[r]{
 <Insert picture with LyX>
 ERT: }

Using wrapfigure for inserting pictures beside the text (LyX 1.6+).

LyX 1.6 uses wrapfigure to produce circumfloated pictures (Insert / Float / Figure Wrap Float; German: Einfügen / Gleitobjekt / Umflossenes Bild-Gleitobjekt)

If you insert a picture at the beginning of a paragraph, wrapfigure places the picture below the first line of the paragraph. To avoid that, insert the following code into the Preamble (Document / Preferences)

 \setlength{\intextsep}{0cm plus1cm minus1cm}

Tips Figures

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2009-07-27 01:25 CEST