[XeTeX] asterism

John Was john.was at ntlworld.com
Wed Jan 13 23:03:50 CET 2010


Hello

I think even in LaTeX you should be able to use the basic TeX command 
\centerline:

\centerline{\asterism}

Does that work for you?


John

----- Original Message ----- 
From: <teginch at bluewin.ch>
To: <xetex at tug.org>
Sent: Wednesday, January 13, 2010 8:57 PM
Subject: Re: [XeTeX] asterism


> Hmm.... one more question.
> I must admit that I'm still a novice in Latex and if this /asterism 
> command works fine at first sight, I find no way
> to center it, neither by adding \begin{center} to the newcommand 
> definition, nor by adding it where the new command is
> actually used. The asterism sticks left whatever I try. How can I center 
> it, either directly in the command definition
> or probably rather at the command usage ?
>
>
>
> Tom
>
> -------
>
> "How vain is it to sit down to write, if you have not stood up to live." 
> H.D. Thoreau
>
>
>
>
>
>
>
>>
>
>>Some time ago, Peter Flynn suggested this on comp.text.tex (changed 
>>slightly to my own needs):
>
>>
>
>>%%=========8><--------%%
>
>>
>
>>% !TEX encoding = UTF-8 Unicode
>
>>% !TEX TS-program = XeLaTeX
>
>>
>
>>
>
>>\documentclass{article}
>
>>
>
>>\usepackage{xltxtra}
>
>>\setromanfont{Adobe Garamond Pro}
>
>>
>
>>\newcommand{\asterism}{%
>
>> \smash{%
>
>> \raisebox{-.15em}{%
>
>> \setlength{\tabcolsep}{0.05em}%
>
>> \begin{tabular}{@{}cc@{}}%
>
>> \multicolumn2c*\\[-.75em]*&*%
>
>> \end{tabular}%
>
>> }%
>
>> }%
>
>>}
>
>>
>
>>\begin{document}
>
>>
>
>>This \asterism\ is an asterism.
>
>>
>
>>\end{document}
>
>>
>
>>%%=========8><--------%%
>
>>
>
>>Stephen Moye
>
>>
>
>>
>
>>--------------------------------------------------
>
>>Subscriptions, Archive, and List information, etc.:
>
>>  http://tug.org/mailman/listinfo/xetex
>>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
> 



More information about the XeTeX mailing list