aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index 1ac79feca..5428e9ad7 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -709,20 +709,20 @@ Ellipses\ldots{}and\ldots{}and\ldots{}.
\item
\cite[22-23]{smith.1899}
\item
- $2+2=4$
+ \(2+2=4\)
\item
- $x \in y$
+ \(x \in y\)
\item
- $\alpha \wedge \omega$
+ \(\alpha \wedge \omega\)
\item
- $223$
+ \(223\)
\item
- $p$-Tree
+ \(p\)-Tree
\item
Here's some display math:
\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]
\item
- Here's one that has a line break in it: $\alpha + \omega \times x^2$.
+ Here's one that has a line break in it: \(\alpha + \omega \times x^2\).
\end{itemize}
These shouldn't be math:
@@ -888,7 +888,8 @@ With an ampersand: \url{http://example.com/?foo=1\&bar=2}
It should.
\end{itemize}
-An e-mail address: \href{mailto:nobody@nowhere.net}{nobody@nowhere.net}
+An e-mail address:
+\href{mailto:nobody@nowhere.net}{\nolinkurl{nobody@nowhere.net}}
\begin{quote}
Blockquoted: \url{http://example.com/}