Ramin Yasdi wrote: > > Tukka: Yes, the problem is vertical alignment to center. > > Herbert: I have no floating figure, simple figure with no "Figure: " label. > The text is several paragraphs. here is a solution for the htree different modes realized with minipages (layout->paragraph->extra) Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language german \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 10 \spacing single \papersize a4paper \paperpackage a4 \use_geometry 0 \use_amsmath 1 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \latex latex \backslash newcommand \backslash figureheight{5cm}% only for demo, must be the value from the bounding box of the figure \layout Standard \pextra_type 2 \pextra_alignment 0 \pextra_widthp 50 This is some text near a figure. \layout Standard \pextra_type 2 \pextra_alignment 0 \pextra_widthp 50 This is some more text beside a figure. \layout Standard \pextra_type 2 \pextra_alignment 0 \pextra_widthp 50 And the same again. \layout Standard \pextra_type 2 \pextra_alignment 0 \pextra_widthp 50 This are three or four paragraphs, that's the important question \layout Standard \pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 40 \latex latex \backslash raisebox{- \backslash figureheight}{ \backslash framebox[ \backslash textwidth]{ \backslash rule{0pt}{ \backslash figureheight}}}%the figure \layout Standard standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode \layout Standard \pextra_type 2 \pextra_alignment 1 \pextra_widthp 50 This is some text near a figure. \layout Standard \pextra_type 2 \pextra_alignment 1 \pextra_widthp 50 This is some more text beside a figure. \layout Standard \pextra_type 2 \pextra_alignment 1 \pextra_widthp 50 And the same again. \layout Standard \pextra_type 2 \pextra_alignment 1 \pextra_widthp 50 This are three or four paragraphs, that's the important question \layout Standard \pextra_type 2 \pextra_alignment 1 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 40 \latex latex \backslash framebox[ \backslash textwidth]{ \backslash rule{0pt}{ \backslash figureheight}}%the figure \layout Standard standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode \layout Standard \pextra_type 2 \pextra_alignment 2 \pextra_widthp 50 This is some text near a figure. \layout Standard \pextra_type 2 \pextra_alignment 2 \pextra_widthp 50 This is some more text beside a figure. \layout Standard \pextra_type 2 \pextra_alignment 2 \pextra_widthp 50 And the same again. \layout Standard \pextra_type 2 \pextra_alignment 2 \pextra_widthp 50 This are three or four paragraphs, that's the important question \layout Standard \pextra_type 2 \pextra_alignment 2 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 40 \latex latex \backslash framebox[ \backslash textwidth]{ \backslash rule{0pt}{ \backslash figureheight}}%the figure \layout Standard standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode standard text not in minipage mode \the_end
