]> git.lyx.org Git - features.git/commitdiff
backporting tex2lyx: the example files
authorUwe Stöhr <uwestoehr@web.de>
Wed, 26 Oct 2011 21:43:08 +0000 (21:43 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 26 Oct 2011 21:43:08 +0000 (21:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40021 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/test/box-color-size-space-align.tex
src/tex2lyx/test/test-insets.tex
src/tex2lyx/test/test-structure.tex

index 9a265d820501da83f053a1c147028318d9589e33..f0ece400d7e9246537ccebcfd8000d78589b613d 100644 (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
index 040bd8c6291b1395173209982670c286ef529268..f6b09391ccca2b491f7dc5422a8465f8d575fa16 100644 (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$
 
index b79e7ab53f0288b044c5e69a44cfb8cadc30c43c..1f6402dd751d0495cd5ced03f5fcd7c9d50caf1d 100644 (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}