🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11841

Re: Macro (?) definition

#11841
From: Paasschens
Date: Wed, 21 Feb 1996 00:00
33 lines
1636 bytes
In <4gb17r$anr@news-sop.inria.fr> greg@cajal.inria.fr (Gregoire Malandain) writes:

>I'm perhaps still a newbie in LaTeX and I've got
>a problem that I can not solve (and I try hard).

>Here the problem :

>I've got a first file, say misc.tex which will contains a lot of data like

>%%%%%%%%%%% begin of misc.tex
>\input{header}

>\ACOL{A1}
>\BCOL{A2}
>\CCOL{A3}
>\makeform
Here you have three lines endign with } which give three times a
space, which causes the first column to appear not centered.

>\def\makeform{
>	\acol & \bcol & \ccol \\ \hline
>	\RESET}
After the \hline, LaTeX sees \RESET, and puts this in a column. If
only the \end{tabular} follows, you are left with an empty and only
the first column.
solution:
>\def\makeform{
>       \acol & \bcol & \ccol\RESET\\ \hline}

--
greetings,  Jeroen Paasschens  | Disclaimer - These are my opinions, and
  Philips Research Laboratories| not those of the company I work for.
  Eindhoven, The Netherlands   |"Physics is simple, but subtle" (Ehrenfest)
Technical Details
Message-ID: <paassche.824892827@hpas8>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4gb17r$anr@news-sop.inria.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,2ebc5a81f8bf4360
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 10ee61,2ebc5a81f8bf4360
X-Google-Attributes: gid10ee61,public
From: paassche@natlab.research.philips.com (Paasschens)
Subject: Re: Macro (?) definition
Date: 1996/02/21
Message-ID: <paassche.824892827@hpas8>
X-Deja-AN: 140386037
sender: news@natlab.research.philips.com (USENET News System)
references: <4gb17r$anr@news-sop.inria.fr>
organization: Philips Research Laboratories Eindhoven, Netherlands
newsgroups: comp.text.tex,fr.comp.text.tex