Skip to content

Jacobbishopxy/latex-template

Repository files navigation

Latex Template

Real LaTeX projects

Note

  • commands.tex: customized commands, can be use anywhere because it is imported in the main file by \input{commands}.

  • style.sty: style file, affects all the related line or blocks (imported in the main file by \usepackage{./style} and \lstset{style=mystyle}).

  • custom theorem style

    \newtheoremstyle{mytheoremstyle}                          % name
          {\topsep}                                           % Space above
          {\topsep}                                           % Space below
          {\itshape\fontfamily{ptm}\selectfont}               % Body font
          {}                                                  % Indent amount
          {\fontfamily{ptm}\selectfont\scshape\color{blue}}   % Theorem head font
          {:}                                                 % Punctuation after theorem head
          {.5em}                                              % Space after theorem head
          {}                                                  % Theorem head spec

    Theorem head spec: can be left empty, meaning ‘normal’

About

A simple multi file LaTeX template project

Resources

License

Stars

Watchers

Forks

Languages