From 16b2fcc12fbb6d8d6f684eb73ff41fefa23184e9 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 25 Feb 2009 02:08:38 +0000 Subject: [PATCH] backport to branch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28602 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/examples/xypic.lyx | 42 +++++++++--------------------------------- 1 file changed, 9 insertions(+), 33 deletions(-) diff --git a/lib/examples/xypic.lyx b/lib/examples/xypic.lyx index 670d815317..ca1cf7e4d7 100644 --- a/lib/examples/xypic.lyx +++ b/lib/examples/xypic.lyx @@ -7,18 +7,12 @@ \usepackage[all]{xy} -\makeatletter +% define new commands used in sec. 5.1 \newcommand{\xyR}[1]{ \makeatletter - \xydef@\xymatrixrowsep@{#1} - \makeatother -} -\makeatletter + \xydef@\xymatrixrowsep@{#1}} \newcommand{\xyC}[1]{ - \makeatletter - \xydef@\xymatrixcolsep@{#1} - \makeatother -} + \xydef@\xymatrixcolsep@{#1}} \newdir{|>}{!/4.5pt/@{|}*:(1,-.2)@^{>}*:(1,+.2)@_{>}} @@ -2947,13 +2941,13 @@ xymatrixrowsep@ \family sans Layout\SpecialChar \menuseparator Document\SpecialChar \menuseparator -Preamble) -\end_layout +Preamble +\family default +): +\begin_inset Newpage pagebreak +\end_inset -\begin_layout LyX-Code -\backslash -makeatletter \end_layout \begin_layout LyX-Code @@ -2966,28 +2960,10 @@ xyR}[1]{% \begin_layout LyX-Code -\backslash -makeatletter -\end_layout - -\begin_layout LyX-Code - \backslash xydef@ \backslash -xymatrixrowsep@{#1} -\end_layout - -\begin_layout LyX-Code - -\backslash -makeatother -\end_layout - -\begin_layout LyX-Code -} % end of -\backslash -xyR +xymatrixrowsep@{#1}} \end_layout \begin_layout LyX-Code