Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Page layout facilities > Styles > Question, response, and information text > Size
 
Size
Font sizes are defined in points, and there are 72 points to one inch. Depending on which font family you use, text at, say, 10-point in one font might look larger or smaller than the same size text in a different font.
In the metadata section
To set the font size for an information, question, or categorical response text in the metadata section, include the following element in the item’s definition:
labelstyle(font(size = number))
where number is the point size you want to use.
For example:
Sports5 "Which of the following sports do you play?"
labelstyle(font(size = 16)) categorical [1..]
{Tennis, Football, Cricket, Basketball, Hockey};
displays the question text in 16-point, as shown in the following illustration:
This graphic is described in the surrounding text.
In the routing section
Setting the font size in the routing section lets you change the size of question and categorical response texts and other texts such as banners. Font size is a property of the Font object, so you type:
ObjectName.Label.Style.Font.Size = number
where:
ObjectName is the name of a question, category (response), or information item.
number is the point size you want to use.
For example:
Sports.Label.Style.Font.Size = 16
to make the question text for the Sports question 16-point.
See also
Question, response, and information text