[XeTeX] centering a picture
Yves Codet
ycodet at club-internet.fr
Mon Aug 29 17:19:51 CEST 2005
Hello.
Here is another of my beginner's questions.
If, using the "float" package, I write this:
\begin{table}[H]
\begin{center}
\XeTeXpicfile "indus_pictogramme_figuier.gif" width 6cm
\caption{Pictogrammes de l’Indus: figuier.}
\end{center}
\end{table}
the caption is centered but the picture is at the left margin.
But if, imitating an example by Jonathan, I write this:
\begin{table}[H]
\begin{center}
\framebox{\setbox0=\hbox{\XeTeXpicfile
"indus_pictogramme_figuier.gif" width 6cm}\box0}
\caption{Pictogrammes de l’Indus: figuier.}
\end{center}
\end{table}
everything is centered. Is this a normal behaviour of LaTeX?
Incidentally, some time ago (about one year actually) members of this
list helped me to write Sanskrit hyphenation patterns. I have been
using them since then and they seem to work well: so far I haven't
noticed any unwanted hyphenation. I wrote to Johannes Braams, asking
him if he could modify Babel so as to allow the inclusion of these
patterns thanks to his package, but got no reply. Since they may be
useful to other people in the TeX community, I would be glad to put
them at their disposal. To whom should I send them, without them to
land into a spam box?
Kind regards,
Yves
More information about the XeTeX
mailing list