Skip to content
Snippets Groups Projects
Select Git revision
  • 2c1a3321008a40d974cf4dff56b9c613502b8a0e
  • master default protected
  • patch-1
  • headers
  • revampProbStat
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • untagged-5f91b9934a0d64190e08
  • untagged-185a5c9790d5fd86d5a7
  • untagged-d08ea895726d1693fe75
  • untagged-0a69f730a9edf8f452c2
  • untagged-da21599a55453b349309
  • untagged-c23b343a32e6ba6b41ef
  • untagged-f970fb8b2d5aa387c7e1
  • untagged-82bd404cbb7da09ef714
  • untagged-9d1a8d01c160be73c2d7
  • untagged-a7d0fd1e09f98f58b2e7
  • untagged-67162b0c997bec772454
  • untagged-e4eb7c83718bffcd6dc3
  • untagged-942bdedb39bd9d9a9db2
  • untagged-2023d0fb6c34f29165ee
  • untagged-45a5d503565c4f0dc073
25 results

default.latex

Blame
  • Forked from orestis.malaspin / math_tech_info
    Source project has a limited visibility.
    default.latex 7.97 KiB
    \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
    $if(beamerarticle)$
    \usepackage{beamerarticle} % needs to be loaded first
    $endif$
    $if(fontfamily)$
    \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
    $else$
    \usepackage{lmodern}
    $endif$
    $if(linestretch)$
    \usepackage{setspace}
    \setstretch{$linestretch$}
    $endif$
    \usepackage{amssymb,amsmath,bm}
    \usepackage{ifxetex,ifluatex}
    \usepackage{fixltx2e} % provides \textsubscript
    \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
      \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
      \usepackage[utf8]{inputenc}
    $if(euro)$
      \usepackage{eurosym}
    $endif$
    \else % if luatex or xelatex
    $if(mathspec)$
      \ifxetex
        \usepackage{mathspec}
      \else
        \usepackage{unicode-math}
      \fi
    $else$
      \usepackage{unicode-math}
    $endif$
      \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
    $for(fontfamilies)$
      \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
    $endfor$
    $if(euro)$
      \newcommand{\euro}{€}
    $endif$
    $if(mainfont)$
        \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
    $endif$
    $if(sansfont)$
        \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
    $endif$
    $if(monofont)$
        \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
    $endif$
    $if(mathfont)$
    $if(mathspec)$
      \ifxetex
        \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
      \else
        \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
      \fi
    $else$
      \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
    $endif$
    $endif$
    $if(CJKmainfont)$
        \usepackage{xeCJK}
        \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
    $endif$
    \fi
    % use upquote if available, for straight quotes in verbatim environments
    \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
    % use microtype if available
    \IfFileExists{microtype.sty}{%
    \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
    \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts