Article View: comp.text.tex
Article #11005how to eliminate unwanted interbox space in macro?
From: Chet A. Creider
Date: Wed, 06 Jan 1993 23:54
Date: Wed, 06 Jan 1993 23:54
29 lines
1471 bytes
1471 bytes
The following works in the sense that the fbox boxes don't have space
between them:
\documentstyle[12pt]{article}
\begin{document}
\fbox{\rule[-.1cm]{0cm}{.4cm}laak}\fbox{\rule[-.1cm]{0cm}{.4cm}wa}\fbox{\rule[-.1cm]{0cm}{.4cm}it} \\
\makebox[3cm]{$\uparrow$} \\
\makebox[0.2cm]{ }\framebox[3.0cm]{Finite control} \\
\end{document}
However, when I try to write a macro to make the construction process a little
easier, a space appears betweens each box. Is there anyway to get rid of this?
\documentstyle[12pt]{article}
\newcommand{\fabox}[1]
{
\fbox{\rule[-.1cm]{0cm}{.4cm}#1}
}
\begin{document}
\fabox{laak}\fabox{wa}\fabox{it} \\
\makebox[3cm]{$\uparrow$} \\
\makebox[0.2cm]{ }\framebox[3.0cm]{Finite control} \\
\end{document}
Finally, as is probably obvious, my normal language is -me, not LaTeX.
Is there a simpler way to do what I'm doing within LaTeX?
Many thanks,
Chet Creider
<creider@csd.uwo.ca>
Technical Details
Message-ID:
<1993Jan6.235437.6104@julian.uwo.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!torn!newshost.uwo.ca!taptet.sscl.uwo.ca!creiderShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!torn!newshost.uwo.ca!taptet.sscl.uwo.ca!creider From: creider@taptet.sscl.uwo.ca (Chet A. Creider) Subject: how to eliminate unwanted interbox space in macro? Organization: University of Western Ontario, London Distribution: comp.text.tex Date: Wed, 6 Jan 1993 23:54:37 GMT Message-ID: <1993Jan6.235437.6104@julian.uwo.ca> Sender: news@julian.uwo.ca (USENET News System) Nntp-Posting-Host: taptet.sscl.uwo.ca Lines: 29