Article View: comp.text
Article #4503Implicit multiplication in assignments: tex question
From: Alan Lee Wendt
Date: Mon, 07 Mar 1988 22:16
Date: Mon, 07 Mar 1988 22:16
16 lines
1121 bytes
1121 bytes
On page 252 of the tex book the assignment \voffset=2\baselineskip seems to multiply a glue parameter by the constant 2 and assign to a dimen parameter. On the other hand, on page 208 a similar-looking assignment, containing the string "=0\fullypaid" concatenates a "0" to \fullypaid, to possibly get 021 if \fullypaid evaluates to "21". The question is: when do we get implicit multiplication, and when do we get concatenation? I assume that if we jam together a digit and a <glue parameter> it multiplies them, but I can't find any discussion of this. For example, the assignment \voffset=2\baselineskip is apparently of the form <dimen parameter> <equals> <integer constant> <glue parameter>. This form is not one of those given as a legal assignment on page 276. Alan Wendt
Technical Details
Message-ID:
<4180@megaron.arizona.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!uwvax!oddjob!hao!noao!arizona!wendtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!uwvax!oddjob!hao!noao!arizona!wendt From: wendt@arizona.edu (Alan Lee Wendt) Newsgroups: comp.text Subject: Implicit multiplication in assignments: tex question Message-ID: <4180@megaron.arizona.edu> Date: 7 Mar 88 22:16:25 GMT Organization: U of Arizona CS Dept, Tucson Lines: 16