• No results found

Index of /CTAN/macros/latex/contrib/layouts

N/A
N/A
Protected

Academic year: 2023

Share "Index of /CTAN/macros/latex/contrib/layouts"

Copied!
55
0
0

Loading.... (view fulltext now)

Full text

It also provides options for experimenting with different values ​​of betting parameters, displaying the results graphically.

Command types

General facilities

Scaling

Layout types

Some parts of the layouts are marked, for example the footer area in the page layout is marked as 'footer'. The macro \setlabelfont{hfonti} can be used to control the font used to set these labels. The default is \setlabelfont{\normalsize}, but can for example be \setlabelfont{\large\itshape} to use a large italic font instead.

The following checks only apply to actual layouts (ie when using \Ldesign or the previous \drawparametersfalse \drawL pairing is in effect). In the generic layouts, the lengths are controlled by the various parameters indicated by dimension lines; these usually do not appear in actual layouts. Warning: If you draw actual layouts with\drawdimensiontrue, the drawings may become overloaded and if the layout deviates too much from a 'normal'.

When \printparametertrue is in effect, a table of the parameter values ​​will be printed below the layout.

Length units

Usage

The size of the illustration is controlled by the value given for the width of the page. Using \twocolumnlayouttrue will result in an image of a double column page layout and using \twocolumnlayoutfalse will result in an image of a single column page layout. By default, LATEX makes all page layout measurements from a point located one inch in from the left side of the printed sheet and one inch down from the top of the.

The following code provides an example of using some of these commands when attempting a test page layout. The \pagevalues ​​command can be used to produce a table like the one shown here of the current document's page layout parameter values. Memoirclass [Wil02] provides a different set of page layout parameters than standard LaTeX classes.

In general, the commands for displaying and experimenting with the layout of a memoir class page are the same as, or analogous to, those for a standard page layout. For information on how to design a page layout, the class documentation provides all the details [Wil02] (and uses the layout package to illustrate it). The following code provides an example of using some of these commands when trying an experimental page layout.

Two sets of commands are provided for displaying the layouts of LATEX floats (eg the figure and table environments).

Table 1: Page spread symbols Symbol Meaning
Table 1: Page spread symbols Symbol Meaning

Float and text page layout

One set is for a macro view of grades and the other is for a more detailed view.

Figure 10: Float and text page parameters
Figure 10: Float and text page parameters

Detailed float layout

\topfigrule and \botfigrule are little-known LATEX commands; they are not discussed by Lamport [Lam94] but described by Goossenset al [GMS94]. They are similar to the \footnoterule command in that they draw a rule or other decoration below top-of-page floating elements (\topfigrule) and above page-bottom floating elements (\botfigrule). A typical thickness for a rule is 0.4 pt; the thickness of these rules has been exaggerated to make them more noticeable.

Anything drawn as a ..figure must not take up vertical space, hence the use of negative vertical space in their definitions above. Note that positive or negative vertical offsets have been assigned to the rules to provide some space between the hover and the rule.

Figure 13: Float parameters
Figure 13: Float parameters

Changing the float layout in your document

The \floatvalues ​​command can be used to produce a table, as shown here, of the values ​​of the current document's float layout parameters (as set at the time the command is used). An example of the list as it will appear in a document is shown by the list that follows this section. No claim is made that there is anything aesthetic about the design of the list.

The \listvalues ​​command can be used to produce a table, as shown here, of the values ​​of the current document's list layout parameters (as set at the time the command is used). The commands \headingdiagram{hfont stylei}and \headingdesign{hfont stylei}(or . \drawheading{hfont stylei}) draw an image of the layout of section headings based on the command \@startsection. Note that the \makeatletter and \makeatother commands are required due to the use of the @ character in the command name\@startsection.

Some of the current settings for footnote parameters are set by the \currentfootnote command. Assumptions are given about the possible value of \baselineskip used within a footnote, as well as the dimension of the footnote rule. The length of the footnote rule proof is set to this portion of the text block's width.

The space between the bottom of the text area and the first footnote is usually a length of rubber. The \footnotevalues ​​command can be used to produce a table, as shown here, of the values ​​of the current document's footnote display parameters (as set at the time the command is used). 3 Dotted leader drawing is not completely accurate due to scaling and rounding within the drawing algorithm.

The methods of specifying the type statement of the various entries in a table of contents or list of figures (or tables) vary from one kind of entry to another. The \tocvalues ​​command can be used to produce a table, as shown here, of the values ​​of the current document's table of contents layout parameters (as set at the time the command is used). A sphere is placed at the position of the reference point and a horizontal dashed line is drawn along the baseline.

The \drawfontframelabel{htexti} is similar, except that it labels the reference point and the width, height, and depth of the box. If \printparameterstrue is set before the command is issued, the actual values ​​for the width, height, and depth of the box are printed in a center environment following the drawing.

Figure 15: List parameters
Figure 15: List parameters

Figure

Figure 1: (Left) The L A TEX book spread; (Right) Spread for many of Gutenberg’s books
Table 1: Page spread symbols Symbol Meaning
Figure 2: Left-hand two-column page layout parameters
Figure 3: Page layout for this document
+7

References

Related documents