On this page:
current-font-size
current-main-font
current-tt-font
current-tt-font-size
current-line-sep
current-para-width
get-current-para-width
current-title-color
current-slide-assembler
current-titlet
set-margin!
set-title-h!
make-slide-inset
slide-inset?
commentary-on-slide-font-size

2.5 Configuration🔗ℹ

Parameter that determines the font size used by t, para, etc. The default size is 32.

parameter

(current-main-font)  text-style/c

(current-main-font style)  void?
  style : text-style/c
Parameter that determines the font used by t, para, etc. The default is platform-specific; possible initial values include 'swiss, "Verdana", and "Gill Sans".

parameter

(current-tt-font)  text-style/c

(current-tt-font style)  void?
  style : text-style/c
Parameter that determines the font used by tt. The default is '(bold . modern).

Added in version 1.9 of package slideshow-lib.

Parameter that determines the font size used by tt. The default is #f, which causes tt to use current-font-size.

Added in version 1.9 of package slideshow-lib.

Parameter that controls the amount of space used between lines by para, item, and subitem.

Parameter that controls the width of a pict created by para, item, and subitem. The value of current-para-width is the same as (get-current-para-width).

Changed in version 1.5 of package slideshow-lib: Added get-current-para-width.

parameter

(current-title-color)  (or/c string? (is-a?/c color%))

(current-title-color color)  void?
  color : (or/c string? (is-a?/c color%))
Parameter used by the default current-titlet to colorize the title. The default is "black".

Parameter whose value is a function for assembling slide content into a single pict. An assembling function takes: a title, a vertical space amount, and a pict for the slide content (not counting the title).

The default assembler uses titlet to turn a title string (if any) to a pict and uses the vertical space to put the title pict above the slide content. See also current-titlet and set-title-h!.

The result of the assembler is ct-superimposed with the client area, but the resulting pict might draw outside the client region to paint the screen margins, too.

The slide assembler is not responsible for adding page numbers to the slide; that job belongs to the viewer. See also current-page-number-font, current-page-number-color, and set-page-numbers-visible!.

parameter

(current-titlet)  (string? . -> . pict?)

(current-titlet proc)  void?
  proc : (string? . -> . pict?)
Parameter to configure titlet. The default is

(lambda (s)
  (colorize (text s (current-main-font) 40)
            (current-title-color)))

If this parameter is changed such that the result is a different height, then set-title-h! should be called to update the value produced by title-h, titleless-page, etc.

procedure

(set-margin! amt)  void?

  amt : real?
Changes the margin that surrounds the client area. See also margin.

procedure

(set-title-h! amt)  void?

  amt : real?
Changes the expected height of a title, which adjusts title-h, client-h, full-page, and titleless-page.

procedure

(make-slide-inset left-inset    
  top-inset    
  right-inset    
  bottom-inset)  slide-inset?
  left-inset : exact-nonnegative-integer?
  top-inset : exact-nonnegative-integer?
  right-inset : exact-nonnegative-integer?
  bottom-inset : exact-nonnegative-integer?
Creates a slide inset, which describes a number of pixels to inset the viewer for a slide on each side.

procedure

(slide-inset? v)  boolean?

  v : any/c
Returns #t if v is a slide inset created by make-slide-inset, #f otherwise.

The font size used for commentary when passing

--commentary-on-slide

on the command-line.