[GAP Forum] Is it possible to convert a GAP character table into a table with LaTeX format?

dmitrii.pasechnik at cs.ox.ac.uk dmitrii.pasechnik at cs.ox.ac.uk
Fri Sep 7 11:24:02 BST 2018


Dear Forum, dear Bernhard,

On Thu, Sep 06, 2018 at 05:01:43PM +0200, Bernhard Boehmler wrote:
> I'd like to ask the following question.
> 
> Is there an automatized way to get a LaTeX - document or LaTeX - string
> which display a character table computed with GAP nicely, for example as
> array or as table?

The only possibility I know is in Sagemath (using GAP as a backend)

There (note, it's Python, not GAP language) you can e.g. do

sage: g=AlternatingGroup(5)
sage: t=g.character_table()
sage: latex(t)
\left(\begin{array}{rrrrr}
1 & 1 & 1 & 1 & 1 \\
3 & -1 & 0 & \zeta_{5}^{3} + \zeta_{5}^{2} + 1 & -\zeta_{5}^{3} - \zeta_{5}^{2} \\
3 & -1 & 0 & -\zeta_{5}^{3} - \zeta_{5}^{2} & \zeta_{5}^{3} + \zeta_{5}^{2} + 1 \\
4 & 0 & 1 & -1 & -1 \\
5 & 1 & -1 & 0 & 0
\end{array}\right)


This is certainly not the complete table in the sense that it misses
such important information as the labels on the columns, but still it's
better than nothing.  (Behind the scenes, it's a LaTeXificatoin of a
matrix of cyclotomic numbers, not anything dedicated to character tables
specifically).


There are few things along these lines implemented in GAP directly, but
not for the character tables, see

71.11-5 LaTeXStringDecompositionMatrix
and
27.11 Obtaining LaTeX Representations of Objects

HTH,
Dima

> 
> Thanks for the help in advance.
> 
> Yours, sincerely
> Bernhard Boehmler
> _______________________________________________
> Forum mailing list
> Forum at gap-system.org
> https://mail.gap-system.org/mailman/listinfo/forum



More information about the Forum mailing list