Changes

Jump to navigation Jump to search
24 bytes removed ,  22:15, 6 June 2020
m
minor adjustments, nothing new
There’s still no manual about them.
==My first Layer==
Define a layer that takes the whole page
==Placement==
There are several possibilities for defining the placement of layer content:
Similarly you can define your own presets.
===Understanding "location" and "corner"===
The layer is divided into a 2x2 matrix of squares, where 'x' is the center.
Again you have nine different corners to choose from.
==== Example: An example to make this clear ====
Specifications <code>corner={top,right},location={bottom,right}</code> will place content in the area L (outside the original layer).
---------
==== An Example: placing a logo to the top right corner of the page ====
<context source=yes text="gives:">
Often it makes sense to use a preset (e.g. "lefttop") and move the contents with "hoffset" and "voffset" (positive values move into the page, negative values move into the outer borders).
==State==
The available options for the "state" of a layer are:
* continue: layer appears on all pages except the first
==Layers on top==
Usually, layers are in the background of your page (or text area). But sometimes you need your layer content on top of the regular content. Then you must set the foreground as one of the backgrounds like this:
The order of backgrounds from left to right is from bottom to top.
==Line breaking and fixed size==
You may experience cases where the defined size of your layer is ignored and you can’t get linebreaking or multiple lines at all.
==Place labels on pictures==
Layers can be used to put labels on pictures, alternative ways can be found in the [[manual:details.pdf| Details]] manual
</context>
==Use dynamic content==
The content of layer is fixed after your set it and will appear in the same way on each page.
</texcode>
== Layers and the delayed font mechanism ==
'''TL;DR: Setup your fonts before your layers.'''
a font needs to be set up beforehand.
== See Also ==
* Some applications in the [[manual:details.pdf|Details]] manual
{{todo|We need a lot of documentation and samples for this complicated subject.}}
 
[[Category:Graphics]] [[Category:Layers]]

Navigation menu