speedata Publisher defaults

The speedata Publisher defines some default settings that can be changed in the layout file. These defaults concern the colors, fonts and page size and margins.


The distribution includes the free font family TeXGyreHeros, a high quality clone of Helvetica. It comes in the variants regular, bold, italic and bolditalic. It is defined as follows:

       filename="texgyreheros-regular.otf" />
       filename="texgyreheros-bold.otf" />
       filename="texgyreheros-italic.otf" />
       filename="texgyreheros-bolditalic.otf" />

       filename="CamingoCode-Bold.ttf" />
       filename="CamingoCode-BoldItalic.ttf" />
       filename="CamingoCode-Italic.ttf" />
       filename="CamingoCode-Regular.ttf" />

       filename="CrimsonPro-Bold.ttf" />
       filename="CrimsonPro-BoldItalic.ttf" />
       filename="CrimsonPro-Italic.ttf" />
       filename="CrimsonPro-Regular.ttf" />

The corresponding font family is defined as:

<DefineFontfamily name="text" fontsize="10" leading="12">
  <Regular    fontface="TeXGyreHeros-Regular"/>
  <Bold       fontface="TeXGyreHeros-Bold"/>
  <Italic     fontface="TeXGyreHeros-Italic"/>
  <BoldItalic fontface="TeXGyreHeros-BoldItalic"/>

and since the font family named text is taken as the default for the paragraphs, without any change the text appears in Helvetica 10pt/12pt. With re-defining the font family text you can change the document font.

The font aliases are defined for the default font:

  • TeXGyreHeros-Regular → sans
  • TeXGyreHeros-Bold → sans-bold
  • TeXGyreHeros-Italic → sans-italic
  • TeXGyreHeros-BoldItalic → sans-bolditalic
  • CrimsonPro-Regular → serif
  • CrimsonPro-Bold → serif-bold
  • CrimsonPro-Italic → serif-italic
  • CrimsonPro-BoldItalic → serif-bolditalic
  • CamingoCode-Regular → monospace
  • CamingoCode-Bold → monospace-bold
  • CamingoCode-Italic → monospace-italic
  • CamingoCode-BoldItalic → monospace-bolditalic

The OpenType features activated with the harfbuzz mode are:

Feature Description
abvm Above-base Mark Positioning
blwm Below-base Mark Positioning
calt Contextual Alternates
ccmp Glyph Composition/Decomposition
clig Contextual Ligatures
curs Cursive Positioning
dist Distances
kern Kerning
locl Localized Forms
mark Mark Positioning
mkmk Mark to Mark Positioning
rclt Required Contextual Alternates
rlig Required Ligatures


The following text formats are predefined:

<DefineTextformat name="text" alignment="justified"/>
<DefineTextformat name="centered" alignment="centered" />
<DefineTextformat name="left" alignment="leftaligned"/>
<DefineTextformat name="right" alignment="rightaligned"/>

<DefineTextformat name="__justified" alignment="justified"/>
<DefineTextformat name="__centered" alignment="centered" />
<DefineTextformat name="__leftaligned" alignment="leftaligned"/>
<DefineTextformat name="__rightaligned" alignment="rightaligned"/>

The last four are used in tables. See the section on text formats in tables.

Page size and margin

The page size defaults to A4 (210mm × 297mm).

The master page for all pages is defined as follows:

<Pagetype name="Default Page" test="true()">
  <Margin left="1cm" right="1cm" top="1cm" bottom="1cm"/>

The page grid is set to 10mm × 10mm.


The known CSS colors are defined in the RGB color space. The colors 'black' and 'white' are defined in the grayscale color space. See also the command DefineColor, there the predefined colors are listed.

The special colors HKS 1-97 and many Pantone colors are already defined with their CMYK values.


There are two sections defined:

<DefineMatter name="mainmatter" label="decimal" resetbefore="yes" />
<DefineMatter name="frontmatter" label="lowercase-romannumeral" />