# text position classic 5 vs online.

goldenj shared this question 1 year ago

So I tend to make things in the desktop (Classic 5) but when I uploaded the latest, relative position of the text is screwed up. All the Xs are defined to have absolute position. I'm trying to understand what's happening and get a fix.

Classic file attached. Images as well.

1

You are relying on fonts on different computers (or even the same computer!) having exactly the same metrics

I suggest using some or all of

a) use all LaTeX text if you need pixel perfection

b) FormulaText("\xcancel{0}")

c) \tt for monospaced text FormulaText("\tt{0\;1\;2\;3\;4\;5\;6\;7\;8\;9") for equal spacing

d) FormulaText(Sum(Sequence(If(i!=3, ""+i, "\red{\xcancel{"+i+"}}"),i,0,9)))

1

Thanks! The TeX solved the issue first try.

1

what should i do with the above commands I confront this problem when embedding the applets with local language text

1

You'll need to leave enough space to allow for slightly different text sizes

1

Thanks sir, Problem is only when accessing in mobile phones