[comp.text.tex] zero line spacing

elev35@castle.ed.ac.uk (R C Smith) (11/09/90)

How can I set zero line spacing within the figure environment, I have
created a set of characters with metafont which are all the same size
(1.5mm x 1.5mm) to graphically show my data. I am having to use \vspace* to
join the lines up to give a neat result.

I'm sure that there must be an easier way.
Sorry for asking such a basic question but I hope that someone can show
me the proper way to do this.

adTHANKSvance
Robin Smith
elev35@uk.ac.ed.castle

An example of what I'm doing...

\begin{figure}
\begin{wafer}      % wafer is my new font of black and white boxes and lines
\begin{center}
\vspace*{-6.5mm}x=============x=======x\newline
\vspace*{-6.5mm}|.............|.......|\newline
\vspace*{-6.5mm}|.............|.......|\newline
\vspace*{-6.5mm}|.............|.......|\newline
% stuff deleted
\vspace*{-6.5mm}|+++++++++++++|.......|\newline
\vspace*{-6.5mm}|+++++++++++++|.......|\newline
\vspace*{-6.5mm}|+++++++++++++|.......|\newline
\vspace*{-6.5mm}|+++++++++++++|.......|\newline
\vspace*{-6.5mm}x=============x=======x\newline
\end{center}
\end{wafer}
\caption{Hit and miss map}
\end{figure}

eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) (11/10/90)

elev35@castle.ed.ac.uk (R C Smith) writes:

>How can I set zero line spacing within the figure environment, I have
In LaTeX there is a not disabled plain TeX command (as an aside:
there are a lot of those, even when they overlap with regular
LaTeX commands. So much for the difference between plain TeX
and LaTeX) \offinterlineskip that will force all subsequent
line (inside the current group at least) to be smack on top
of each other.

>Sorry for asking such a basic question but I hope that someone can show
>me the proper way to do this.
The solution is also pretty simple, tho' I doubt that it's ever
mentioned in the LaTeX book. But how the solution works
isn't simple!

>\vspace*{-6.5mm}x=============x=======x\newline
>\vspace*{-6.5mm}|.............|.......|\newline
Now this I find suspicious. 6.5mm is an awful distance.
Are you quite sure that these characters of yours don't have
a lot of whitespace on top/bottom?

Victor.