Register | Sign In

Understanding through Discussion

EvC Forum active members: 57 (9175 total)
0 online now:
Newest Member: sirs
Post Volume: Total: 917,651 Year: 4,908/9,624 Month: 256/427 Week: 2/64 Day: 2/8 Hour: 0/0

Thread  Details

Email This Thread
Newer Topic | Older Topic
Author Topic:   dBoard 4.2 Release
Posts: 5974
Joined: 05-02-2006
Member Rating: 3.6

Message 17 of 95 (906654)
02-15-2023 3:43 PM

How to Use Monospace Font?
How do we use a monospace font like Courier New in order to preserve a character's location in a line, thus allowing us to set up tables with columns or to sketch an ASCII diagram. An example would be my diagram in Message 484 of a hypothetical descent tree.
Normally I would use the HTML pre tag which displays the text in a fixed-width font like Courier New plus retaining all space characters and newlines.
In that Message 484 I did use the pre HTML tags and that worked well enough at the time, but now with the update all characters are jammed up to the left margin with all spaces having been stripped out.
I've tried a few things such as setting face to courier new but to no avail.
code does work ... kind of. It still either eliminates or uses different widths for space characters, such that what I type in does not quite gets displayed that way. For example, I copied that tree diagram to my text editor (which is always set to Courier New), lined everything up perfectly, then copy-and-pasted that to the message edit box and the spaces were off (too narrow). Close, but no cheroot.
Is there a solution?
OBTW, here's that tree diagram using code tags:
Tree:                       A
           |                                          |
           B                                       C
           |                                          |
    +---+--------+           +----------+------+
    |                    |            |                        |
    D                 E           F                        G
                             |                  |
                             H                 I
I had to add that word, "Tree:", because regardless of what I tried the leading spaces before "A" kept getting stripped out, even using code.

Replies to this message:
 Message 18 by Admin, posted 02-16-2023 7:04 AM dwise1 has not replied
 Message 19 by Admin, posted 02-16-2023 8:00 AM dwise1 has not replied
 Message 20 by Admin, posted 02-16-2023 8:14 AM dwise1 has not replied

Posts: 5974
Joined: 05-02-2006
Member Rating: 3.6

Message 41 of 95 (907031)
02-18-2023 1:41 PM

Writing URL Without It Turning into a Link?
How to?

Replies to this message:
 Message 42 by AZPaul3, posted 02-18-2023 1:47 PM dwise1 has not replied
 Message 43 by Admin, posted 02-18-2023 3:44 PM dwise1 has not replied

Newer Topic | Older Topic
Jump to:

Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024