Open in CoCalc with one click!
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{Array in tex document}
15
\author{Dominique Laurain}
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
Some text before array.
25
26
\[\begin{array}{c|r|l} \rm center & \rm right & \rm left \\ \hline c & r & l \end{array}
27
\]
28
29
\[\frac{a}{b}\]
30
31
\end{document}
32
33
%configuration={"latex_command":"latexmk -pdf -f -g -bibtex -synctex=1 -interaction=nonstopmode 'Help_Asksage_array.tex'"}