[OS X TeX] Invisible character
Alain Schremmer
Schremmer.Alain at gmail.com
Thu Jun 22 11:26:01 EDT 2006
Jonathan Kew wrote:
> On 22 Jun 2006, at 3:54 pm, Alain Schremmer wrote:
>
>>
>> 1) Robertson's macros do use the bullet as place-holder. But,
>> occasionally, I use "sparse" tables in which I "leave [many place-
>> holders] as-is" hence my quest for an invisible place-holder.
>
>
> Another option would be to redefine the bullet so that it disappears.
> For example,
>
> \catcode`\•=\active \def•{}
>
> will do this, by making the bullet character a macro that expands to
> nothing.
>
> You'd need to place this *before* the \begin{tabular} or whatever,
> but might want to place it *within* a surrounding environment such as
> {centered}, so that the effect is contained and doesn't affect any
> bullets that you may happen to use later in the document.
>
> (It wouldn't interfere with bullets auto-generated by LaTeX, e.g., by
> {itemize}, only those that occur as literal characters in the input
> text.)
Now here is the equivalent of High Tech!
As in the following?
\begin{center}
\catcode`\•=\active \def•{}
\begin{tabular}{@{} ccc @{}}
\toprule
%Row0
•
& •
& •
\\
\midrule
%Row1
•
& •
& •
\\
\bottomrule
\end{tabular}
\end{center}
(This is the eternal story: you lend a hand and the guy asks for the
whole arm.)
Grateful regards
--schremmer
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list