backporting tex2lyx: the example files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40021 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-10-26 21:43:08 +00:00
parent 84e3817673
commit 0c684343a7
3 changed files with 105 additions and 10 deletions

View File

@ -210,6 +210,24 @@ bla blub
bla blub
\normalsize
\section{Strikeout, underlined etc.}
Emphasized: \emph{test}
Underbar: \uline{test}
Double underbar: \uuline{test}
Wavy underbar: \uwave{test}
Strike out: \sout{test}
Noun: \noun{test}
Underbar, ephasized, stikreout: \emph{\uline{\sout{test}}}
\section{Paragraph spacing}
bla

View File

@ -121,10 +121,21 @@ If you prefer verbatim input, you can choose
between~\verbatiminput{foo} or~\verbatiminput*{foo}.
\section{URL\index{URL}\nomenclature[www]{URL}{uniform resource locator}}
\section{URLs and Hyperlinks\index{URL}\nomenclature[www]{URL}{uniform resource locator}}
An URL: \url{http://www.lyx.org}
\nomenclature{URL2}{uniform resource locator}
An URL: \url{http://www.lyx.org} \nomenclature{URL2}{uniform resource locator}
link:\href{http://www.test.test}{www.test.test}
link2:\href{http://www.test.test}{http://www.test.test}
mail:\href{mailto:www.test.test}{name}
file:\href{file:www.test.test}{www.test.test}
ftp:\href{ftp://www.test.test}{ftp://www.test.test}
ftp2:\href{ftp://www.test.test}{www.test.test}
\section{Lists\index{Lists}}
@ -312,9 +323,9 @@ test
test\phantom{Wow}test
test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
test\hphantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
test\phantom{Wow\textbackslash{}\&\%}test
test\vphantom{Wow\textbackslash{}\&\%}test
$test\hphantom{Wow}test$

View File

@ -64,7 +64,7 @@ an unknown environment
An environment
\end{quote}
\section*{A starred section}
\section*{A starred section for floats}
\begin{figure}
\caption{ \emph{\noun{is}} a caption}
@ -74,17 +74,83 @@ An environment
\caption[s\noun{ho}rt]{this \emph{is} a caption}
\end{figure}
\begin{sidewaystable*}
\caption{rotated table, spanning all columns}
\centering{}%
\begin{tabular}{|c|c|}
\hline
a & b\tabularnewline
\hline
\hline
d & c\tabularnewline
\hline
\end{tabular}
\end{sidewaystable*}
\begin{wrapfigure}[4]{L}[2ex]{0.5\columnwidth}%
\begin{centering}
fdgsdfdh
\par\end{centering}
\caption{test1}
\end{wrapfigure}%
\LyX{} is a document preparation system. It excels at letting you
create complex technical and scientific articles with mathematics,
cross-references, bibliographies, indices, etc. It is very good at
documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking, and
so forth. It can also be used to write a letter to your mom, though
granted, there are probably simpler programs available for that. It
is definitely not the best tool for creating banners, flyers, or advertisements
(we'll explain why later), though with some effort all these can be
done, too.
\begin{wrapfigure}{o}{0.5\columnwidth}%
\begin{centering}
fdgs
\par\end{centering}
\caption{test2}
\end{wrapfigure}%
\LyX{} is a document preparation system. It excels at letting you
create complex technical and scientific articles with mathematics,
cross-references, bibliographies, indices, etc. It is very good at
documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking, and
so forth. It can also be used to write a letter to your mom, though
granted, there are probably simpler programs available for that. It
is definitely not the best tool for creating banners, flyers, or advertisements
(we'll explain why later), though with some effort all these can be
done, too.
\begin{wraptable}{i}[0.05\textwidth]{5ex}%
\caption{fdg}
\centering{}dfgd\end{wraptable}%
\LyX{} is a document preparation system. It excels at letting you
create complex technical and scientific articles with mathematics,
cross-references, bibliographies, indices, etc. It is very good at
documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking, and
so forth. It can also be used to write a letter to your mom, though
granted, there are probably simpler programs available for that. It
is definitely not the best tool for creating banners, flyers, or advertisements
(we'll explain why later), though with some effort all these can be
done, too.
\subsection{Some paragraph stuff}
A paragraph\footnote{hello} with a footnote and another
one\footnote{hello
there} with several paragraphs
some ERT \vspace{1cm} aa
there} with several paragraphs \vspace{1cm} aa
and another paragraph
\begin{center}
Some centered stuff (does not work)
Some centered stuff
\end{center}
\begin{quotation}