S2 All-Styles Document, Title in “H2”
All of this content is within “maincolumn”, then “main”.
→ The version on the top left of this page is in “versionbox” and then either span “versionNoNav” (no navigation bar, as for single-page rendering) or “version” (with navigation bar, as for multi-page rendering).
→ The author on the top left of this page is in “SAuthorListBox”, then “SAuthorList”, and then a span “author”, where <br/> separates multiple authors.
← The table-of-contents panels are both in a table “tocset”:
This note is in “refpara”, then “refcolumn”, then “refcontent”.
The top panel is in “tocview”.
The top panel can have multiple layers of the hierarchy. For a single-page rendering, only one layer is present. For an example of multiple layers when rendering this document to multiple pages, go to Subsubsection in “H5”.
Each layer is in a “tocviewlist” that also has the class “tocviewlisttopspace” in the case of the first layer. The always-visible name of a layer is in a span “tocviewtoggle”, but that span is also in a “tocviewtitle” in the case of the first layer. Each item under the title is in a “tocviewsublist” or a variant: “tocviewsublistonly” if only a single item is present, “tocviewsublistfirst” for the first item of multi, “tocviewsublistlast” for the last item of multiple. Then, each item is in a span “tocviewlink”.
Each section link in the panel is a span “tocviewlink” or a span “tocviewselflink” if the link corresponds to the current page or on the path to the current page.
A bottom panel is visible here only for a single-page rendering. See its description in Section in “H3”.
This note is in “refparaleft”, then “refcolumnleft”, then “refcontent”.
Table of contents uses “toptoclink” for the top layer, and “toclink” for nested levels:
This note is in “refelem”, then “refcolumn”, then “refcontent”. This note is in “refelemleft”, then “refcolumnleft”, then “refcontent”.
1 Section in “H3”
← For either single-page or multi-page rendering, the table-of-contents column here has two panels. The top panel is described in the starting prose. For the bottom panel:
The bottom panel is in a “tocsub”. For a multi-page rendering, the on-this-page title is in “tocsubtitle”. The rest is always in a table “tocsublist”. For each entry, the number part is in a span “tocsublinknumber”, and the title part in a span, one of the following: “tocsubseclink” if the link represents a (sub)section, “tocnonseclink” if the link is not a (sub)section but there are (sub)sections in the list (and there is an example target in this section), or “tocsublink” if no links represent a (sub)section (see Non-Section On-This-Page Links).
When a part that corresponds to a page has a 'no-toc style, the top panel of the table-of-contents column is missing and the bottom panel is in a “tocview” instead of “tocsub”. See Suppressed ToC Panel.
Here is the target for the “tocnonseclink” link.
1.1 Subsection in “H4”
1.1.1 Subsubsection in “H5”
← This page has no on-this-page panel in a multi-page rendering, because there are no numbered subsections, but it has three levels shown in the table-of-contents panel.
“SSubSubSubSection”
1.2 Second Subsection in “H4”
2 Suppressed ToC Panel
In multi-page rendering, this page has no gobal table-of-contents panel, because it is suppressed with 'no-toc.
2.1 Subsection
2.2 Another Subsection
3 Non-Section On-This-Page Links
This section has only non-section targets in the on-this-page panel of a multi-page rendering. Here is the target for the “tocsublink” 1 link. Here is the target for the “tocsublink” 2 link.
Here is the target for the “indexlink” link in the index (where “indexlink” is used for the index entry and not here).
4 Element Styles
Some spans:
“stt”
“sroman”
“slant”
“ssanserif”
“Smaller”
“Larger”
“hspace” is used for forced space
“url” is used for URLs: http://racket-lang.org
“nobreak”, which is used to prevent line breaks anywhere in the element so that the element may run too far right
italic directly sets font-style to italic
bold directly sets font-weight to bold
superscript directly sets vertical-align to super and font-size to 80%.
subscript directly sets vertical-align to sub and font-size to 80%.
Link spans:
“plainlink” hyperlink to here
technical term references are in “techoutside”, then “techinside”
5 Block Styles
This paragraph is in a “SubFlow” <blockquote>.
This paragraph is in a plain <blockquote>.
This paragraph is in a “SCodeFlow” <blockquote>.
This paragraph is in a “SVInsetFlow” <blockquote>. This style is useful when space is not normally included between blocks.
This paragraph is in a “SCentered” <blockquote>.
A “boxed” table. |
6 Enumerations
This one is unordered, so it uses <ul>:
six
half-dozen
This one is ordered, so it uses <ol>:
First
Second
Second, first half
Second, second half
First half of that
Second half of that
Thin-slice start
Thin-sliced end
Third
This one is “compact”:
six
half-dozen
7 Paragraph Spacing
This sentence is a paragraph all by itself.
A1 | B1 |
A2 | B2 |
A3 | B3a B3b |
This is a first paragraph in a <blockquote>.This is a second paragraph in a <blockquote>.
8 Navigation Bars
For multi-page rendering, this page will have a navigation bar at the top and bottom. The bars are within “maincolumn” and “main”.
The tap bar is in “navsettop”, and the bottom one is in “navsetbottom”. Within those divs, “navsetleft” wraps content to be left-aligned and “navsetright” wraps content to be right-aligned.
Links that are disabled (such as a next-page link on the last page) are each in a span “nonavigation”.
When a search box is included, then it is in “searchform” and then “searchbox”.
Finally, and not part of the nagivation bar, the bottom nagivation bar is followed by a div with the name “contextindicator”. JavaScript code attached to the page copies the ctxtname query argument, if any, to the div and makes it visible.