Title: | DOCUMENT T1.0 |
Notice: | **New notesfile (DOCUMENT.NOTE) now available (see note 897)** |
Moderator: | CLOSET::ADLER |
Created: | Mon Feb 09 1987 |
Last Modified: | Thu Oct 31 1991 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 897 |
Total number of notes: | 4397 |
In a FIGURE environment, I sometimes like to use <EMPHASIS>. It appears that DOCUMENT tries to account for the number of characters used by the <EMPHASIS>(text\BOLD) command, but is off by 1 (that is, it needs to delete 1 more space). The following is an example without using any emphasis: <FIGURE>(My Picture) <FIGURE_ATTRIBUTES>(KEEP) <LINE_ART>(KEEP) ^ +--------------------+ | | Pretty box | | | +----------+ | | +--------------------+ <ENDLINE_ART> <ENDFIGURE> And in the output, you get just that (with headers of course): ^ +--------------------+ | | Pretty box | | | +----------+ | | +--------------------+ Now, if I come back to my picture and emphasize the words "Pretty Box", being careful to not introduce any extra spaces: <FIGURE>(My Picture) <FIGURE_ATTRIBUTES>(KEEP) <LINE_ART>(KEEP) ^ +--------------------+ | | <EMPHASIS>(Pretty box\BOLD) | | | +----------+ | | +--------------------+ <ENDLINE_ART> <ENDFIGURE> I should get the figure with the words in bold and everything lined up. What I do get (pretend that the words are in bold): ^ +--------------------+ | | Pretty box | | | +----------+ | | +--------------------+ See how the text on the same line as the words is now off by one space. Of course, the short term work around is to delete one space. That old off-by-one problem! Thanks.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
824.1 | Not exactly a space... | TREK::WATERS | Lester Waters | Wed Aug 19 1987 15:55 | 18 |
Hmmmm... Seems that it is not off by 1 exactly, but some fraction thereof. Perhaps BOLD is a wider font and the ratio between it and normal (if any) hasn't been taken into account for space compensation. If I remove a single space to try to compensate, sometimes it works; other times, I end up with not enough space to align vertical items: | | <---- this one would be only slightly misaliged | (but very noticable) | |||||
824.2 | good question! | REGENT::MERRILL | Glyph, and the world glyphs with u,... | Fri Aug 21 1987 10:03 | 9 |
Mixing fonts with line drawings is always perilous! Is there any way of OVERSTRIKING a linedrawing with proportional fonts??? That would let the spacing be independent of bold or italic or bold-italic fonts. Rick Merrill | |||||
824.3 | TREK::WATERS | Lester Waters | Sat Aug 22 1987 22:18 | 5 | |
By the way, I'm using VAX DOCUMENT T1.0-008 | |||||
824.4 | fixed in V1.0 | CLOSET::ANKLAM | Mon Aug 24 1987 08:59 | 4 | |
That was a bug in Base Level 8. It has been fixed in V1.0. -pa |