hcat
(hcat xs) concatenates all documents
xs
horizontally with
<> (i.e. without any spacing).
It is provided only for consistency, since it is identical to
mconcat.
>>> let docs = Util.words "lorem ipsum dolor"
>>> hcat docs
loremipsumdolor
Concatenate docs horizontally without gaps.
Lay out a list of juxtaposable objects in a row from left to right, so
that their local origins lie along a single horizontal line, with
successive envelopes tangent to one another.
- For more control over the spacing, see hcat'.
- To align the diagrams vertically (or otherwise), use alignment
combinators (such as alignT or alignB) from
Diagrams.TwoD.Align before applying hcat.
- For non-axis-aligned layout, see cat.
The document (hcat xs) concatenates all documents xs
horizontally with (<>).
The document (hcat xs) concatenates all documents xs
horizontally with (<>).
Glue a list of boxes together horizontally, with the given alignment.
Concatenate documents horizontally.
Lay out a list of
Diagrams horizontally from left to right,
aligned along their top edges.
The document (hcat xs) concatenates all documents xs
horizontally with (<>).
The document (hcat xs) concatenates all documents xs
horizontally with (<>).
The document (hcat xs) concatenates all documents xs
horizontally with (<>).
Place a list of
Planes side-by-side, horizontally. Returns a
1×1 transparent plane on empty list.
A variant of
hcat taking an extra
CatOpts record to
control the spacing. See the
cat' documentation for a
description of the possibilities. For the common case of setting just
a separation amount, see
hsep.
Lens for attribute splices :: Simple Lens (HeistConfig m) (Splices
(AttrSplice m))
Lay out a list of
Diagrams horizontally from left to right,
with the given vertical alignment (
top,
vcenter, or
bottom).
Catch an exception in the base monad
Since 1.1.0
Warning was enabled with a custom category.