A Guide to XPress Tags 2019

Special characters

XPress Tags lets you specify character encoding and insert and manipulate special characters such as discretionary hyphens and non-breaking spaces.

Encoding

One of the following three extended character set indicators is automatically placed at the top of an XPress Tags file you create using the Save Text command (File menu).

  • Unicode (UTF-16): <e8>

  • Unicode (UTF-8): <e9>

  • Mac Roman (x-mac-roman): <e0>

  • Windows Latin (windows–1252): <e1>

  • Western (iso–8859–1): <e2>

  • Japanese Win (windows–932–2000): <e3>

  • Japanese Mac (x-mac-japanese): <e21>

  • Korean Windows (MS codePage 949): <e19>

  • Korean Mac (KSC5601): <e20>

  • Traditional Chinese (BIG5): <e6>

  • Simplified Chinese (GB2312): <e7>

Escaped characters

To use as text certain characters that XPress Tags would otherwise consider as part of specific codes, use these special characters.

  • @: <\@>

  • <: <\<>

  • \: <\\>

Other special characters

 

Some special characters have their own XPress Tags codes. Use the following codes to define these characters.

  • Tab: <\t>

  • Standard space : <\s>

  • Em space : <\m>

  • En space : <\e>

  • 3-per-Em space : <\#>

  • 4-per-Em space : <\$>

  • 6-per-Em space : <\^>

  • Thin space : <\[>

  • Hair space <\{>

  • Zero width space <\z>

  • Flexible space : <\f>

  • Figure space : <\8>

  • Punctuation space : <\p>

  • Word joiner: <\j>

  • Ideographic space : <\o>

  • Indent Here: <\i>

  • Em dash : <\_>

  • En dash : <\a>

  • Hyphen : <\->

  • Discretionary hyphen: <\h>

  • Discretionary new line: <\d>

  • New line: <\n>

  • New column: <\c>

  • New box: <\b>

  • Previous box page number: <\2>

  • Current box page number: <\3>

  • Next box page number: <\4>

  • Conditional Style marker: <\r>

  • Zero Width Joiner: <k0.6>

  • Zero Width Non-Joiner: <k-0.8>

 To define any space or hyphen as non-breaking, use the format: <\!><\!>. Example: <\!><\!-> or <\!><\!m>.

Right Indent tab is defined as <\!><\t>

ASCII codes

Some word processing applications may require you to use the decimal ASCII codes to create XPress Tags for special characters. The XPress Tags code for these characters is <\#decimal value>. The # symbol is part of the code. The XPress Tags code must be three digits for the ASCII code; when entering a four-digit ASCII code, do not enter the leading zero. The following list defines the ASCII decimal codes for some common characters. 

  • Decimal ASCII code for a character : <\#decimal value>

  • New paragraph (Hard return): <\#13>

  • Tab: <\#9>

  • En dash: <\#208>

  • Em dash: <\#209>

  • Open double quotation marks: <\#210>

  • Close double quotation marks: <\#211>

  • Open single quotation mark: <\#212>

  • Close single quotation mark (apostrophe): <\#213>

 To define any space or hyphen as non-breaking, use the format: <\!><\!>