Ticket #4531: doc-4531.patch

File doc-4531.patch, 923 bytes (added by was, 14 years ago)
  • tut/tut.tex

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1227027173 28800
    # Node ID fed948c74e49fd888ceebff5c517e38f453a9273
    # Parent  c1b521ec9db5138354cacc3918e52bc7f1851321
    #4531 -- change so perm group gens are canonicalized
    
    diff -r c1b521ec9db5 -r fed948c74e49 tut/tut.tex
    a b  
    19551955\begin{verbatim}
    19561956sage: G = PermutationGroup(['(1,2,3)(4,5)', '(3,4)'])
    19571957sage: G
    1958 Permutation Group with generators [(1,2,3)(4,5), (3,4)]
     1958Permutation Group with generators [(3,4), (1,2,3)(4,5)]
    19591959sage: G.order()
    19601960120
    19611961sage: G.is_abelian()
     
    19681968sage: G.random_element()           # random output
    19691969(1,5,3)(2,4)
    19701970sage: print latex(G)
    1971 \langle (1,2,3)(4,5), (3,4) \rangle
     1971\langle (3,4), (1,2,3)(4,5) \rangle
    19721972\end{verbatim}
    19731973
    19741974You can also obtain the character table (in \LaTeX\ format) in \sage: