LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Frank Mittelbach <[log in to unmask]>
Mon, 26 Nov 2007 22:47:50 +0100
text/plain (135 lines)
Hi Ulrich,

 > o.k., just some book designer's thoughts
 >  
 > > I was/am after a design that supports one or more float area that is
 > not on
 > > the top/bottom of the page but somewhere within the page, i.e., a
 > place or
 > > more where floats float into, for example in a design where part of
 > the margin
 > > is being used for floats
 > > 
 > >   ttt  ttt
 > >   ttt  ttt
 > >        ttt
 > > AAAAA  ttt
 > > AAAAA  ttt
 > > AAAAA  ttt
 > >        ttt
 > >   ttt  ttt
 > >   ttt  ttt
 > >   ttt  ttt
 > 
 > but this is already a very special case! Here I would propose to put the
 > vertical float area in a visual pleasing place, like the golden ratio.

true, a special case but only meant as an example.

but sticking with it for a moment: golden ratio between what? (i know it is
also only meant as an example, but what are the ingredients?)


 > No, not on a per page basis. More a spec for defining float areas, top
 > and bottom are self-explaining but some absolute measure allows for
 > visually pleasing placement of 'middle' areas (and combined with a
 > 'vsize' option you can get a consistent layout), e.g.,

ok, but can you be a bit more specific as to what the pictures are supposed to
tell? I'm not at all sure why there is sometimes empty space after or before the float
rule (which perhaps is just meant to indicate the area for placing floats (?)=
and sometimes not) 

so can you perhaps give some explicit pseudo specification?

\DeclareFloatArea 
  {  position = m  % (or t or b)
    ,column   = 1  % 2 3 4 ...
    ,span     = 1  % 2 3 ...
   ...             % your spec
  }


precise enough to make your picture example page come to life :-)


=========================================

 > > But what I'm after is this:
 > > 
 > >  - assuming you have the possibility of specifying one (or more?) middle
 > >  areas for floats by which I mean an area to receieve float(s) where
 > >  above and below there is still text
 > > 
 > >  - when what kind of algorithmic specifications and rules should govern
 > >  this area and how it is filled?

 > float area, position, size, 

those are clear (and i think covered)

 > <ordering>, 

i think ordering is covered too (current algorithm tries areas in order
specified which allos arbitrary starting order and adding a float to a certain
area can close up others for further floats, ie right now each area has the
additional keys

    class-close-list: areas that are closed if current area receives float of a certain type

    all-close-list:  areas that are closed for all floats when current area receives a float

    max-float-num:  maximum number of floats allowed in current area

 > <rulers>, <colour specs, including transparency>, 

aren't those more kind of decorations on the area? so in other words
irrelevant for placement (other than the decorative elements might need space)
or do i miss something.

can you explain what you mean by "including transparency"?


 > spans, 

covered

 > spreads (two page spans),

one day :-)

 > 'margin offset' (ill. goes inside margin)

yes, not covered but will


however, none of the above would be enough to produce a layout through an
algorithm as the most important part is still missing: how (ie by what rules)
is the position of the area (or some corner of it if its size is allowed to be
flexible) specified?

anything other than my first four options (from the original mail) or only some of them ?

    * The ratio of t1 to t2 is fixed by the design and a float AAA can be
      placed into the middle position if neither t1 nor t2 become too
      small. (Downside of this kind of layout might be that the positioning of
      the floats drastically varies from page to page.)

    * The end position of t1 is fixed (vertically) so that a middle float
      always starts on the same point on a page. Further restriction then that
      t2 is not getting smaller as a certain value.

    * The starting starting position of t2 is fixed so that the bottom of the
      middle floats always appear on the same vertical position on the page,
      again with some further restrictions to the size of t1 this time.

    * An obvious extension to the above could be that there are a list of
      vertical starting points to choose from and some mechanism/logic to
      select one of them

    * ...other ideas...


thanks
frank

ATOM RSS1 RSS2