[XeTeX] asterism
teginch at bluewin.ch
teginch at bluewin.ch
Wed Jan 13 21:57:57 CET 2010
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
>
More information about the XeTeX
mailing list