1 | initial version |

You found a bug!! When, you call show, Sage calls `view`

and `latex`

functions, and the `latex`

function produced with `Z5`

is the following:

```
sage: T = Z5.multiplication_table()
sage: latex(T)
{\setlength{\arraycolsep}{2\ex}
\begin{array}{r|*{5}{r}}
\multicolumn{1}{c|}{\ast}&a&b&c&d&e\\\hline
{}a&a&a&a&a&a\\
{}b&a&b&c&d&e\\
{}c&a&c&e&b&d\\
{}d&a&d&b&e&c\\
{}e&a&e&d&c&b\\
\end{array}}
```

And it seems that `pdflatex`

is not able to understand the first line.

2 | No.2 Revision |

You found a bug!! When, you call show, Sage calls `view`

and `latex`

functions, and the `latex`

function produced with `Z5`

is the following:

```
sage: T = Z5.multiplication_table()
sage: latex(T)
{\setlength{\arraycolsep}{2\ex}
\begin{array}{r|*{5}{r}}
\multicolumn{1}{c|}{\ast}&a&b&c&d&e\\\hline
{}a&a&a&a&a&a\\
{}b&a&b&c&d&e\\
{}c&a&c&e&b&d\\
{}d&a&d&b&e&c\\
{}e&a&e&d&c&b\\
\end{array}}
```

And it seems that `pdflatex`

is not able to understand the first line.

A first worksroud is to avoid latex so that the `show`

function shwows the ascii representation of T as follows:

```
sage: show(str(T))
```

A second workaround if you still want a latex typeset is to modify the latex representation, and remove its first line:

```
sage: show(LatexExpr(latex(T).replace('\\setlength{\\arraycolsep}{2\ex}','')))
```

3 | No.3 Revision |

You found a bug!! When, you call show, Sage calls `view`

and `latex`

functions, and the `latex`

function produced with `Z5`

is the following:

```
sage: T = Z5.multiplication_table()
sage: latex(T)
{\setlength{\arraycolsep}{2\ex}
\begin{array}{r|*{5}{r}}
\multicolumn{1}{c|}{\ast}&a&b&c&d&e\\\hline
{}a&a&a&a&a&a\\
{}b&a&b&c&d&e\\
{}c&a&c&e&b&d\\
{}d&a&d&b&e&c\\
{}e&a&e&d&c&b\\
\end{array}}
```

And it seems that `pdflatex`

is not able to understand the first line.

A first worksroud is to avoid latex so that the `show`

function ~~shwows ~~shows the ascii representation of T as follows:

```
sage: show(str(T))
```

A second workaround if you still want a latex typeset is to modify the latex representation, and remove its first line:

```
sage: show(LatexExpr(latex(T).replace('\\setlength{\\arraycolsep}{2\ex}','')))
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.