On this page:
slide.gap
blank_  client
current_  assembler
current_  title_  font
titlet
titlely
Slide  Layout
Slide  Layout.auto
Slide  Layout.center
Slide  Layout.top
Slide  Layout.tall
Aspect
Aspect.widescreen
Aspect.fullscreen
0.45+9.1.0.1

3 Slide Configuration🔗ℹ

value

def slide.gap = 24

The default separation used by slide and slide_pict.

function

fun blank_client(

  ~aspect: aspect :: Aspect = #'widescreen,

  ~title: title :: maybe(String || Pict) = #false,

  ~layout: layout :: SlideLayout = #'auto

) :: Pict

Creates a blank pict that corresponds to the “client” area of a slide, which is below the title (if any) and inset by a small margin.

If title is not #false, then title and layout determine a height for a client area that is consistent with the default value of current_assembler. The layout argument matters only in whether it is #'tall or not.

context parameter

Parameter.def current_assembler

  :: (title :: False || Pict,

      layout:: SlideLayout,

      aspect :: Aspect,

      p :: Pict) -> Pict

A context parameter for a function used to combine a slide title, layout mode, aspect, and content pict to produce an overall pict.

The default slide assembler vertically combines a title with the pict content using slide.gap space for the #'tall layout and 2*slide.gap space for the #'top layout. In #'center mode, the content pict is centered with respect to the full slide client area, and then the title is combined with overlay and #'top alignment. The #'auto mode is treated like #'tall or #'center, whichever would cause the pict to appear lower in the client area.

A context parameter for the font used by titlet.

function

fun titlet(content, ...) :: Pict

Like t from pict/text, but using current_title_font().

expression

titlely(content_expr, ...)

 

expression

titlely: body; ...

Like boldly, etc., but for the slide title font configured via current_title_font.

enumeration

enum SlideLayout

| auto

| center

| top

| tall

Slide layout options used with slide and current_assembler.

Slide aspect options used with slide and current_assembler. The #'widescreen apsect is 16:9 as 1360 by 766 in drawing units. The #'fullscreen aspect if 4:3 as 1024 by 768 in drawing units.