Question Writer Manual/Quiz Options/Text Settings/Text Settings

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Text Settings[edit | edit source]

This section allows you to use HTML or a variety of embedded fonts (selected from a drop down box) and to select a different font or font size for your title or body text to replace the default fonts set up within the theme used.


Use HTML To Format Text[edit | edit source]

In the Standard version of Question Writer 4 this option can be found under Quiz Properties - Appearance Settings

When this option is switched on, you can change the way text is displayed by using HTML formatting.

<b>bold</b>

This will make the text inside the tags bold.

<i>italic</i>

This will make the text inside the tags italic.

<font face="Arial" size="24" color="red">Arial Red at point size 24</font>

This will make the text inside the tags point size 24, color red, font face Arial. Relative sizes can be used - eg -2,-1,+1,+2 to make the text relatively larger or smaller. Absolute sizes can be used also - eg 36. Absolute sizes smaller than 8 are treated as HTML sizes (1 is very small, 7 is very large). Font colors can be HTML colors(red, yellow, white etc) or RGB style colors (color="#FFCCFF")



<p align="center">Center Alignment</p>

This causes a new paragraph to be created and any text in that paragraph to be aligned in the center.

<br>

This creates a new line.

<sup>superscript</sup>
E = MC<sup>2</sup> 

This will make the enclosed text appear as a superscript.

<sub>subscript</sub>
The chemical symbol for Oxygen is 0<sub>2</sub>

This will make the enclosed text appear as a subscript

HTML formatting can be used in all text fields with one exception - it cannot be applied to the text that appears on next and back buttons.

Respect Newlines in HTML[edit | edit source]

If you are using the Professional version of Question writer you can tick this box is ticked so that you can use HTML text formatting but still respect newlines in the text.


Optimize Text for Small Screens[edit | edit source]

Ticking this box is especially useful for small fonts and small screens like mobile devices.

Embed Font[edit | edit source]

In the Standard version of Question Writer 4 this option can be found under Quiz Properties - Appearance Settings

When the quiz taker enters text at the keyboard, the quiz can either use a system font or (with this option checked) an embedded font. Using an embedded font guarantees that the font will be used and the chosen characters will be available. You can ensure that all the letters and accents that a user might want to enter are embedded by choosing the right character set for the quiz taker's language.

The embedded font is used in the Fill in the Blank and Essay style questions. It is also used when the user is prompted for Name/UserID at the start of the quiz.

For text entry in Japanese and other languages with large character sets, it is usually better to switch off this option as the number of characters is very large and leads to a very large file size.