On this page:
emph
defterm
onscreen
menuitem
filepath
exec
envvar
Flag
DFlag
PFlag
DPFlag
math
Version: 4.1

11.6 Various String Forms

(emph pre-content ...)  element?

  pre-content : any/c

Typesets the decoded pre-content with emphasis (e.g., in italic).

(defterm pre-content ...)  element?

  pre-content : any/c

Typesets the decoded pre-content as a defined term (e.g., in italic). Consider using deftech instead, though, so that uses of tech can hyper-link to the definition.

(onscreen pre-content ...)  element?

  pre-content : any/c

Typesets the decoded pre-content as a string that appears in a GUI, such as the name of a button.

(menuitem menu-name item-name)  element?

  menu-name : string?

  item-name : string?

Typesets the given combination of a GUI’s menu and item name.

(filepath pre-content ...)  element?

  pre-content : any/c

Typesets the decoded pre-content as a file name (e.g., in typewriter font and in in quotes).

(exec pre-content ...)  element?

  pre-content : any/c

Typesets the decoded pre-content as a command line (e.g., in typewriter font).

(envvar pre-content ...)  element?

  pre-content : any/c

Typesets the given decoded pre-content as an environment variable (e.g., in typewriter font).

(Flag pre-content ...)  element?

  pre-content : any/c

Typesets the given decoded pre-content as a flag (e.g., in typewriter font with a leading -).

(DFlag pre-content ...)  element?

  pre-content : any/c

Typesets the given decoded pre-content a long flag (e.g., in typewriter font with two leading -s).

(PFlag pre-content ...)  element?

  pre-content : any/c

Typesets the given decoded pre-content as a + flag (e.g., in typewriter font with a leading +).

(DPFlag pre-content ...)  element?

  pre-content : any/c

Typesets the given decoded pre-content a long + flag (e.g., in typewriter font with two leading +s).

(math pre-content ...)  element?

  pre-content : any/c

The decoded pre-content is further transformed:

Extensions to math are likely, such as recognizing _ and ^ for subscripts and superscripts.