From: Uwe Stöhr Date: Tue, 17 Feb 2009 00:50:37 +0000 (+0000) Subject: xypic.lyx: - update layout of this file to the one of the other doc files X-Git-Tag: 2.0.0~7200 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f81c48343e2bf89f3ffafcf654f97746f6fd3cbc;p=features.git 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 --- diff --git a/lib/examples/xypic.lyx b/lib/examples/xypic.lyx index 46ce8dccd7..90d2f85662 100644 --- a/lib/examples/xypic.lyx +++ b/lib/examples/xypic.lyx @@ -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 \begin_document \begin_header -\textclass article +\textclass scrartcl \begin_preamble \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)@_{>}} + +% 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 +\options BCOR7.5mm \use_default_options false \language english \inputencoding auto @@ -35,9 +40,23 @@ \font_tt_scale 100 \graphics default -\paperfontsize default +\paperfontsize 12 \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 \use_geometry false \use_amsmath 1 @@ -51,7 +70,7 @@ \defskip medskip \quotes_language english \papercolumns 1 -\papersides 1 +\papersides 2 \paperpagestyle default \tracking_changes false \output_changes false @@ -2830,13 +2849,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 @@ -2849,28 +2868,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