Re: Inserting half-column figure in text

2018-09-01 Thread Rich Shepard

On Sat, 1 Sep 2018, Ricardo Berlasso wrote:


Just a general warning: the wrapfig package used by this option is a bit
"unpredictable" with its default options: if the wrapfig figure ends up
near the lower edge of the page, it could disappear from the output
without warning, leaving a "??" for each cross-reference to it and a gap
on the following page. Consider a right click on the inset → Settings →
Allow floating to solve that problem... causing, perhaps, others when
there is not enough text to wrap the wrapfig figure...

Just double check the output each time you use a wrapfig float ;)


Ricardo,

  Excellent advice with solid justification. Thank you.

Best regards,

Rich


Re: Inserting half-column figure in text

2018-09-01 Thread Ricardo Berlasso
El sáb., 1 sept. 2018 a las 0:43, Rich Shepard ()
escribió:

> On Sat, 1 Sep 2018, Kornel Benko wrote:
>
> > What you seem to be after is maybe a wrapped figure, like the attached.
> > (Insert->Float->Figure Wrap Float)
>

Just a general warning: the wrapfig package used by this option is a bit
"unpredictable" with its default options: if the wrapfig figure ends up
near the lower edge of the page, it could disappear from the output without
warning, leaving a "??" for each cross-reference to it and a gap on the
following page. Consider a right click on the inset → Settings → Allow
floating to solve that problem... causing, perhaps, others when there is
not enough text to wrap the wrapfig figure...

Just double check the output each time you use a wrapfig float ;)

Regards,
Ricardo



>
> Kornel,
>
>Well! Shame on me! In the many years I've used LyX I've not noticed that
> menu choice. Mea culpa!
>
> Thanks for pointing out the obvious,
>
> Rich
>


Re: Inserting half-column figure in text

2018-08-31 Thread Rich Shepard

On Sat, 1 Sep 2018, Kornel Benko wrote:


What you seem to be after is maybe a wrapped figure, like the attached.
(Insert->Float->Figure Wrap Float)


Kornel,

  Well! Shame on me! In the many years I've used LyX I've not noticed that
menu choice. Mea culpa!

Thanks for pointing out the obvious,

Rich


Re: Inserting half-column figure in text

2018-08-31 Thread Kornel Benko
Am Freitag, 31. August 2018 14:53:55 CEST schrieb Rich Shepard 
:
> On Fri, 31 Aug 2018, Paul A. Rubin wrote:
> 
> > I usually start by putting two frameless mini-pages side by side, scaling
> > each to strictly less than 50% of column width.
> 
> Paul,
> 
>I thought of this and was unsure how to fill the one minipage with
> existing text.
> 
>Is there a way to cut-and-paste a bunch of text and have it automagically
> flow out of the mini page when it reaches the end? To insert a half-page
> figure in the midst of existing text would need to have the minipage do the
> flowing around it.
> 
>Glad you got both aligned the same way! I've futzed with this type of
> alignment issue, too.
> 
> Carpe weekend,
> 
> Rich
> 

What you seem to be after is maybe a wrapped figure, like the attached.
(Insert->Float->Figure Wrap Float)

Kornel



wrapped.lyx
Description: application/lyx


signature.asc
Description: This is a digitally signed message part.


Re: Inserting half-column figure in text

2018-08-31 Thread Rich Shepard

On Fri, 31 Aug 2018, Paul A. Rubin wrote:


I usually start by putting two frameless mini-pages side by side, scaling
each to strictly less than 50% of column width.


Paul,

  I thought of this and was unsure how to fill the one minipage with
existing text.

  Is there a way to cut-and-paste a bunch of text and have it automagically
flow out of the mini page when it reaches the end? To insert a half-page
figure in the midst of existing text would need to have the minipage do the
flowing around it.

  Glad you got both aligned the same way! I've futzed with this type of
alignment issue, too.

Carpe weekend,

Rich



Re: Inserting half-column figure in text

2018-08-31 Thread Paul A. Rubin

On 08/30/2018 12:44 PM, Rich Shepard wrote:

When I want to insert a small figure (half-column width) with text on the
other half column, my first thought would be to usepackage{\multicols} 
and

shift into 2-column mode for the figure, then back to 1-column mode.

  There should be a better way (perhaps with a frameless box?) yet I 
don't

see anything like that in the wiki's graphics section.

  I need a pointer to a manual or wiki page that teaches me the better 
way.


Regards,

Rich
I usually start by putting two frameless mini-pages side by side, 
scaling each to strictly less than 50% of column width. Next, I park the 
figure in one and text in the other, and if necessary scale the width of 
the figure to something less than 100% of column width ("column width" 
here being the width of the box, not the width of the text column on the 
page). If the figure is small to start with, that might be unnecessary. 
Finally, since I've never figured out a way to approach this 
systematically, I randomly fiddle with the box and content alignment 
settings for each box until things line up the way I want them. For 
instance, I just did a little test, and would up with both boxes having 
content alignment "top" and box alignment "middle". This might be the 
first time I ever got both boxes to use the same alignment values. :-)


Paul



Inserting half-column figure in text

2018-08-30 Thread Rich Shepard

  When I want to insert a small figure (half-column width) with text on the
other half column, my first thought would be to usepackage{\multicols} and
shift into 2-column mode for the figure, then back to 1-column mode.

  There should be a better way (perhaps with a frameless box?) yet I don't
see anything like that in the wiki's graphics section.

  I need a pointer to a manual or wiki page that teaches me the better way.

Regards,

Rich