Simple Text Formatting in QuarkXPress

Navigation:  Appendices > Quark Formatting >

Simple Text Formatting in QuarkXPress

Previous pageReturn to chapter overviewNext page

Q++ Text Formatting is made-up of a string of comma-delimited attributes settings of attributes from the list below, and apart from being used internally by Q++Studio to communicate with QuarkXPress, can be used as the sFormat variable of the Macro Function FormatText.

 

 

Keyword

Example usage

Attribute 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

COLOR

COLOR(Pantone 231U)

Text Color Name as specified in QuarkXPress

Color Name must already exist in at least one of the Script's templates

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)

Cannot be combined with Horizontal Scale

hs

hs 100

Horizontal Scale (0 to 100)
Cannot be combined with Vertical Scale

 

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 (the additional non-highlighted text is part of the formatted text replacement sent by Q++Studio to QuarkXPress which can be inspected by Viewing p-Code):

 

{[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).


Topic 159000 updated on 29-Mar-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?textformatting.htm