On Mon, Sep 24, 2001 at 04:56:58PM -0400, Steve Litt wrote:
> Allow me to answer my own question. You go into 
> Layout->Document->Extra_tab->Float_placement, and place the following four 
> characters:
> 
> !hbp
> 
> That means "try real hard to place the float here, where the author put it. 

You normally don't want to do this, especially using the "!". LaTeX is
usually very smart about placing floats.  Floats are good, floats are
your friend.

On Monday 24 September 2001 16:38, Steve Litt wrote:
> I just tried out a figure float. Works great, except it puts the figure at
> the top of the page, regardless of text flow. That means you can't use
> words like "following" or "preceding". Am I doing something wrong, or is
> this a feature. I've never encountered a situation where you couldn't
> position a figure relative to text, either in my self published work or my
> work for Sams (Samba Unleashed).

So you don't use hard coded words like that but use LaTeX's
cross referencing system instead.  Cross-referencing is good,
cross-referencing is your friend.

Using package{varioref} you can have it insert text like: "figure 3.2
on the next page", "figure 4.5 on page 42", "table 1 above", "table 1.1
on the facing page", etc as appropriate.  See the documentation for the
varioref package for details (look for varioref.* in your texmf tree).

As a simple example in one of my documents I have
    \newrefformat{tab}{Table~\vref{#1}}
in my preamble and then I use LyX's "Pretty Reference" with my tables
using reference names starting with "tab:".

-- 
Dave Chapeskie

Reply via email to