Spaces are Ignored in Text

brenden.winger
18 Jun 2017, 00:36

I'm looking to create simple designs in the way that I type out the text, but it ignores the spaces I use, and compresses everything.

Anyone know of a way to avoid that?


major powers
18 Jun 2017, 02:16

This is html, dunno if there's other ways, but use:

 

Write   anywhere, and each   will make a font-size specific (the size of an M, or "em") space. Like this:

msg ("Here are three spaces   that was three spaces")

This is what it looks like when the html is present (I just cut and pasted the above):

msg ("Here are three spaces   that was three spaces")


brenden.winger
18 Jun 2017, 03:50

Thanks, I'll try that out


The Pixie
18 Jun 2017, 08:06

As it is HTML, you do have an alternative that might work better; you could output the text as a table. The would ensure everything is aligned neatly in columns.
https://www.tutorialspoint.com/html/html_tables.htm

Note that the entire table needs to be printed in a single go (all in one Print/msg command).