1 Creating Slide Presentations
2 Making Pictures
3 Making Slides
4 Typesetting Scheme Code
Bibliography
Index
On this page:
gap-size
bullet
o-bullet
client-w
client-h
full-page
titleless-page
margin
title-h
printing?
condense?
Version: 4.0.2

 

3.4 Constants and Layout Variables

gap-size : (one-of/c 24)

A width commonly used for layout.

bullet : pict?

A filled bullet used by default by item.

o-bullet : pict?

A hollow bullet used by default by subitem.

client-w

Produces the width of the display area, minus margins. The result of the form changes if the margin is adjusted via set-margin!.

client-h

Produces the height of the display area, minus margins, but including the title area). The result of the form changes if the margin is adjusted via set-margin!.

full-page

Produces an empty pict that is the same size as the client area, which is like (blank client-w client-h).

titleless-page

Produces an empty pict that is the same size as the client area minus the title area in 'top layout mode, which is like (blank client-w (- client-h title-h (* 2 gap-size))).

margin

Produces a number that corresponds to the current margin, which surrounds every side of the slide. The client area for a slide corresponds to the display area (which is always 1024 by 768) minus this margin on each side. The default margin is 20.

The margin can be adjusted via set-margin!.

title-h

Produces a number that corresponds to the height of a title created by titlet.

If titlet is changed via the current-titlet parameter, the title height should be updated via set-title-h!.

printing? : boolean?

The value is #t if slides are being generated for printed output, #f for normal on-screen display. Printing mode is normally triggered via the --print or --ps command-line flag.

condense? : boolean?

The value is #t if slides are being generated in condensed mode, #f for normal mode. Condensed mode is normally triggered via the --condense command-line flag.