STIX Theme

Fonts Showcase

Body Fonts

Body text in STIX Fonts. The STIX "fonts are intended to satisfy the demanding needs of authors, publishers, printers, and others working in the scientific, medical, and technical fields."

Formatting

Want something bold use *bold*. Want something italic use /italic/. Want something underlined use _underlined_. Want something strikethrough use +strikethrough+. And lastly, want something monospaced use =monospaced= or ~monospaced~.

Subscripts and Superscripts

Text characters set below or above the line of type for a font/size combination are necessary for technical writing. Subscripts and superscripts are achieved in the same way as in TeX or LaTeX. Use _{subscript text} for subscript and ^{superscript text} for superscript.

The radius of the sun is Rsun = 6.96 × 108 m. On the other hand, the radius of Alpha Centauri is RAlpha Centauri = 1.28 × Rsun.

Special Symbols

There are many special symbols and non-Latin alphabets that can be inserted in an Org document. The syntax is like TeX or LaTeX too.

Given a circle Γ of diameter d, the length of its circumference is πd. We can type α as \alpha, β as \beta, and χ as \chi. In Org mode if you need a symbol in a word or formula it can be terminated with a pair of curly braces like so \pi{}d, but in Hugo, using go-org you only need \pid—seems like it could introduce ambiguity.

Some other symbols include © as \copy, † as \dag, and × as seen in the subscript/superscript section above as \times. There's ± as \pm or \plusmn. There's ½ as \frac12 and there's ¾ as \frac34. There's x → ∞, typed as x \to \infin. Don't forget the en dash – or the em dash —, respectively -- and ---.

A large centered \lambda using #+ATTR_HTML: :class text-center font-size-lg

λ

Heading Fonts

Headings structure documents into sections and subsections. Headings are displayed in Helvetica.

Top or first level headline

Curabitur blandit tempus ardua ridiculus sed magna.

Second level

Me non paenitet nullum festiviorem excogitasse ad hoc.

Third level

Ab illo tempore, ab est sed immemorabili.

Forth level

Sed haec quis possit intrepidus aestimare tellus.

Fifth level

Nihil hic munitissimus habendi senatus locus, nihil horum?

Sixth level

Quae vero auctorem tractata ab fiducia dicuntur.

Code Fonts

A good code font cleary differentiates i, 1, l, L, I, |, o, O, and 0. In DejaVu Sans Mono the characters are i1lLI|oO0.

int main(int argc, char **argv)
{
    return 0;
}

The next code block is used to check if the styling can display 80 character lines without overflow. The block is made up of lines contains the first 80 characters of a base-85 encoding called Z85.

0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{

Now we must check how a code block that overflows looks.

+ (nullable NSURL *)URLForResource:(nullable NSString *)name withExtension:(nullable NSString *)ext subdirectory:(nullable NSString *)subpath inBundleWithURL:(NSURL *)bundleURL API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));

Code with formatting

Something bold, something italic, some Greek λ, some math x3, a ≤ b2 + C, and subscriptsi too.

More on the STIX Fonts

The description of the STIX Font embeded in the v1.x font files is as follows:

Arie de Ruiter, who in 1995 was Head of Information Technology Development at Elsevier Science, made a proposal to the STI Pub group, an informal group of publishers consisting of representatives from the American Chemical Society (ACS), American Institute of Physics (AIP), American Mathematical Society (AMS), American Physical Society (APS), Elsevier, and Institute of Electrical and Electronics Engineers (IEEE). De Ruiter encouraged the members to consider development of a series of Web fonts, which he proposed should be called the Scientific and Technical Information eXchange, or STIX, Fonts. All STI Pub member organizations enthusiastically endorsed this proposal, and the STI Pub group agreed to embark on what has become a twelve-year project. The goal of the project was to identify all alphabetic, symbolic, and other special characters used in any facet of scientific publishing and to create a set of Unicode-based fonts that would be distributed free to every scientist, student, and other interested party worldwide. The fonts would be consistent with the emerging Unicode standard, and would permit universal representation of every character. With the release of the STIX fonts, de Ruiter's vision has been realized. — STIX 1.1.0 STIXGeneral.otf

The description of the STIX Font embeded in the v2.x font files is as follows:

The Scientific and Technical Information eXchange (STIX) fonts are intended to satisfy the demanding needs of authors, publishers, printers, and others working in the scientific, medical, and technical fields. They combine a comprehensive Unicode-based collection of mathematical symbols and alphabets with a set of text faces suitable for professional publishing. The fonts are available royalty-free under the SIL Open Font License. — STIX 2.13 b170 STIXTwoText-Regular.otf