X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fbox-color-size-space-align.tex;h=e0428fdf7937aa21c5adc7cd088c701863d4e76d;hb=3c1b79dd5bd9d6d79a83254075a65a61d46317e2;hp=4a6e4be0ead672a8e1729439f027cd8a9966ac04;hpb=605e660d504732ad452b9d1dc6f8eecd77a0b4ad;p=lyx.git diff --git a/src/tex2lyx/test/box-color-size-space-align.tex b/src/tex2lyx/test/box-color-size-space-align.tex index 4a6e4be0ea..e0428fdf79 100644 --- a/src/tex2lyx/test/box-color-size-space-align.tex +++ b/src/tex2lyx/test/box-color-size-space-align.tex @@ -2,6 +2,10 @@ %% Do not edit unless you really know what you are doing. \documentclass[b4paper,twoside, twocolumn,12pt]{article} +\renewcommand{\rmdefault}{cmr} +\usepackage{berasans} +\renewcommand{\familydefault}{\sfdefault} + \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} @@ -21,6 +25,18 @@ \usepackage{fancybox} \PassOptionsToPackage{normalem}{ulem} \usepackage{ulem} +\usepackage{ifsym} +\usepackage{ascii} +\usepackage{textgreek} +\usepackage{textcyr} +\usepackage{subscript} +\usepackage{tfrupee} +\usepackage{bbding} +\usepackage{marvosym} +\usepackage{wasysym} +\usepackage{pifont} +\usepackage{tipa} +\usepackage{tipx} \setlength{\parskip}{3mm} \setlength{\parindent}{0sp} @@ -28,7 +44,7 @@ \setstretch{1.2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. - +\newcommand{\noun}[1]{\textsc{#1}} %% The greyedout annotation environment \newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup} @@ -87,6 +103,7 @@ blabla \makebox[3cm][l]{makebox 3} blabla \begin{picture}(8,6) \put(0,0){\makebox(0,0)[tr]{AAA}} \put(8,0){\makebox(0,0){BBB}} +\put(0,8){\framebox(0,0){x}} \put(1,0){\line(1,0){6}} \end{picture} @@ -351,10 +368,6 @@ Visible\textvisiblespace{}a Thin\,a -Medium\:a - -Thick\;a - NegThin\negthinspace{}a NegMed\negmedspace{}a @@ -369,19 +382,38 @@ quad\quad{}a qquad\qquad{}a -\subsubsection*{now some math examples:} -$a\hfill b$ +\subsubsection*{now in math:} + +fill: $a\hfill b$ + +protected fill: $a\hspace*{\fill} b$ + +2\,cm: $a\hspace*{2cm}b$ + +protected 2\,cm: $a\hspace{1cm}b$ + +enskip: $a\enskip b$ + +enspace: $a\enspace b$ + +thin: $a\, b$ + +medium: $a\: b$ -$a\hspace*{2cm}b$ +thick: $a\; b$ -$a\hspace{1cm}b$ +negative thin: $a\negthinspace b$ -$a\hspace*{\fill} b$ +negative medium: $a\negmedspace b$ -$a\enskip b$ +negative thick: $a\negthickspace b$ -$a\enspace b$ +quad: $a\quad b$ + +qquad: $a\qquad b$ + +interword: $a\ b$ \subsection{Vertical spaces} @@ -407,4 +439,33 @@ smallskip 1:\smallskip smallskip 2:\vspace{\smallskipamount} +\section{Characters} + +from package "ascii" and "ifsym": +\textregistered{\ascii\ETB}\textifsymbol[ifgeo]{48}\textifsymbol[ifgeo]{96} +{\ascii\LF} +\ascii\LF{} + +from textcomp: +\textnumero\texttrademark + +from textgreek and textcyr: +\textgreek{>a}\textcyr{\char226} + +from subscript: +\textsubscript{4} + +from tfrupee +\rupee + +from marvosym and wasysym: +\CheckedBox \HandCuffLeft + +from bbding and pifont: +\FiveStarOpen \ding{190} + +from tipa and tipx: +\textctt \textdblig + + \end{document}