# mix ordinary text with italics for variables

HenkH shared this question 11 years ago

We are working on applets for a math book.

We want to mix ordinary text with italics for variables

The solution is x=7

Yes, in HTML, we put <i>x</i>

How can we incorporate the italics without breaking the text in thousand pieces?

1

Try this in the beta 4.0 version:

\mathrm{x} =x

1

It would be nice if the normal text also uses latinroman fonts. With GGb 4.0

Edit:

Ok, this did the trick

"\text{This is a test}"

and check the LaTeX checkbox.

1

Solution:

make whole text italic with C-button

create LaTeX \mbox

x = 7 \mbox{ en dit niet }