6.11 Extending and Configuring Scribble Output🔗ℹ

Sometimes, Scribble’s primitives and built-in styles are insufficient to produce the output that you need. The cases in which you need to extend or configure Scribble fall into two groups:

  • You may need to drop into the back-end “language” of CSS or Latex to create a specific output effect. For this kind of extension, you will mostly likely attach a css-addition or tex-addition style property to style, where the addition implements the style name. This kind of extension is described in Implementing Styles.

  • You may need to produce a document whose page layout is different from the Racket documentation style. For that kind of configuration, you can run the scribble command-line tool and supply flags like --prefix or ++style, or you can associate a html-defaults or latex-defaults style property to the main document’s style. This kind of configuration is described in Configuring Output.

    6.11.1 Implementing Styles

    6.11.2 Configuring Output

    6.11.3 Base CSS Style Classes

    6.11.4 Manual CSS Style Classes

    6.11.5 Base Latex Macros

    6.11.6 Latex Prefix Support