-
-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathsample.tex
63 lines (48 loc) · 1.6 KB
/
sample.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\title{JupyterLab \LaTeX}
\date{}
\maketitle
test
$5_{3_{4} + 4_{3} + 5^{4}}$
\section{Introduction}
This is a sample document demonstrating the ability to live-edit
\LaTeX documents in JupyterLab.
\\
Right-click on this document, and select "Show LaTeX Preview".
A new panel should open up on the right with the PDF that is generated
by this document. If there are any errors in the document, an
error panel should open below.
\\
Test
\\
We can write equations:
\begin{equation}
\rho \left( \frac{\partial \mathbf{u}}{\partial t} + \mathbf{u} \cdot \nabla \mathbf{u} \right) =
-\nabla P + \eta \nabla^2 \mathbf{u} + \rho \mathbf{g}.
\label{eq:Navier–Stokes}
\end{equation}
\\
And we can write tables:
\begin{center}
\begin{tabular}{ | l | c | r| }
\hline
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center}
\centering{Right-click on this document, and select "Show LaTeX Preview". A new panel should open up on the right with the PDF that is generated by this document. If there are any errors in the document, an error panel should open below.}
We can reference equations by their numbers, i.e. Equation (\ref{eq:Navier–Stokes}).
Hello
We can reference equations by their numbers, i.e. Equation (\ref{eq:Navier–Stokes}).
\subsection{We can add new subsections}
And we can include images, such as the Jupyter logo:
\begin{center}
\includegraphics[width=0.65\textwidth]{images/jupyter_logo.png}
\end{center}
\pagebreak
You can also use SyncTeX by typing ⌘(CMD)/CTRL+⇧(SHIFT)+X.
\end{document}