1 | initial version |
Regarding the "\tiny
doesn't work" part, you should add a $
before the LaTeX formula and you should escape the \
with another \
:
cond1 = ['$\\tiny${}{}{}{}$'.format(*w) for w in Ap]
2 | No.2 Revision |
Regarding the "\tiny
doesn't work" part, you should add add
a $
before the LaTeX formula and you should either
escape the \
with another \
:or use a raw string:
sage: cond1 = ['$\\tiny${}{}{}{}$'.format(*w) ['$\\tiny{}{}{}{}$'.format(*w) for w in Ap]
sage: cond1 = [r'$\tiny{}{}{}{}$'.format(*w) for w in Ap]
Regarding the table, it needs a list of lists, not just a list, so use extra brackets; and you want headers for the columns, so they form a row of headers or "header row".
sage: t3 = table([total_score_de_Borda], header_row=cond3)
sage: t3
$A$ $B$ $C$ $D$
+-----+-----+-----+-----+
717 691 669 613