(TeX-add-style-hook "calegari-stein-tor"
 (lambda ()
    (LaTeX-add-environments
     "theorem"
     "sublemma"
     "lemma"
     "cor"
     "prop"
     "question"
     "remark"
     "quest"
     "df"
     "conj")
    (LaTeX-add-bibitems
     "agashe-stein:bsd"
     "CE"
     "lario-schoof"
     "eisenstein"
     "iwasawa"
     "kohel-stein:ants4"
     "OT"
     "Raynaud"
     "Ribet"
     "ribet:congrel"
     "ribet-stein:pcmi"
     "sage")
    (LaTeX-add-labels
     "theorem:rank"
     "sec:abvarA"
     "theorem:computations"
     "thm_p1"
     "thm_p2"
     "thm_p3"
     "thm_p4"
     "lem:witt"
     "lemma:equal"
     "lemma:maximal"
     "lemma:above"
     "lemma:extra"
     "lemma:contra"
     "lemma:sofarupyouforgotit"
     "lemma:prep"
     "sec:quo_eis"
     "sec:A15"
     "sec:indexOm"
     "sec:moddeg"
     "sec:kernels"
     "sec:pathology"
     "sec:minisog"
     "sec:minisog_table")
    (TeX-add-symbols
     '("todo" 1)
     '("textcyr" 1)
     "Sha"
     "isom"
     "fppf"
     "wt"
     "rhobar"
     "GL"
     "Qbar"
     "Gal"
     "F"
     "Fbar"
     "End"
     "eps"
     "Frob"
     "Ext"
     "Hom"
     "Sel"
     "otherI"
     "et"
     "C"
     "m"
     "p"
     "I"
     "J"
     "M"
     "Ma"
     "Spec"
     "ra"
     "Q"
     "Z"
     "ZZ"
     "N"
     "T"
     "A"
     "old"
     "myred")
    (TeX-run-style-hooks
     "hyperref"
     "hypertex"
     "listings"
     "color"
     "url"
     "mathrsfs"
     "a4wide"
     "euscript"
     "latexsym"
     "amssymb"
     "amsthm"
     "amsfonts"
     "amsmath"
     "xy"
     "all"
     "latex2e"
     "art12"
     "article"
     "12pt")))

