T.R | Title | User | Personal Name | Date | Lines |
---|
544.1 | REPLY IS COMING IN LATER TOPIC | VAXUUM::KOHLBRENNER | | Mon Jun 22 1987 17:25 | 9 |
| This question keeps being asked and the answer keeps getting
buried under other topics. All I could find in 20 minutes
of looking is 442.1.
I'll try to write a definitive answer under a topic with a
label that clearly says what the topic is about so we
can all find it.
bill
|
544.2 | references | VAXUUM::KOHLBRENNER | | Mon Jun 22 1987 17:58 | 1 |
| See 546.0 and the discussion in 508.*
|
544.3 | CUP$MEMO.DESIGN | CLOSET::ANKLAM | | Mon Jun 22 1987 19:24 | 3 |
|
An alterate solution to this particular problem, however, is to
modify the CUP$MEMO.DESIGN file and to use that.
|
544.4 | Some problems with \gutterwidth in memo style | IJSAPL::KLERK | Theo de Klerk | Wed Jul 15 1987 05:17 | 38 |
| I've tried the Interoffice Memo suggestion of .-1, but still encounter
some problems. First of all, I discover that most of the atomic functions
of Knuth's TeX still exist. So I've dusted off the TeXbook and put it
to use. Is there any statement to be made about what has/has not been
retained from 'ol TeX before it started to DECspeak?
Using the Internal Memo style, I discovered that the To /From line
is build of \hbox-es of \hsize length, subdivided into four smaller
boxes to accomodate the prompts and the arguments of the <TO>/<FROM> tags
However, I tried to modify the design file by defining a \gutterwidth
of 4 cm. This is ignored by the memo. I need the gutter as a small
Digital logo goes into the margin, while the rest of the test remains
in the logical page.
The only work around I found was to make the \hbox-es above depending
on 5 instead of 4 smaller \hboxes. The first (and newly added) box is
defined as
\hbox to \gutterwidth{\smalldeclogo\hss}
,followed by the <TO> and <FROM> boxes.
On all other lines, this new hbox is blank ( \hbox to \gutterwidth{} ).
Using this extra box on each line of output does move all text to the
left by 4 cm and does put the small 12pt Digital logo in the margin,
but I have no control over the main text body that the user will write.
How do I force all their paragraphs to shift-right by \gutterwidth?
The original idea was to make the digital logo a title of an otherwise
blank hanging note, which is also forced in the gutter margin.
But since I cannot get the gutter to work, the device converter complains
about not being able to set text outside the page (reasonable complaint).
So to wrap it up: how do I get the gutterwidth to work in the memo style?
how do I force user text to indent by \gutterwidth
if the gutter does not work
Theo
|
544.5 | DIGITAL_MEMO.DESIGN | IJSAPL::KLERK | Theo de Klerk | Wed Jul 15 1987 13:59 | 236 |
| For those who want to try, this is the resulting design file. You need
to add it as a new document style in your local DOC$DESIGNS.DAT .
I've modified the digital logo to the text DIGITAL so you won't need
the chicklet font at 14pt we've got here.
If anyone can succeed in getting all text shifted the proper \gutterwidth,
I'd be most thankful. Also: does anyone know how to make a footnote without
the horizontal bar on top of it?
Theo
%++ IJSAPL_MEMO.DESIGN
%
% author: Patti Anklam
% date: 84 02 29
%
% fROM cup$memo.design
%
% Modified: 87 07 14 Theo de Klerk
% Added some comments to remember what's going on and
% modify layout to conform to house style as much as possible
% It needs the DIGITAL14.TFM /.NFT files in [TEX.LN03.FONTS]
% transported from LaTeX, which are defined by the \normaldeclogo
% command in CUP$IJSAPL_ELEMENTS.TEX
%
% This part contains the page layout/setup information
\input doc$standard_formats:tex$report.design
%
\global\def\SDMLdoctype{MEMO}
%
\hsize=19cm % of which 3.5 cm is used as gutterwidth
\physicalpagewidth=\hsize % this will set headers/footers to match new hsize
\gutterwidth=8pc % allow left gutter for dec logo
% ^^^ does not seem to work
\blockindent=8pc % must be >= to \gutterwidth
\vsize=26cm % use full A4 size
\hoffset=-15mm % let margin approx. 1cm from left edge
\voffset=-11mm % let top header start at 14mm from top edge
\setleftfooter{} %turn off footers
\setrightfooter{}
\setfootnotefont{\eightpoint}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Now, memo-specific definitions %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\xdef\monthname{\ifcase \the\month Month~0\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\else Unknown~Month\fi}
\def\memoheadfont{\twelvepointss\bf}
\def\memopromptfont{\tenpointss\rm}
%
% define the prompt boxes \box0 and \box2 to determine their sizes
%
\setbox0=\hbox{\memopromptfont SUBJECT:\hskip 6pt}
\setbox2=\hbox{\memopromptfont FROM:\hskip 6pt}
%
% define these sizes \xxx-promptwidth as equal to the width of the above boxes
%
% TO: FROM:
% |----0------| firstpromptwidth
% |------------------------------------|secondpromptindent
% |--|memoheadgutter
% |-----2------|secondpromptwidth
% |----------1----------|individual
%
\newskip\firstpromptwidth \firstpromptwidth=\wd0
\newskip\secondpromptwidth \secondpromptwidth=\wd2
\newskip\secondpromptindent \secondpromptindent=245pt
\newskip\memoheadgutter \memoheadgutter=3pc %gutter before second col of
%memo header
\def\defaultmemoheader{{\memoheadfont INTEROFFICE MEMORANDUM}\hss}
%
% Define a vertical box, aligned on top line, as indicated as "individual"
% above, and fill it with the <TO> name
%
\def\individualto#1{%
\setbox0=\vtop{\hsize=\secondpromptindent
\advance\hsize by -\firstpromptwidth
\advance\hsize by -\memoheadgutter
\tenrm#1\par}%
%
% next, make the box of zero depth, and start writing header lines of memo
%
\dp0=0pt
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox{\ninepoint\rm Digital Equipment bv}%
}
%
% skip 27mm and write the Interoffice header. Leave another 12mm before
% starting on the TO/FROM block
%
\vskip 27mm
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox{\defaultmemoheader}%
}
\vskip 12mm
%
% Include standard footnote - don't know how to get rid of the footnote bar
%
\footnote{}{Handelsregister KvK Utrecht 51562 - Bank A.B.N. Utrecht account
no. 55.50.28.399 - Postrekening van de bank 1412 \block{1}
Op alle aanbiedingen en afleveringen zijn onze Algemene Verkoopsvoorwaarden,
zoals gedeponeerd bij de KvK, Utrecht,
\block{1} onder nummer 535, van toepassing}
%
% Create a box of 2 boxes of 2 boxes of 2 boxes:
% |------------------------------------------------------------| box
% DIGITAL |To-------|firstpromptwidth
% |-------------------|box0 text
% |Date:---|secondpromptwidth
% |--datefield--|
%
\hbox to \hsize % line box made of:
{\hbox to \gutterwidth{DIGITAL\hss}% % 1. logo gutter box
\hbox to \secondpromptindent % 2a. To: box
{\hbox to \firstpromptwidth{\memopromptfont TO:\hss}%
\box0% % 2b. adressee box
\hss}%
\hbox to \secondpromptwidth{\memopromptfont DATE:\hss}% 3. DATE: prompt box
\tenrm \number\day\ \monthname\ \number\year % 4. actual date box
\hss}
}
\def\from#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}% % keep gutter clear
\hbox to \secondpromptindent{\hss}% % no text for first 2 boxes
\hbox to \secondpromptwidth{\memopromptfont FROM:\hss}%
\vtop{\advance \hsize by -\secondpromptindent
\advance \hsize by -\secondpromptwidth
#1\par}%
\hss}
}
\def\dept#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \secondpromptindent{\hss}%
\hbox to \secondpromptwidth{\memopromptfont DEPT:\hss}%
\vtop{\advance \hsize by -\secondpromptindent
\advance \hsize by -\secondpromptwidth
#1\par}%
\hss}
}
\def\ext#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \secondpromptindent{\hss}%
\hbox to \secondpromptwidth{\memopromptfont EXT:\hss}%
\vtop{\advance \hsize by -\secondpromptindent
\advance \hsize by -\secondpromptwidth
#1\par}%
\hss}
}
\def\mailstop#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \secondpromptindent{\hss}%
\hbox to \secondpromptwidth{\memopromptfont LOC:\hss}%
\vtop{\advance \hsize by -\secondpromptindent
\advance \hsize by -\secondpromptwidth
#1\par}%
\hss}
}
\def\enetaddr#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \secondpromptindent{\hss}%
\hbox to \secondpromptwidth{\memopromptfont ENET:\hss}%
\vtop{\advance \hsize by -\secondpromptindent
\advance \hsize by -\secondpromptwidth
#1\par}%
\hss}
}
\def\subject#1#2{%
\omitnextheader
\setrightheader{Page \number\pageno}
\setleftheader{Page \number\pageno}
\vskip 24pt%
\hbox{%
\hbox to \gutterwidth{}%
\hbox to \firstpromptwidth{\memopromptfont SUBJECT:\hss}%
\vtop{\dimen0=\hsize \advance\dimen0 by -\firstpromptwidth
\hsize=\dimen0 \tenrm#1\par}%
}
\hbox{%
\hbox to \gutterwidth{}%
\hbox to \firstpromptwidth{\hss}%
\vtop{\dimen0=\hsize \advance\dimen0 by -\firstpromptwidth
\hsize=\dimen0 \tenrm#2\par}%
}
\vskipbb{24pt}
\gutterwidth=8pc}
\def\cclist#1{%
\vskip 12pt%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \firstpromptwidth{\memopromptfont cc:\hss}%
\tenrm#1\hss}}
\def\cclistwithoutarg{%
\vskip 12pt%
\hbox{\hbox to \gutterwidth{}%
\vbox to 0pt{%
\hbox to \firstpromptwidth{\memopromptfont \strut cc:\hss}%
\vss}%
}%
\nointerlineskip}
\def\singlecc#1{%
\vskip 12pt%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \firstpromptwidth{\memopromptfont \strut cc:\hss}%
\tenrm#1\hss}
}
\def\cc#1{%
\hbox to \hsize{%
\hbox to \gutterwidth{}%
\hbox to \firstpromptwidth{\hss}%
{\memopromptfont\strut}\tenrm#1\hss}}
|
544.6 | Business Letter with logo? | COOKIE::JOHNSTON | | Wed Jul 15 1987 14:24 | 12 |
| Has anyone modified LETTER so that it prints a logo at the top left edge
and "digital blah blah" at the bottom, like the corporate letterhead?
I'm interested in either a modified design type, or a simply inclusion
of the TeX commands.
If yes, I'd be most grateful if you posted the info here or in note 593
which discusses templates.
Thanx
Rose
|
544.7 | Similar to Office memo... | IJSAPL::KLERK | Theo de Klerk | Wed Jul 15 1987 16:18 | 29 |
| Sigh... life was so simple in LaTeX...
I've got a Digital letterstyle in LaTeX, but until I have full documentation
of Document, rather than finding my way throuh expanded .TEX files, STT
files and other not too well documented things which may and yet may not
look like TeX, I'll wait a while...
Theo
P.S.
I think the Digital logo goes into the left margin for the dutch
house style, causing much the same problems as the interoffice style
Digital Equipment bv
Europalaan 44
Utrecht
telex: ....
D|I|G|I|T|A|L Mr. Drofnats
Inst. of Mathematics
University of Stanford
Stanford
Dear .....
|
544.8 | To be continued... in note 679 | IJSAPL::KLERK | Theo de Klerk | Thu Jul 16 1987 13:45 | 3 |
| See also note 679 for a "working" dutch interoffice memo
Theo
|