# [texhax] Some questions about plain TeX and LaTeX

Morten Høgholm moho01ab at student.cbs.dk
Wed Nov 3 17:58:12 CET 2004

On Wed, 03 Nov 2004 12:35:02 -0300, Francisco Villafañe
<fvillafa at seznam.cz> wrote:

> 1) How can I do to typeset accented vocals and "ñ" in standard TeX
> whitout using control characters. I mean, something similar to LaTeX
> imputenc that allows to type á instead o \´a or \´{a}. I want to do the
> same but in plain TeX. Is that possible?

If I remember correctly, the cyrplain bundle contains a plainenc.tex that
allows you to use the LaTeX inputenc.sty in plain TeX. You might have fun
playing with that. Note that the simple
\catcode ñ=\active
\def ñ{\~{n}}
is likely to blow up if you try to move the information around.

> 2) In LaTeX, command \parbox is given this way:
> \parbox[position]{width}{text}. My question is... Is there a way to
> control not only the width of the box but also it´s height?

\parbox[pos][inner height][inner pos]{width}{arg}
--
Morten Høgholm

`