Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Harlowe - font size for text inside passage

Hi all,

Another 101 question from me: how do I define the font size of just part of text within a passage? I know we have a way to set a specific font:
(font:"Skia")[And what have we here?]

But what is the equivalent for size of the font?

Comments

  • You have two choice:

    1. Combine the (css:) macro with a CSS font-size property:
    ABCD
    (css: "font-size: 150%;")[EFGH]
    IJKL
    

    2. Use standard HTML and CSS, either:

    a. inline:
    <span style="font-size: 150%">MNO</span>
    
    b. using a CSS class, this first part goes in your passage:
    <span class="bigger">PQR</span>
    
    ... and this second part goes in your Story Stylesheet area:
    .bigger {
    	font-size: 150%;
    }
    
  • Perfect! Thank you!
Sign In or Register to comment.