Simple Text Formatting in QuarkXPress

Navigation:  Appendices > Quark Formatting >

Simple Text Formatting in QuarkXPress

Previous pageReturn to chapter overviewNext page

Q++ is interfaced to QuarkXPress through a series of Q++ Text Formatting (QTF) commands of the form :

 

 {TextIn}={attributes|TextOut}

 

where attributes consists of a series of comma delimited attributes settings :

 

 

Simple Text Formatting Keywords

Keyword

Example

Description

 

B

 

B+ or B-

 

Add/remove Bold

I

I+ or I-

Add/remove Italic

UL

UL+ or UL-

Add/remove Underline

O

O+ or O-

Add/remove Outline

SHD

SHD+ or SHD-

Add/remove Shadow

SUP

SUP+ or SUP-

Add/remove Superscript

SUB

SUB+ or SUB-

Add/remove Subscript

NONB

NONB+ or NONB-

Add/remove Non Breaking

SPR

SPR+ or SPR-

Add/remove Superior

STRK

STRK+ or STRK-

Add/remove Strike Thru

ALLC

ALLC+ or ALLC-

Add/remove All Caps

SCAP

SCAP+ or SCAP-

Add/remove Small Caps

WUL

WUL+ or WUL-

Add/remove Word Underline

f

f Arial

Font Name

s

s 8.5

Font Size

hs

hs 100

Horizontal Scale

c

c(65535,0,0)

OBSOLETE, DO NOT USE

RGB color (each integer value ranges from 0 to 65535)

COLOR

COLOR(Pantone 231U)

Text Color Name as specified in QuarkXPress

cmyk

cmyk(65535,0,0,0)

OBSOLETE, DO NOT USE

CMYK color (integer values ranging from 0 to 65535). You can also use hard-coded string values which will work regardless of the language of your Quark UI> These are: BLACK WHITE CYAN MAGENTA YELLOW.

sh

sh 30

Text Shade (decimal 0 to 100)

op*

op 30

Text Opacity (decimal 0 to 100)
*Quark 8 or above

k

k -5.0

Kerning

t

t 12.5

Tracking

bs

bs 10.5

Baseline Shift

vs

vs 90

Vertical Scale (0 to 100)

 

 

Each specifier is separated from the next by a comma (no space). Any value which can be specified in decimal form must use a period as decimal separator, regardless of the workstation's Windows settings.

 

Sample formatting may look as follows :

 

{[1d]}={B+,I+,COLOR(Pantone 231U),f Times New Roman|28}

 

Formatting will fail if the text formatting string contains the same attributes repeated with a different values (eg. f Arial and f Garamond) or with inherently conflicting different attributes (eg: hs90,vs75).

 

For more information about the context in which QTF is used, see Viewing p-Code.


Topic 159000 updated on 06-May-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?textformatting.htm