Please enable JavaScript to view this site.

 

Navigation: Appendices > QuarkXPress > Formatting > Native

Native Text Formatting in QuarkXPress

Scroll Prev Up Next More

Some of the features below may require a minimal version of QuarkXPress. These requirements are noted near each such feature.

 

Q++Studio 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, it can be used as the sFormat variable of the macro function FormatText.

 

The options below can also be set in the text attributes editor which is used to customize the font attributes of text in minicalendar options, grid options and in moon and sun options.

 

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: hs 90,vs 75).

 

Keyword

Sample Use

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 (spelled exactly as obtained from scanning).

sh

sh 30

Text Shade (decimal 0 to 100)

op

op 30

Text Opacity (decimal 0 to 100)

QuarkXPress 8-2024

k

k -5.0

Kerning (-326 to +326).

t

t 12.5

Tracking (-326 to +326)

bs

bs 10.5

Baseline Shift (-27 to +27)

vs

vs 90

Vertical Scale (25 to 300)

Cannot be combined with Horizontal Scale

hs

hs 100

Horizontal Scale (25 to 300)
Cannot be combined with Vertical Scale

 

See also: xpress tags formatting and the macro function FormatText.

 


Topic 183085, last updated on 22-Jun-2024