CoCalc
Sharedlatex-tests / small.texOpen in CoCalc
Author: Harald Schilly
1
\documentclass{article}
2
3
% set font encoding for PDFLaTeX or XeLaTeX
4
\usepackage{ifxetex}
5
\ifxetex
6
\usepackage{fontspec}
7
\else
8
\usepackage[T1]{fontenc}
9
\usepackage[utf8]{inputenc}
10
\usepackage{lmodern}
11
\fi
12
13
% used in maketitle
14
\title{Title of Document}
15
\author{Name of Author}
16
17
% Enable SageTeX to run SageMath code right inside this LaTeX file.
18
% documentation: http://mirrors.ctan.org/macros/latex/contrib/sagetex/sagetexpackage.pdf
19
% \usepackage{sagetex}
20
21
\begin{document}
22
\maketitle
23
24
\end{document}
25