From f82b17f2e282f030315cd1d9729c5594cc6a87ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 16 Feb 2013 19:33:01 +0100 Subject: [PATCH] xypic.lyx: many formatting fixes - fixes all occurrences (there were many of them) of the LyX console warnings "unusual contents found: [formula equation [grid [row [cell [xymatrix [grid [row..." when the document is opened - style and formattig fixes for consistency --- lib/examples/xypic.lyx | 210 +++++++++++++++++++++-------------------- 1 file changed, 109 insertions(+), 101 deletions(-) diff --git a/lib/examples/xypic.lyx b/lib/examples/xypic.lyx index 31d42c4135..edf2dc7641 100644 --- a/lib/examples/xypic.lyx +++ b/lib/examples/xypic.lyx @@ -493,7 +493,10 @@ instant-preview \end_inset g. - +\begin_inset space \space{} +\end_inset + + \begin_inset Formula $a+b=c$ \end_inset @@ -886,12 +889,12 @@ ar[d] ar[r] & Z } \end_layout -\begin_layout Standard -\begin_inset Formula \xymatrix{ U \ar[ddr] \ar[drr] \ar[dr]\\ - & X \times_{Z} Y \ar[d] \ar[r] & X \ar[d]\\ - & Y \ar[r] & Z +\begin_layout LyX-Code +\begin_inset Formula $\xymatrix{U\ar[ddr]\ar[drr]\ar[dr]\\ + & X\times_{Z}Y\ar[d]\ar[r] & X\ar[d]\\ + & Y\ar[r] & Z } - +$ \end_inset @@ -1051,11 +1054,11 @@ ar[r]^g & Z } \end_layout \begin_layout LyX-Code -\begin_inset Formula \xymatrix{ U \ar[ddr]_{\psi}\ar[drr]^{\varphi}\ar[dr]|-{(x,y)}\\ - & X \times_{Z} Y \ar[d]^{q} \ar[r]_{p} & X \ar[d]_{f}\\ - & Y \ar[r]^{g} & Z +\begin_inset Formula $\xymatrix{U\ar[ddr]_{\psi}\ar[drr]^{\varphi}\ar[dr]|-{(x,y)}\\ + & X\times_{Z}Y\ar[d]^{q}\ar[r]_{p} & X\ar[d]_{f}\\ + & Y\ar[r]^{g} & Z } - +$ \end_inset @@ -1080,7 +1083,10 @@ Xy \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter (.3) \family default @@ -1119,7 +1125,10 @@ Xy \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter \backslash @@ -1225,17 +1234,14 @@ $ \backslash ar@{^(->}[r]. -\begin_inset Newline newline -\end_inset - - \end_layout \begin_layout Standard +\align center \begin_inset Tabular - - + + @@ -1262,11 +1268,11 @@ Source code in LyX \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar[r] & \ } +$ \end_inset - + \end_layout \end_inset @@ -1290,11 +1296,11 @@ ar \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{-->}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{-->}[r] & \ } +$ \end_inset - + \end_layout \end_inset @@ -1318,11 +1324,11 @@ ar@{-->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{..>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{..>}[r] & \ } +$ \end_inset - + \end_layout \end_inset @@ -1346,11 +1352,11 @@ ar@{..>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{~>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{~>}[r] & \ } +$ \end_inset - + \end_layout \end_inset @@ -1374,8 +1380,8 @@ ar@{~>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{->>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{->>}[r] & \ } +$ \end_inset @@ -1402,8 +1408,8 @@ ar@{->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{-->>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{-->>}[r] & \ } +$ \end_inset @@ -1430,8 +1436,8 @@ ar@{-->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{>->>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{>->>}[r] & \ } +$ \end_inset @@ -1458,8 +1464,8 @@ ar@{>->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{_{(}->}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{_{(}->}[r] & \ } +$ \end_inset @@ -1486,8 +1492,8 @@ ar@{_(->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{^{(}->}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{^{(}->}[r] & \ } +$ \end_inset @@ -1514,8 +1520,8 @@ ar@{^(->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{|-|}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{|-|}[r] & \ } +$ \end_inset @@ -1546,33 +1552,30 @@ ar@{|-|} \begin_layout Standard \noindent -Following the @-character by either a 2, 3, _,or a ^, we can produce arrows +Following the @-character by either a 2, 3, _ or a ^, we can produce arrows with double, triple shaft or arrows showing only the lower or upper half of their tips and ends. - Arrows need not have tips nor ends, as the last example shows : -\begin_inset Newline newline -\end_inset - - + Arrows need not have tips nor ends, as the last example shows: \end_layout \begin_layout Standard +\align center \begin_inset Tabular - + - + \begin_inset Text \begin_layout Plain Layout -Result +Result \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1583,20 +1586,20 @@ Source code for LyX - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@2[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@2[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1611,20 +1614,20 @@ ar@2 - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@3[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@3[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1639,20 +1642,20 @@ ar@3 - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@_{->}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@_{->}[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1667,20 +1670,20 @@ ar@_{->} - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@^{->}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@^{->}[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1695,20 +1698,20 @@ ar@^{->} - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@^{>>->>}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@^{>>->>}[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1716,27 +1719,29 @@ ar@^{->} \family typewriter \backslash -ar@^{>>->>} +ar@^{>\SpecialChar \textcompwordmark{} +>->\SpecialChar \textcompwordmark{} +>} \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@{^{<}-_{>}}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@{^{<}-_{>}}[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1751,20 +1756,20 @@ ar@{^<-_>} - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar@2{--}[r] & \ } - +\begin_inset Formula $\xymatrix{\ \ar@2{--}[r] & \ } +$ \end_inset - + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -1899,19 +1904,10 @@ ar@<1ex>[l]} \begin_layout Standard \noindent produces -\begin_inset space ~ -\end_inset - - -\begin_inset space ~ -\end_inset - - \begin_inset Formula \[ \xymatrix{\circ\ar@<1ex>[r] & \circ\ar@<1ex>[l]} \] - \end_inset @@ -1986,7 +1982,10 @@ xypic \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter \backslash @@ -2002,7 +2001,10 @@ ar@/_1pc/ \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter \backslash @@ -2519,7 +2521,10 @@ Braces that are entered without the backslash \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter {x \backslash @@ -3223,7 +3228,10 @@ A more general trick uses invisible arrows to place any object almost anywhere \end_inset g. - +\begin_inset space \space{} +\end_inset + + \family typewriter (0.6) \family default -- 2.39.5