More general solution

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

A more general solution is provided by using an supplementary library of three hidden styles, e.g. Headline base. Such styles have 6 parameters, but not all of them are used (the used ones are marked with *)

Style

Parameters

Type

Req

Code

kicker_sp

Kicker lines

Kicker Size

Headline lines

Headline Size

Subhead lines

Subhead size

I

M

I

M

I

M

 

*

>hld #2<

headline_sp

Kicker lines

Kicker Size

Headline lines

Headline Size

Subhead lines

Subhead size

I

M

I

M

I

M

*

*

 

*

>a #2*#1,1<>hld #4<

subheadline_sp

Kicker lines

Kicker Size

Headline lines

Headline Size

Subhead lines

Subhead size

I

M

I

M

I

M

*

*

*

*

 

*

>a #2*#1+#4*#3,1<>hld #6<

I = integer; M = measure

Now, use above styles to create your headline styles, such as:

Style

Code

Comment

kicker

>kicker_sp ,12pt<

The first parameter is not used, thus specify only the 2nd parameter, i.e. the kicker size.

headline

>headline_sp 2,12,,22<

The first two parameters regard the number of lines in the kicker, and the size of kicker; 3rd parameter is skipped, and the 4th is the size of the headline.

subheadline

>subheadline_sp 2,12,1,22,,14

The first two parameters regard the number of lines in the kicker, and the size of kicker; 3rd parameter is number of lines in the headline, the 4th is the size of the headline, 5th is skipped, and 6th is the size of the subhead.

An example of effect of such styles is shown below:

ted_headlines6

The final set of two libraries of styles is:

Library

Styles

Comment

Head 1-1-1

kicker

headline

subheadline

This is sample with three styles, each with 1 line only.

Head 1-2-2

kicker

headline

subheadline

This is sample with three styles, where kicker is with 1 line only, while headline and subhead are with 2 lines.