xypic.lyx: - update layout of this file to the one of the other doc files

- cleanup of the preamble
           - a layout fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28523 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-02-17 00:50:37 +00:00
parent d7e2736437
commit f81c48343e

View File

@ -1,27 +1,32 @@
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/ #LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
\lyxformat 345 \lyxformat 345
\begin_document \begin_document
\begin_header \begin_header
\textclass article \textclass scrartcl
\begin_preamble \begin_preamble
\usepackage[all]{xy} \usepackage[all]{xy}
% define new commands used in sec. 5.1
\makeatletter
\newcommand{\xyR}[1]{ \newcommand{\xyR}[1]{
\makeatletter \makeatletter
\xydef@\xymatrixrowsep@{#1} \xydef@\xymatrixrowsep@{#1}}
\makeatother
}
\makeatletter
\newcommand{\xyC}[1]{ \newcommand{\xyC}[1]{
\makeatletter \xydef@\xymatrixcolsep@{#1}}
\xydef@\xymatrixcolsep@{#1}
\makeatother
}
\newdir{|>}{!/4.5pt/@{|}*:(1,-.2)@^{>}*:(1,+.2)@_{>}} \newdir{|>}{!/4.5pt/@{|}*:(1,-.2)@^{>}*:(1,+.2)@_{>}}
% a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\pdfbookmark[1]{\contentsname}{}
\myTOC }
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
{LyX}}
\end_preamble \end_preamble
\options BCOR7.5mm
\use_default_options false \use_default_options false
\language english \language english
\inputencoding auto \inputencoding auto
@ -35,9 +40,23 @@
\font_tt_scale 100 \font_tt_scale 100
\graphics default \graphics default
\paperfontsize default \paperfontsize 12
\spacing single \spacing single
\use_hyperref false \use_hyperref true
\pdf_title "Using XY-pc in LyX"
\pdf_author "H. Peter Gumm"
\pdf_subject "LyX's XY-pic manual"
\pdf_keywords "LyX, documentation"
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 2
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels"
\papersize a4paper \papersize a4paper
\use_geometry false \use_geometry false
\use_amsmath 1 \use_amsmath 1
@ -51,7 +70,7 @@
\defskip medskip \defskip medskip
\quotes_language english \quotes_language english
\papercolumns 1 \papercolumns 1
\papersides 1 \papersides 2
\paperpagestyle default \paperpagestyle default
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
@ -2830,13 +2849,13 @@ xymatrixrowsep@
\family sans \family sans
Layout\SpecialChar \menuseparator Layout\SpecialChar \menuseparator
Document\SpecialChar \menuseparator Document\SpecialChar \menuseparator
Preamble) Preamble
\end_layout \family default
):
\begin_inset Newpage pagebreak
\end_inset
\begin_layout LyX-Code
\backslash
makeatletter
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
@ -2849,28 +2868,10 @@ xyR}[1]{%
\begin_layout LyX-Code \begin_layout LyX-Code
\backslash
makeatletter
\end_layout
\begin_layout LyX-Code
\backslash \backslash
xydef@ xydef@
\backslash \backslash
xymatrixrowsep@{#1} xymatrixrowsep@{#1}}
\end_layout
\begin_layout LyX-Code
\backslash
makeatother
\end_layout
\begin_layout LyX-Code
} % end of
\backslash
xyR
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code