diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-22 18:49:23 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-22 18:49:23 +0000 |
commit | c9e89e17934c6ead71e7b3e2d0ceb068963026fa (patch) | |
tree | 8b5352bcec8cf4fb9d25231fb0a868431f9bea5b /tests/writer.latex | |
parent | 9ddd464a7e6a434380a52ef69b97850e0cead138 (diff) | |
download | pandoc-c9e89e17934c6ead71e7b3e2d0ceb068963026fa.tar.gz |
Updated test suite for writers, adding tests for
strikeout, superscript, subscript.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@766 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r-- | tests/writer.latex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/writer.latex b/tests/writer.latex index e95972670..5c52a4cd7 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -6,7 +6,9 @@ % This is needed for code blocks in footnotes: \usepackage{fancyvrb} \VerbatimFootnotes +\newcommand{\textsubscript}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} \usepackage[breaklinks=true]{hyperref} +\usepackage[normalem]{ulem} \usepackage{graphicx} \setcounter{secnumdepth}{0} \title{Pandoc Test Suite} @@ -413,6 +415,14 @@ So is \textbf{\emph{this}} word. This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!, \verb!<html>!. +\sout{This is \emph{strikeout}.} + +Superscripts: a\textsuperscript{bc}d a\textsuperscript{\emph{hello}} a\textsuperscript{hello there}. + +Subscripts: H\textsubscript{2}O, H\textsubscript{23}O, H\textsubscript{many of them}O. + +These should not be superscripts or subscripts, because of the unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b c\ensuremath{\sim}d. + \begin{center}\rule{3in}{0.4pt}\end{center} \section{Smart quotes, ellipses, dashes} |