X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.tex;h=b3e7795d95f01888ed2d7d06ccae8756fbd9bfd0;hb=237193f8a888777192981136469a5d4febb8e9d8;hp=978e873f8eadeb0223aacf948aa22ecab0dbafb4;hpb=eb90d531bed8cb732515c1ae10f43dfc3bbbb485;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 978e873f8e..b3e7795d95 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -141,9 +141,9 @@ From bug 7306: \citet{gur+04} have demonstrated that authors should not have umlauts in their names. It's OK to use them in the man\"{u}script, though. \begin{thebibliography}{References} -\bibitem[M\"{o}stl et~al.(2010)]{Mostl2010} Gürkan, M.~A., Freitag, +\bibitem[M\"{o}stl et~al.(2010)]{Mostl2010} Gürkan, M.~A., Freitag, M., \& Rasio, F.~A. 2004, ApJ, 604, 632 -\bibitem[{{G\"{u}rkan et~al.}(2004)}]{gur+04} Gürkan, M.~A., Freitag, +\bibitem[{{G\"{u}rkan et~al.}(2004)}]{gur+04} Gürkan, M.~A., Freitag, M., \& Rasio, F.~A. 2004, ApJ, 604, 632\end{thebibliography} @@ -180,7 +180,7 @@ and PDF pages: \includepdf[pages=-,angle=22,origin=Bl,width=5cm,height=40mm,keepaspectratio]{../../../lib/examples/beamer-icsi-logo} If you prefer verbatim input, you can choose -between~\verbatiminput{DummyDocument} or~\verbatiminput*{DummyDocument}. +between~\verbatiminput{foo} or~\verbatiminput*{foo}. \section{URLs and Hyperlinks\index{URL}\nomenclature[www]{URL}{uniform resource locator}} @@ -233,7 +233,7 @@ def func(param): 'this is a python function' pass def func(param): -'This is a German word: Tschüß' +'This is a German word: Tschüß' pass def func(param): 'this is a python function' @@ -473,6 +473,19 @@ C\footnote{Some tables require footnotes.} \end{table} +A table using decimal alignment: + +\begin{table} +\begin{tabular}{ccr@{\extracolsep{0pt}.}lr@{\extracolsep{0pt}.}lr@{\extracolsep{0pt}.}l} +One & Two & \multicolumn{2}{c}{Three} & \multicolumn{2}{c}{Four} & \multicolumn{2}{c}{Five}\tabularnewline +\hline +one & two & \multicolumn{2}{c}{three} & \multicolumn{2}{c}{four} & \multicolumn{2}{c}{five}\tabularnewline +He & 2 & 2&77234 & 45672& & 0&69 \tabularnewline +C & C & 12537&64 & 37&66345 & 86&37 \tabularnewline +\end{tabular} +\end{table} + + \section{Macros} LyX supports several kinds of macros: @@ -521,7 +534,11 @@ test {\Huge \lyxline{\Huge}}{\Huge \par} -\subsection{rules} +\subsection{Rules} + +test + +{\tiny \rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par} test\rule[0.001\textwidth]{1\columnwidth}{0.05\textheight} @@ -569,7 +586,7 @@ e\textsuperscript{h} \textsublhalfring{e} \textsubplus{e} \=*{e} -\b{e} +(don't mix up with \b{e}) \"{e} \textovercross{e} \s{e} @@ -606,12 +623,12 @@ e\textcorner{} \textipa{pbtd\:t\:dc\textbardotlessj k\textscriptg q\;G} \textipa{PmMn\:n\textltailn N\;N\;Br\;RR} \textipa{\:rFBfvTDszSZ\:s} -\textipa{\:zçJxGXK\textcrh QhH\textbeltl{}} +\textipa{\:zçJxGXK\textcrh QhH\textbeltl{}} \textipa{\textlyoghlig V\*r\:Rh\textturnmrleg l\:lL\;L} \textipa{\!o|!\textdoublebarpipe ||\!b\!d\!j\!g\!Ge'} -\textipa{iy1\textbaru W\textcolor{red}{uIY}Ueø987o@E½3\textcloserevepsilon 2Oæ5a\textscoelig A6} +\textipa{iy1\textbaru W\textcolor{red}{uIY}Ueø987o@E½3\textcloserevepsilon 2Oæ5a\textscoelig A6} \textipa{\*ww4\;H\textbarrevglotstop\textbarglotstop C\textctz\textturnlonglegr\texththeng \texttoptiebar{ar}\textbottomtiebar{tz}} @@ -622,6 +639,10 @@ e\textcorner{} TIPA code in math: $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$ +\subsection{Other symbols} +All three should be converted to U+00C5: \AA{} \r A \r{A} (not U+212B). +All three should be converted to U+00E5: \aa{} \r a \r{a}. + \subsection{Line breaks\sindex[breaks]{Line breaks}} They can also or be broken by a newline\\