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 |
Why doesn't the in-line form of CODE_EXAMPLE (ie, <CODE_EXAMPLE>(code)) use the same font as the non-in-line form? I don't know about other doctypes, but in MEMO (and I think REPORT as well), using CODE_EXAMPLE in-line looks the same as italics. I really like the monospaced (Courier?) font used in the non-in-line form of CODE_EXAMPLE. Is there another way to get the effect of a word or phrase in whatever typewriter font in the middle of a line of more typographic font? -pd
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
468.1 | change DESIGN file | CLOSET::ANKLAM | Thu Jun 04 1987 18:52 | 10 | |
that is doctype-specifiable in the DESIGN file: \def\codexampleintextfont{\codexamplefont} should produce what you want. using italics is just a common convention. -patti | |||||
468.2 | Taking the plunge (ie, making a private doctype) | PDVAX::P_DAVIS | Peter Davis (aka SARAH::P_DAVIS) | Fri Jun 05 1987 14:55 | 21 |
Well, I tried changing this in the REPORT doctype, and it seemed to work ok. Actually, I wanted tenpointmono instead of ninepointmono, but there doesn't seem to be any. I couldn't find any reference to codexampleintextfont in the CUP$MEMO doctype, but I noticed that changing it in REPORT seemed to magically change it in MEMO, so I guess MEMO just defines the header, and uses REPORT for the body of the memo. Now, since I've been monkeying around with REPORT, I'd like to define my own doctype based on it. I'll call it GENERAL, since you're no longer using that. I've copied the REPORT design file to [DOC$TOOLS.LOCAL.FORMATS]PD$GENERAL.DESIGN. What else do I have to do to add this design definition to the database? Since I'm now going to have a private doctype, I'd still like to know how to center the damn title and abstract lines. Is there an easy way to do this? Thanks. -pd | |||||
468.3 | modify doc$designs.dat | CLOSET::ANKLAM | Mon Jun 08 1987 10:13 | 10 | |
Add an entry to the file DOC$DESIGNS.DAT in DOC$LOCAL_FORMATS, such as: name GENERAL/definitions=TAG$REPORT/macros=PD$GENERAL/fonts=TEX$STANDARD_FONT (the last item is tex$standard_fonts ) this entry has to be written all on one line. use the existing entries in that file as a model. patti anklam |