X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.tex;h=b3e7795d95f01888ed2d7d06ccae8756fbd9bfd0;hb=237193f8a888777192981136469a5d4febb8e9d8;hp=013fd57570da4f9ff06d15b432c0a61e583cce9e;hpb=111df7b60042cceca3f5566bb44d11b03e19f689;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 013fd57570..b3e7795d95 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -1,3 +1,4 @@ +%% LyX trick_preamble_code_into_believing_that_this_was_created_by_lyx created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} @@ -33,6 +34,7 @@ \usepackage{booktabs} \usepackage{multirow} \usepackage{hhline} +\usepackage{dcolumn} \usepackage{pdfpages} \usepackage{textcomp} \usepackage{amssymb} @@ -64,7 +66,8 @@ \title{Title} -\date{two days ago}%stupid stuff +\date %stupid stuff +{two days ago} \maketitle @@ -177,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.tex} or~\verbatiminput*{DummyDocument.tex}. +between~\verbatiminput{foo} or~\verbatiminput*{foo}. \section{URLs and Hyperlinks\index{URL}\nomenclature[www]{URL}{uniform resource locator}} @@ -452,6 +455,24 @@ in \% of pixel size & 76.3 & 95.9 & 92.3\tabularnewline \end{tabular} \end{table} +A table using dcolumn: + +\begin{table} +\begin{tabular}{ccddd} +One&Two& +\multicolumn{1}{c}{\textrm{Three}}& +\multicolumn{1}{c}{\textrm{Four}}& +\multicolumn{1}{c}{\textrm{Five}}\\ +\hline +one&two&\mbox{three}&\mbox{four}&\mbox{five}\\ +He&2& 2.77234 & 45672. & 0.69 \\ +C\footnote{Some tables require footnotes.} +&C\footnote{Some tables need more than one footnote.} +& 12537.64 & 37.66345 & 86.37 \\ +\end{tabular} +\end{table} + + A table using decimal alignment: \begin{table} @@ -498,16 +519,27 @@ The following tow don't work, but they should??? \section{Special formattings\index{Special formattings}} -\subsection{Rules} +\subsection{LyX line} test -{\tiny \rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par} +{\tiny \lyxline{\tiny}}{\tiny \par} test {\Huge Test} {\tiny test} test +\lyxline{\normalsize} + +test + {\Huge \lyxline{\Huge}}{\Huge \par} + +\subsection{Rules} + +test + +{\tiny \rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par} + test\rule[0.001\textwidth]{1\columnwidth}{0.05\textheight} test @@ -554,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} @@ -607,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\\