]> git.lyx.org Git - features.git/commitdiff
xypic.lyx: use a default font except a special one is available
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 16 Feb 2013 17:17:01 +0000 (18:17 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 16 Feb 2013 17:17:01 +0000 (18:17 +0100)
- also add our documentation preamble disclaimer

lib/examples/xypic.lyx

index 2a6ecc005784f9cb08be63d35148bc0df28d5e8e..31d42c4135676c9384c1b457a531034d2b2bda42 100644 (file)
@@ -4,6 +4,15 @@
 \begin_header
 \textclass scrartcl
 \begin_preamble
+% DO NOT ALTER THIS PREAMBLE!!!
+%
+% This preamble is designed to ensure that the file prints
+% out as advertised. If you mess with this preamble,
+% parts of this document may not print out as expected.  If you
+% have problems LaTeXing this file, please contact 
+% the documentation team
+% email: lyx-docs@lists.lyx.org
+
 \usepackage[all]{xy}
 
 % define new commands used in sec. 5.1
 \def\LyX{\texorpdfstring{%
   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
   {LyX}}
+
+% if pdflatex is used
+\usepackage{ifpdf}
+\ifpdf
+
+% set fonts for nicer pdf view
+\IfFileExists{lmodern.sty}
+ {\usepackage{lmodern}}{}
+
+\fi % end if pdflatex is used
 \end_preamble
 \options BCOR7.5mm
 \use_default_options false
@@ -32,7 +51,7 @@
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman ae
+\font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default