Guillaume Yziquel a écrit:

> Well, it is a quite nice solution. However, inserting medskips and
> protected linebreaks works, up to the point where you have to put
> another environment (such as Theorem). Then, you can't allow a protected
>    linebreak... and "Theorem" gets once more indented.

What a nasty problem: One needs an empty line in the LaTeX-file after the command "\end{proof}". As LyX don't insert this by default (this is not a LyX-bug!), I coerced the line by creating an empty paragraph by using "{}" in ERT.

I attached the example file.

> I tried using the wrapfig package. This package works EXCEPT when you
> try to put it inside a "Proof" environment.

Yes this is a restriction of wrapfig.

> I tried using picinpar, but it messes up lines. Maybe I do not use it
> correctly. However two more problems : the box around the figure, and
> the fact that it throws back the "Proof" title...

I didn't test this package.

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass amsbook
\language frenchb
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 5
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
        0
        8
        -1
\end_bullet
\bullet 2
        0
        8
        -1
\end_bullet
\bullet 3
        0
        8
        -1
\end_bullet

\layout Title

Little problem...
\layout Theorem

This is how to construct solutions of a quadratic polynomial with a ruler
 and a compass...
 I'll let you figure out which polynomial, if you care...
\layout Proof

Here I'll try to reproduce the problem.
 
\begin_inset Wrap figure
width "40col%"
collapsed true

\layout Standard


\begin_inset Graphics
        filename img.png
        width 30col%
        keepAspectRatio

\end_inset 


\end_inset 

 This is how you do it : draw the 
\begin_inset Quotes sld
\end_inset 

bissectrice
\begin_inset Quotes srd
\end_inset 

 (in french, I do not know the english word) of APB, then perpendicular
 of this bissectrice.
 It intersects the 
\begin_inset Quotes sld
\end_inset 

médiatrice
\begin_inset Quotes srd
\end_inset 

 in K.
 Then you draw the circle of center K passing through A (and B).
 The intersection of the bissectrice and the circle are the roots of the
 quadratic polynomial.
 Blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah,
 blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah,
 blah, blah, blah, blah, blah, blah...o
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
medskip 
\end_inset 


\newline 
Hope this is clear.
 If it is not, maybe I'll tell you more...
 If you're interested.
 However, notice the blank in the second paragraph.
 Thank you, Uwe.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard
{}
\end_inset 


\begin_inset Note
collapsed true

\layout Standard

This creates an empty (pseudo,dummy) paragraph.
\end_inset 


\layout Lemma

This lema isn't indented.
\the_end

Attachment: fig2.pdf
Description: Adobe PDF document

Reply via email to