On this page:
Style.Numberer
Style.Document  Version
Style.Document  Date
Style.Document  Source
Style.Color
Style.Color
Style.Background  Color
Style.Background  Color
Style.Target  URL
Style.Target  URL
Style.Box  Mode
Style.Link  Render  Style
Style.Render  Convertible  As
Style.HTML.Body  Id
Style.HTML.Body  Id
Style.HTML.Alt  Tag
Style.HTML.Alt  Tag
Style.HTML.Attributes
Style.HTML.Attributes
Style.HTML.Head  Extra
Style.HTML.Head  Addition
Style.HTML.Hover
Style.HTML.URLAnchor
Style.HTML.URLAnchor
Style.HTML.Part  Title  And  Content  Wrapper
Style.HTML.Part  Link  Redirect
Style.HTML.Script
Style.HTML.Script
Style.HTML.Xexpr
Style.Latex.Command  Extras
Style.Latex
9.0.0.6

5.8 Style Property Datatypes🔗ℹ

Used as a part_style to implement a section number that increment separately from the default numbering style and that can be rendered differently than as Arabic numerals.

The Style.Numberer veneer recognizes the same values as the Racket Scribble library’s numberer?.

Used as a style property for a part to indicate a version number.

The Style.DocumentVersion veneer recognizes the same values as the Racket Scribble library’s document-version?.

Latex/PDF: Used as a style property for a part to indicate a date.

The Style.DocumentDate veneer recognizes the same values as the Racket Scribble library’s document-date?.

Used as a style property to associate a module path with a part.

The Style.DocumentSource veneer recognizes the same values as the Racket Scribble library’s document-source?.

veneer

veneer Style.Color

 

function

fun Style.Color(color :: String) :: Style.Color

 

function

fun Style.Color(red :: Byte, green :: Byte, blue :: Byte)

  :: Style.Color

Used as a style property in an element_style to set the content’s color. Recognized string names for color depend on the renderer, but at the recognized set includes at least "white", "black", "red", "green", "blue", "cyan", "magenta", and "yellow".

HTML: A Style.Color is also recognized for a flow block, part (and used for the title in the latter case) or cell in a table

The Style.Color veneer recognizes the same values as the Racket Scribble library’s color-property?.

Like Style.Color, but for a background color.

The Style.BackgroundColor veneer recognizes the same values as the Racket Scribble library’s background-color-property?.

veneer

veneer Style.TargetURL

 

function

fun Style.TargetURL(~path: path :: PathString) :: Style.TargetURL

 

function

fun Style.TargetURL(~url: url :: String)  :: Style.TargetURL

Used as a element_style to link content to a specific URL.

The Style.TargetURL veneer recognizes the same values as the Racket Scribble library’s target-url?.

Latex/PDF: Used as a paragraph_style, nested_flow_style, table_style, itemization_style, compound_paragraph_style.

The Style.BoxMode veneer recognizes the same values as the Racket Scribble library’s box-mode?.

Used as a style property in a part_style.

The Style.LinkRenderStyle veneer recognizes the same values as the Racket Scribble library’s link-render-style?.

HTML: Used as a style property in a part_style.

The Style.RenderConvertibleAs veneer recognizes the same values as the Racket Scribble library’s render-convertible-as?.

HTML: Used as a style property in a part_style.

The Style.HTML.BodyId veneer recognizes the same values as the Racket Scribble library’s body-id?.

veneer

veneer Style.HTML.AltTag

 

function

fun Style.HTML.AltTag(

  str :: String && matching(rx'[alpha digit]+')

):: Style.HTML.AltTag

The Style.HTML.AltTag veneer recognizes the same values as the Racket Scribble library’s alt-tag?.

HTML: Used as a style property in a style to add attibutes to an HTML tag.

The Style.HTML.Attributes veneer recognizes the same values as the Racket Scribble library’s attributes?.

HTML: Used as a style property in a part_style.

The Style.HTML.HeadExtra veneer recognizes the same values as the Racket Scribble library’s head-extra?.

HTML: Used as a style property in a part_style.

The Style.HTML.HeadAddition veneer recognizes the same values as the Racket Scribble library’s head-addition?.

veneer

veneer Style.HTML.Hover

HTML: Used as a style property in a part_style or element_style.

The Style.HTML.Hover veneer recognizes the same values as the Racket Scribble library’s hover-property?.

HTML: Used as a style property in an element_style.

The Style.HTML.URLAnchor veneer recognizes the same values as the Racket Scribble library’s url-anchor?.

HTML: Used as a style property in a part_style.

The Style.HTML.PartTitleAndContentWrapper veneer recognizes the same values as the Racket Scribble library’s part-title-and-content-wrapper.

HTML: Used as a style property in a part_style.

The Style.HTML.PartLinkRedirect veneer recognizes the same values as the Racket Scribble library’s part-link-redirect?.

HTML: Used as a style property in an element_style to supply a script alternative to the element content.

The Style.HTML.Script veneer recognizes the same values as the Racket Scribble library’s script-property?.

HTML: Used as a style property in an element_style to supply literal HTML that is rendered before and after element content.

The Style.HTML.Xexpr veneer recognizes the same values as the Racket Scribble library’s xexpr-property?.

Latex/PDF: Used as a style property in an element_style to to add extra arguments to the element’s command in Latex output.

The Style.Latex.CommandExtras veneer recognizes the same values as the Racket Scribble library’s command-extras?.