From 8da26f548f51692d8fbe3598e3a0d2fe77967006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 25 Oct 2008 22:46:25 +0000 Subject: [PATCH] Extended.lyx, example files: some typographic corrections docbook_article.lyx: fix image paths git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27120 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Extended.lyx | 645 +++----- lib/examples/Braille.lyx | 12 +- lib/examples/Foils.lyx | 11 +- lib/examples/ItemizeBullets.lyx | 6 +- lib/examples/aa_sample.lyx | 115 +- lib/examples/aas_sample.lyx | 6 +- lib/examples/docbook_article.lyx | 29 +- lib/examples/linguistics.lyx | 2449 +++++++++++++++--------------- lib/examples/xyfigure.lyx | 15 +- lib/examples/xypic.lyx | 139 +- 10 files changed, 1569 insertions(+), 1858 deletions(-) diff --git a/lib/doc/Extended.lyx b/lib/doc/Extended.lyx index 2be20abab1..b6fba93648 100644 --- a/lib/doc/Extended.lyx +++ b/lib/doc/Extended.lyx @@ -293,11 +293,7 @@ LaTeX status collapsed \begin_layout Plain Layout - -\bar under -F -\bar default -ile +File \end_layout \end_inset @@ -335,19 +331,11 @@ There are several commands that automatically invoke LaTeX. \end_layout \begin_layout Itemize - -\bar under \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout - -\bar under -V -\bar default -iew\SpecialChar \menuseparator - -\emph on +View\SpecialChar \menuseparator Format \end_layout @@ -357,24 +345,12 @@ Format \end_layout \begin_layout Itemize - -\bar under \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout - -\bar under -V -\bar default -iew\SpecialChar \menuseparator - -\bar under -U -\bar default -pdate\SpecialChar \menuseparator - -\emph on +View\SpecialChar \menuseparator +Update\SpecialChar \menuseparator Format \end_layout @@ -384,22 +360,12 @@ Format \end_layout \begin_layout Itemize - -\bar under \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout - -\bar under -F -\bar default -ile -\bar under -\SpecialChar \menuseparator -P -\bar default -rint +File\SpecialChar \menuseparator +Print \end_layout \end_inset @@ -408,22 +374,12 @@ rint \end_layout \begin_layout Itemize - -\bar under \begin_inset Flex CharStyle:MenuItem status collapsed \begin_layout Plain Layout - -\bar under -F -\bar default -ile -\bar under -\SpecialChar \menuseparator -F -\bar default -ax +File\SpecialChar \menuseparator +Fax \end_layout \end_inset @@ -549,11 +505,11 @@ dvips \end_inset - to convert the DVI file to PostScript®. + to convert the DVI file to PostScript. \end_layout \begin_layout Itemize -Run a PostScript® viewer, such as +Run a PostScript viewer, such as \begin_inset Flex CharStyle:Code status collapsed @@ -563,7 +519,7 @@ ghostview \end_inset -, to display the PostScript® file. +, to display the PostScript file. \end_layout \begin_layout Standard @@ -580,21 +536,9 @@ You can import a LaTeX file into LyX by using the status collapsed \begin_layout Plain Layout - -\bar under -F -\bar default -ile\SpecialChar \menuseparator - -\bar under -I -\bar default -mport\SpecialChar \menuseparator - -\bar under -L -\bar default -aTeX +File\SpecialChar \menuseparator +Import\SpecialChar \menuseparator +LaTeX \end_layout \end_inset @@ -1173,19 +1117,11 @@ The commands which LyX adds to the preamble of a LaTeX file are fixed; you status collapsed \begin_layout Plain Layout - -\bar under -L -\bar default -aTeX +LaTeX \begin_inset space ~ \end_inset - -\bar under -P -\bar default -reamble +Preamble \end_layout \end_inset @@ -1195,16 +1131,8 @@ reamble status collapsed \begin_layout Plain Layout - -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \end_layout \end_inset @@ -1348,7 +1276,15 @@ voffset \end_inset - are both 0 points, i.e., the page isn't shifted. + are both 0 +\begin_inset space \thinspace{} +\end_inset + +points, i.e. +\begin_inset space \space{} +\end_inset + +the page isn't shifted. Unfortunately, some DVI drivers always seem to shift the page. We have no idea why, or why the sysadmin hasn't fixed such behavior. If you're using LyX on a system that you don't personally maintain, and @@ -1377,7 +1313,11 @@ voffset \end_inset can save the day. - Suppose you're left and top margins are always 0.5 inches too big. + Suppose you're left and top margins are always 0.5 +\begin_inset space \thinspace{} +\end_inset + +inches too big. You can add this to the preamble: \end_layout @@ -1485,7 +1425,7 @@ BottomBorder=2mm \end_layout \begin_layout Standard -This sets things up for Avery® label sheets, stock #5360. +This sets things up for Avery label sheets, stock #5360. You're now ready to print labels, but you'll need to insert LaTeX code, placing the commands \begin_inset Flex CharStyle:Code @@ -2160,7 +2100,11 @@ Alternative Citation Styles \end_layout \begin_layout Standard -Standard BibTeX uses numbers (e.g., +Standard BibTeX uses numbers (e.g. +\begin_inset space \space{} +\end_inset + + \begin_inset Quotes eld \end_inset @@ -2170,7 +2114,11 @@ Standard BibTeX uses numbers (e.g., ) to refer to a cited work. However, in many scientific disciplines, other citation styles are in use. - The most common one is the author-year style (e.g., + The most common one is the author-year style (e.g. +\begin_inset space \space{} +\end_inset + + \begin_inset Quotes eld \end_inset @@ -2422,7 +2370,11 @@ Scientific works \begin_inset Quotes erd \end_inset -, you first need to create two bibliographic databases, e.g., +, you first need to create two bibliographic databases, e.g. +\begin_inset space \space{} +\end_inset + + \begin_inset Flex CharStyle:Code status collapsed @@ -2575,8 +2527,12 @@ Multiple Bibliographies \end_layout \begin_layout Standard -Multiple bibliographies, e.g., a bibliography for each section or chapter - of the document, are not supported by BibTeX itself. +Multiple bibliographies, e.g. +\begin_inset space \space{} +\end_inset + +a bibliography for each section or chapter of the document, are not supported + by BibTeX itself. But the \begin_inset Flex CharStyle:Code status collapsed @@ -2776,12 +2732,11 @@ master Each of these files must have the same document class, however---don't attempt to mix book classes with article classes. You may also include LaTeX files; however, these files must not have their - own preamble -\emph on -(i.e. + own preamble (i.e. +\begin_inset space \space{} +\end_inset -\emph default - everything up to and including the +everything up to and including the \begin_inset Flex CharStyle:Code status collapsed @@ -2912,7 +2867,11 @@ verbatim \end_inset included file allows you to include a file typeset exactly as it appears - in the file, i.e., in + in the file, i.e. +\begin_inset space \space{} +\end_inset + +in \begin_inset Flex CharStyle:Code status collapsed @@ -3236,8 +3195,16 @@ Section \begin_inset Quotes erd \end_inset - (e.g., Section 3) in the upper left, the page number (e.g., Page 4) in the - upper right, your name in the lower left, and the date in the lower right. + (e.g. +\begin_inset space \space{} +\end_inset + +Section 3) in the upper left, the page number (e.g. +\begin_inset space \space{} +\end_inset + +Page 4) in the upper right, your name in the lower left, and the date in + the lower right. The following commands should now appear in the preamble: \end_layout @@ -4119,13 +4086,13 @@ Please note that, at present, \emph on the server does not work on Windows \emph default -®. +. \begin_inset Foot status collapsed \begin_layout Plain Layout There is no reason it cannot do so. - But none of the developers on Windows® have yet implemented this functionality + But none of the developers on Windows have yet implemented this functionality there. \end_layout @@ -4845,25 +4812,15 @@ maketitle \end_layout \begin_layout Standard -If you want to place footnotes in the header block, e. -\begin_inset space \thinspace{} +If you want to place footnotes in the header block, e.g. +\begin_inset space \space{} \end_inset -g. -\begin_inset space ~ -\end_inset - -to state your present address, just use the standard footnote via +to state your present address, just use the standard footnote via the menu + \family sans -\bar under -I -\bar default -nsert\SpecialChar \menuseparator - -\bar under -F -\bar default -ootnote. +Insert\SpecialChar \menuseparator +Footnote. \family default LyX will automagically use the term @@ -5288,15 +5245,8 @@ referee to the documentclass. This must be done using the extra class options field in the \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default dialog. Just enter the string @@ -6373,12 +6323,8 @@ no space between the last author and the parenthesis setting off the year; \emph on -e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ +e.g. +\begin_inset space \space{} \end_inset @@ -7806,10 +7752,7 @@ slides (FoilTeX) from the \family sans -\bar under -C -\bar default -lass +Class \family default entry in the \family sans @@ -7857,8 +7800,23 @@ foils \end_layout \begin_layout Itemize -The default font size is 20pt with the other options being 17pt, 25pt and - 30pt. +The default font size is 20 +\begin_inset space \thinspace{} +\end_inset + +pt with the other options being 17 +\begin_inset space \thinspace{} +\end_inset + +pt, 25 +\begin_inset space \thinspace{} +\end_inset + +pt and 30 +\begin_inset space \thinspace{} +\end_inset + +pt. \end_layout \begin_layout Itemize @@ -7879,7 +7837,11 @@ serif Foil \family default TeX supports A4 and Letter paper sizes as well as a special size for working - with 35mm slides. + with 35 +\begin_inset space \thinspace{} +\end_inset + +mm slides. It doesn't support A5, B5, legal or executive paper sizes. \end_layout @@ -7895,10 +7857,7 @@ Float Placement \begin_layout Itemize The \family sans -\bar under -P -\bar default -agestyle +Pagestyle \family default setting behaves a bit differently for this class. @@ -7998,15 +7957,8 @@ Extra Options \begin_layout Standard The following options may be used in the extra class options in the \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default dialog. \end_layout @@ -8017,9 +7969,19 @@ ettings \series bold 35mmSlide \series default - This sets up the page layout for 7.33in by 11in paper, which is about the - same aspect ratio as a 35mm slide, making it a bit easier to work with - this medium. + This sets up the page layout for 7.33 +\begin_inset space \thinspace{} +\end_inset + +in by 11 +\begin_inset space \thinspace{} +\end_inset + +in paper, which is about the same aspect ratio as a 35 +\begin_inset space \thinspace{} +\end_inset + +mm slide, making it a bit easier to work with this medium. \end_layout \begin_layout Labeling @@ -8433,12 +8395,15 @@ Foil TeX provides some powerful header and footer capabilities that are best set in the preamble although they may be set at any point in a document. If you want to change these settings in your document the best place to - do so is at the very top of a foil, + do so is at the very top of a foil, i.e. \emph on -i.e. + +\begin_inset space \space{} +\end_inset + \emph default - straight after the foilhead. +straight after the foilhead. \end_layout \begin_layout Standard @@ -8814,14 +8779,10 @@ TeX- While the second is meant to provide a classification for the audience, \emph on -e. -\begin_inset space \thinspace{} -\end_inset - -g. +e.g. \emph default -\begin_inset space ~ +\begin_inset space \space{} \end_inset Confidential. @@ -8952,8 +8913,11 @@ foilheadskip \emph on all \emph default - foilheads 0.5 inches closer to their bodies put the following in the preamble: - + foilheads 0.5 +\begin_inset space \space{} +\end_inset + +in closer to their bodies put the following in the preamble: \family typewriter \backslash @@ -9427,12 +9391,8 @@ M-z t \family default Camera movement instruction. - e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + e.g. +\begin_inset space \space{} \end_inset CUT TO: @@ -9820,16 +9780,16 @@ Both packages use basic citations; the natbib package should not be used. \family typewriter refcite \family default - command, e. -\begin_inset space \thinspace{} + command, e.g. +\begin_inset space \space{} \end_inset -g., + \begin_inset Quotes eld \end_inset See Ref. -\begin_inset space ~ +\begin_inset space \space{} \end_inset @@ -10376,10 +10336,7 @@ New from \family default \family sans -\bar under -T -\bar default -emplate +Template \family default , then choose the \family typewriter @@ -10417,20 +10374,9 @@ postprocess Export your paper as a LaTeX file. To do this, click on \family sans -\bar under -F -\bar default -ile\SpecialChar \menuseparator - -\bar under -E -\bar default -xport\SpecialChar \menuseparator - -\bar under -L -\bar default -aTeX +File\SpecialChar \menuseparator +Export\SpecialChar \menuseparator +LaTeX \family default . @@ -10493,11 +10439,11 @@ View the resulting \family typewriter .dvi \family default - document using, e. -\begin_inset space \thinspace{} + document using, e.g. +\begin_inset space \space{} \end_inset -g., + \family sans xdvi \family default @@ -10585,9 +10531,12 @@ ERT \end_layout \begin_layout Enumerate -Information given at the beginning of the article (i.e., title, subtitle, - author, institution, running title, running author, abstract and keywords) - must be included in an environment called +Information given at the beginning of the article (i.e. +\begin_inset space \space{} +\end_inset + +title, subtitle, author, institution, running title, running author, abstract + and keywords) must be included in an environment called \begin_inset Quotes eld \end_inset @@ -10829,15 +10778,8 @@ Options \family default of the dialog \family sans -\bar under -L -\bar default -ayout\SpecialChar \menuseparator - -\bar under -D -\bar default -ocument +Layout\SpecialChar \menuseparator +Document \family default ). A detailed German description of these options can be found in the Koma-Script @@ -10860,29 +10802,15 @@ DIV \family default (in LyX to be entered in the extra class options field in the dialog \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default ). They make a clearer modification of page margins possible as do the options of the dialog \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default . A detailed German description of these and other type area options can @@ -11132,21 +11060,14 @@ captionbelow \family sans Dictum \family default -: can be used to set a bonmot, e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ +: can be used to set a bonmot, e.g. +\begin_inset space \space{} \end_inset at the beginning of a chapter. If you use the optional argument ( \family sans -\bar under -I -\bar default -nsert\SpecialChar \menuseparator +Insert\SpecialChar \menuseparator Short \begin_inset space ~ \end_inset @@ -11791,12 +11712,8 @@ Telephone \begin_layout Standard The input types can also be used as empty paragraphs. - This makes sense e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + This makes sense e.g. +\begin_inset space \space{} \end_inset for the @@ -12177,12 +12094,8 @@ Closing \family sans NextAddress \family default - will start a new letter (i. -\begin_inset space \thinspace{} -\end_inset - -e. -\begin_inset space ~ + will start a new letter (i.e. +\begin_inset space \space{} \end_inset you can write several letters per document). @@ -12208,15 +12121,8 @@ Logo \family default (via \family sans -\bar under -I -\bar default -nsert\SpecialChar \menuseparator - -\bar under -G -\bar default -raphics +Insert\SpecialChar \menuseparator +Graphics \family default ) in the header. \end_layout @@ -12329,15 +12235,8 @@ true LaTeX table of contents, but not in the LyX table of contents ( \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -T -\bar default -able +Document\SpecialChar \menuseparator +Table \begin_inset space ~ \end_inset @@ -12360,31 +12259,17 @@ letter that. But in the \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default dialog the corresponding radio button indicates \family sans -\bar under -I -\bar default -ndent +Indent \family default . A \family sans -S -\bar under -k -\bar default -ip +Skip \family default value always has the effect that extra LaTeX commands are inserted in the document to produce the gap, which is not what is wanted in this case. @@ -12670,12 +12555,8 @@ Style \backslash chapterstyle \family default - in the main text or in preamble (e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + in the main text or in preamble (e.g. +\begin_inset space \space{} \end_inset @@ -12729,12 +12610,8 @@ empty \begin_inset Quotes erd \end_inset -, i -\begin_inset space \thinspace{} -\end_inset - -e. -\begin_inset space ~ +, i.e. +\begin_inset space \space{} \end_inset without pagina). @@ -12779,12 +12656,8 @@ real \begin_layout Description Oldfontcommands: By default, Memoir does not allow the use of the deprecated - font commands, which have been used in the old LaTeX version 2.09 (e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + font commands, which have been used in the old LaTeX version 2.09 (e.g. +\begin_inset space \space{} \end_inset @@ -12866,12 +12739,8 @@ Abstract: You may wonder why an abstract is an extra feature. \begin_layout Description Chapterprecis: You may know this from belletristic: The contents of a chapter is shortly described below the title and also in the table of contents - (e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + (e.g. +\begin_inset space \space{} \end_inset @@ -12996,8 +12865,11 @@ Basic differences: \end_layout \begin_layout Itemize -Unnumbered titles (with star, eg. - +Unnumbered titles (with star, e.g. +\begin_inset space \space{} +\end_inset + + \family sans Section* \family default @@ -13167,9 +13039,12 @@ http://publish.aps.org/revtex4/ . Install it somewhere that LaTeX can see it. Test it by trying to LaTeX a short RevTeX 4 document in some random directory - (i.e., not the directory where you installed the class file.) Then, if you - reconfigure LyX, it will find the class file and let you use the RevTeX4 - textclass. + (i.e. +\begin_inset space \space{} +\end_inset + +not the directory where you installed the class file.) Then, if you reconfigure + LyX, it will find the class file and let you use the RevTeX4 textclass. \end_layout \begin_layout Standard @@ -13416,11 +13291,11 @@ The main problem with this layout is that you can't use the optional arguments to the Section layouts either.) This means that after you export that file to LaTeX (which you'll need to do eventually to send it in to APS), you'll need to edit the LaTeX file with a text editor to add the optional arguments - to set, e. -\begin_inset space \thinspace{} + to set, e.g. +\begin_inset space \space{} \end_inset -g., the running title for the page headers. +the running title for the page headers. Lacking these layouts makes the \family typewriter @@ -13490,11 +13365,11 @@ http://www.springer.de/author/tex/help-journals.html \family typewriter svjour.inc \family default -, which journal-specific layout files (such as, e. -\begin_inset space \thinspace{} +, which journal-specific layout files (such as, e.g. +\begin_inset space \space{} \end_inset -g., + \family typewriter svjog.layout \family default @@ -13632,11 +13507,8 @@ ejour2 \end_layout \begin_layout Standard -Limitations e. -\begin_inset space \thinspace{} -\end_inset - -g.: does not display the number for theorem-like layouts, just #. +Limitations e.g.: does not display the number for theorem-like layouts, just + #. \end_layout \begin_layout Section @@ -13837,15 +13709,8 @@ slides (default) from the class list in the \family sans -\bar under -D -\bar default -ocument\SpecialChar \menuseparator - -\bar under -S -\bar default -ettings +Document\SpecialChar \menuseparator +Settings \family default dialog. There are some other special things you should know about this class: @@ -13867,10 +13732,7 @@ slides \begin_layout Itemize The option \family sans -\bar under -P -\bar default -age +Page \begin_inset space ~ \end_inset @@ -13977,10 +13839,7 @@ slides \family default class [using \family sans -\bar under -F -\bar default -ile\SpecialChar \menuseparator +File\SpecialChar \menuseparator New \begin_inset space ~ \end_inset @@ -13989,11 +13848,7 @@ from \begin_inset space ~ \end_inset - -\bar under -T -\bar default -emplate +Template \family default to open your new document]. The template file also contains some examples of the special paragraph @@ -15846,9 +15701,11 @@ Enforcement of normal space after common abbreviations: \begin_inset Newline newline \end_inset -e. - g. - is too wide spacing. +e.g. +\begin_inset space \space{} +\end_inset + +is too wide spacing. \end_layout \begin_layout Itemize @@ -15950,15 +15807,8 @@ How to use it \begin_layout Standard If you have the program installed, usage is as simple as choosing \family sans -\bar under -T -\bar default -ools\SpecialChar \menuseparator - -\bar under -C -\bar default -heck +Tools\SpecialChar \menuseparator +Check \begin_inset space ~ \end_inset @@ -15985,15 +15835,8 @@ ChkTeX The warnings will be placed close to the point of the mistake, and you can quickly find them by using the \family sans -\bar under -N -\bar default -avigate\SpecialChar \menuseparator - -\bar under -E -\bar default -rror +Navigate\SpecialChar \menuseparator +Error \family default menu item, or the shortcut key \family sans @@ -16059,15 +15902,8 @@ ChkTeX to get better along with you. Another choice in the most desperate situations is to use \family sans -\bar under -V -\bar default -iew\SpecialChar \menuseparator - -\bar under -R -\bar default -emove +View\SpecialChar \menuseparator +Remove \begin_inset space ~ \end_inset @@ -16174,20 +16010,9 @@ chktexrc \begin_layout Itemize Export your document as a raw LaTeX file using \family sans -\bar under -F -\bar default -ile\SpecialChar \menuseparator - -\bar under -E -\bar default -xport\SpecialChar \menuseparator - -\bar under -L -\bar default -aTeX +File\SpecialChar \menuseparator +Export\SpecialChar \menuseparator +LaTeX \family default and run \family typewriter @@ -17607,8 +17432,12 @@ It can generate the documentation either in LaTeX or HTML. \end_layout \begin_layout Itemize -It has a open architecture, i.e., it is easy to plug in new filters and to - perform special processing that you may need. +It has a open architecture, i.e. +\begin_inset space \space{} +\end_inset + +it is easy to plug in new filters and to perform special processing that + you may need. \end_layout @@ -17660,8 +17489,12 @@ Noweb independent \begin_inset Quotes erd \end_inset - way, i.e., you will be able to use this new LyX feature with some other literate - programming tool of your choice by just changing your LyX preferences. + way, i.e. +\begin_inset space \space{} +\end_inset + +you will be able to use this new LyX feature with some other literate programmin +g tool of your choice by just changing your LyX preferences. \end_layout \begin_layout Subsubsection @@ -17781,8 +17614,12 @@ The problem is that whatever is written in between the << and the \family typewriter @ \family default - must be taken literally, i.e., LyX should be prevented from making any special - interpretation of what has been written. + must be taken literally, i.e. +\begin_inset space \space{} +\end_inset + +LyX should be prevented from making any special interpretation of what has + been written. This is handled by a special layout named Scrap, that works like a normal paragraph but has a free spacing capability. \end_layout diff --git a/lib/examples/Braille.lyx b/lib/examples/Braille.lyx index 0646b42aed..1cae639bfd 100644 --- a/lib/examples/Braille.lyx +++ b/lib/examples/Braille.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass article @@ -8,6 +8,7 @@ \renewenvironment{lyxgreyedout} {\textcolor{blue}\bgroup}{\egroup} \end_preamble +\use_default_options false \begin_modules braille \end_modules @@ -36,7 +37,6 @@ braille \pdf_pdfborder false \pdf_colorlinks true \pdf_backref false -\pdf_pagebackref false \pdf_pdfusetitle false \papersize default \use_geometry true @@ -474,12 +474,8 @@ brailleunit \end_inset mm. - To get e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ + To get e.g. +\begin_inset space \space{} \end_inset double-sized Braille where also the tiny dots have the double size, use diff --git a/lib/examples/Foils.lyx b/lib/examples/Foils.lyx index 22d1d017e6..b0cb48c98b 100644 --- a/lib/examples/Foils.lyx +++ b/lib/examples/Foils.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass foils @@ -8,6 +8,7 @@ \MyLogo{-\LyX{} and \FoilTeX{}: What a team!-} \end_preamble \options dvips +\use_default_options false \language english \inputencoding default \font_roman default @@ -54,6 +55,7 @@ \tracking_changes false \output_changes false \author "" +\author "" \end_header \begin_body @@ -767,8 +769,11 @@ Restriction{} . While the second is meant to provide a classification for the audience - eg. - Confidential. + e.g. +\begin_inset space \space{} +\end_inset + +Confidential. \end_layout \begin_layout Standard diff --git a/lib/examples/ItemizeBullets.lyx b/lib/examples/ItemizeBullets.lyx index d77b15f14d..cbcd1fa954 100644 --- a/lib/examples/ItemizeBullets.lyx +++ b/lib/examples/ItemizeBullets.lyx @@ -1,11 +1,12 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass article \begin_preamble \usepackage{latexsym,pifont,amssymb} \end_preamble +\use_default_options false \language english \inputencoding default \font_roman default @@ -43,6 +44,7 @@ \tracking_changes false \output_changes false \author "" +\author "" \end_header \begin_body @@ -2062,7 +2064,7 @@ textbf{\SpecialChar \ldots{} } \family default , although the real changes are inside the guts). - PS stands for PostScript®. + PS stands for PostScript. PSNFSS is a set of LaTeX files which provide NFSS support for the basic set of 35 PS fonts present in many postscript printers. diff --git a/lib/examples/aa_sample.lyx b/lib/examples/aa_sample.lyx index 194bcb02f1..7fb2356271 100644 --- a/lib/examples/aa_sample.lyx +++ b/lib/examples/aa_sample.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass aa @@ -7,6 +7,7 @@ \usepackage{graphicx} % \end_preamble +\use_default_options false \language english \inputencoding auto \font_roman default @@ -40,6 +41,7 @@ \tracking_changes false \output_changes false \author "" +\author "" \end_header \begin_body @@ -234,11 +236,7 @@ key "baker" -mechanism is widespread under `cool' conditions. \begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -\end_layout +status open \begin_layout Plain Layout @@ -266,19 +264,6 @@ Introduction In the \emph on nucleated instability -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -/{} -\end_layout - -\end_inset - - \emph default (also called core instability) hypothesis of giant planet formation, a critical mass for static core envelope protoplanets has been found. @@ -338,9 +323,12 @@ key "balluch" \end_inset ), whereas earlier studies found quasi-steady collapse flows. - The similarities in the (micro)physics, i.e., constitutive relations of protostel -lar cores and protogiant planets serve as a further motivation for this - study. + The similarities in the (micro)physics, i.e. +\begin_inset space \space{} +\end_inset + +constitutive relations of protostellar cores and protogiant planets serve + as a further motivation for this study. \end_layout \begin_layout Section @@ -444,42 +432,15 @@ energy transport by grey radiation diffusion. \noindent For the one-zone-model Baker obtains necessary conditions for dynamical, secular and vibrational (or pulsational) stability (Eqs. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash - -\end_layout - +\begin_inset space \space{} \end_inset (34a, -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -, -\end_layout - +\begin_inset space \thinspace{} \end_inset b, -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -, -\end_layout - +\begin_inset space \thinspace{} \end_inset c) in Baker @@ -514,19 +475,6 @@ E_{\textrm{th}} & & \textrm{thermal energy of the zone}\end{eqnarray*} and with the definitions of the \emph on local cooling time -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -/{} -\end_layout - -\end_inset - - \emph default (see Fig. \begin_inset space ~ @@ -626,19 +574,6 @@ e=mc^{2}\end{array}\end{equation} one obtains, after some pages of algebra, the conditions for \emph on stability -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -/{} -\end_layout - -\end_inset - - \emph default given below: \begin_inset Formula \begin{eqnarray} @@ -717,16 +652,7 @@ reference "ZSVibSta" The one-zone stability can therefore be determined from a simple equation of state, given for example, as a function of density and temperature. Once the microphysics, i.e. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash - -\end_layout - +\begin_inset space \space{} \end_inset the thermodynamics and opacities (see Table @@ -1142,19 +1068,6 @@ schungs\SpecialChar \- ge\SpecialChar \- mein\SpecialChar \- schaft, DFG -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -/{} -\end_layout - -\end_inset - - \emph default project number Ts \begin_inset space ~ diff --git a/lib/examples/aas_sample.lyx b/lib/examples/aas_sample.lyx index b53d1653c9..b1787b0c2b 100644 --- a/lib/examples/aas_sample.lyx +++ b/lib/examples/aas_sample.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass aastex @@ -10,6 +10,7 @@ \shorttitle{Djorgovski et al.} \shortauthors{Collapsed Cores in Globular Clusters} \end_preamble +\use_default_options false \language english \inputencoding default \font_roman default @@ -43,6 +44,7 @@ \tracking_changes false \output_changes false \author "" +\author "" \end_header \begin_body @@ -144,7 +146,7 @@ Space Telescope Science Institute, Baltimore, MD 21218 \begin_layout Standard \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout diff --git a/lib/examples/docbook_article.lyx b/lib/examples/docbook_article.lyx index 49add9fa94..09f5c84ccc 100644 --- a/lib/examples/docbook_article.lyx +++ b/lib/examples/docbook_article.lyx @@ -1,8 +1,9 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 341 +\lyxformat 344 \begin_document \begin_header \textclass docbook +\use_default_options false \language english \inputencoding default \font_roman default @@ -260,7 +261,7 @@ status open \begin_layout Plain Layout \begin_inset Graphics - filename ../doc/platypus.eps + filename ../doc/clipart/platypus.eps width 2cm height 3cm scaleBeforeRotation @@ -302,7 +303,7 @@ status open \begin_layout Plain Layout \begin_inset Graphics - filename ../doc/platypus.eps + filename ../doc/clipart/platypus.eps width 2cm height 3cm scaleBeforeRotation @@ -318,7 +319,7 @@ status open \begin_inset Caption \begin_layout Plain Layout -long, very long... +long, very long\SpecialChar \ldots{} :-) \end_layout @@ -551,16 +552,6 @@ status collapsed \begin_layout Plain Layout -\begin_inset Marginal -status collapsed - -\begin_layout Plain Layout -margin note -\end_layout - -\end_inset - - \end_layout \begin_layout Plain Layout @@ -606,16 +597,6 @@ status collapsed \begin_layout Plain Layout -\begin_inset Marginal -status collapsed - -\begin_layout Plain Layout -too marginal ;-) -\end_layout - -\end_inset - - \end_layout \end_inset diff --git a/lib/examples/linguistics.lyx b/lib/examples/linguistics.lyx index 0cc2d03f56..687222a01b 100644 --- a/lib/examples/linguistics.lyx +++ b/lib/examples/linguistics.lyx @@ -1,1225 +1,1224 @@ -#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 344 -\begin_document -\begin_header -\textclass article -\begin_preamble -%% Uncomment the following for Tableaux captions on top: -%\floatstyle{plaintop} -%\restylefloat{tableau} -\end_preamble -\use_default_options false -\begin_modules -linguistics -\end_modules -\language english -\inputencoding auto -\font_roman lmodern -\font_sans default -\font_typewriter default -\font_default_family default -\font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - -\graphics default -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_bookmarks true -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks false -\pdf_backref false -\pdf_pdfusetitle true -\papersize default -\use_geometry false -\use_amsmath 1 -\use_esint 1 -\cite_engine basic -\use_bibtopic false -\paperorientation portrait -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\defskip medskip -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\author "" -\author "" -\end_header - -\begin_body - -\begin_layout Title -Writing linguistic papers with LyX -\end_layout - -\begin_layout Author -Jürgen Spitzmüller -\begin_inset Newline newline -\end_inset - - -\begin_inset CommandInset href -LatexCommand href -target "spitz@lyx.org" -type "mailto:" - -\end_inset - - -\end_layout - -\begin_layout Date -14/09/2008 -\end_layout - -\begin_layout Abstract -This paper describes some features that LyX provides to linguists. - It demonstrates how to use some native support in order to produce numbered - examples, glosses, OT tableaux, semantic markup, and phonetic symbols (IPA). -\end_layout - -\begin_layout Section -Aims and prerequisites -\end_layout - -\begin_layout Standard -Basically, this paper describes the features of the -\begin_inset Quotes eld -\end_inset - -Linguistics -\begin_inset Quotes erd -\end_inset - - module that ships with LyX as of version 1.6.0. - -\begin_inset Quotes eld -\end_inset - -Modules -\begin_inset Quotes erd -\end_inset - - are support files (introduced with LyX 1.6.0) that can easily be selected - for any document. - In order to use the Linguistics module, go to -\family sans -Document\SpecialChar \menuseparator -Settings\SpecialChar \menuseparator -Modules -\family default -, select -\begin_inset Quotes eld -\end_inset - -Linguistics -\begin_inset Quotes erd -\end_inset - - from the list of available modules, and hit the -\family sans -Add -\family default - button to select it for your document (as already done for this document). -\end_layout - -\begin_layout Standard -You should be able to use the module with any document class (please inform - me, if not). - However, in order to use all the features, you need to have the following - LaTeX packages installed: -\end_layout - -\begin_layout Enumerate - -\emph on -covington.sty -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "covington" - -\end_inset - -: This is the base package used for numbered examples and glosses. -\end_layout - -\begin_layout Enumerate - -\emph on -enumitem.sty -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "enumitem" - -\end_inset - -: This package is used for the Subexamples style. - It is generally useful to alter the appearance of lists (such as -\emph on -enumerate -\emph default -, -\emph on -itemize -\emph default -, -\emph on -description -\emph default -). -\end_layout - -\begin_layout Enumerate - -\emph on -csquotes.sty -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "csquotes" - -\end_inset - -: Needed for the -\emph on -Meaning -\emph default - character style. - The package provides context sensitive quotation marks, depending on the - language in use. -\end_layout - -\begin_layout Enumerate - -\emph on -float.sty -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "float" - -\end_inset - -: Needed for the OT tableaux floats and list of floats. - This package should be part of any LaTeX distribution. -\end_layout - -\begin_layout Section -Numbered examples -\end_layout - -\begin_layout Standard -Numbered examples are inserted via the layout dropdown box in the toolbar. - There are three variants: -\end_layout - -\begin_layout Numbered Example (multiline) -This is a multiline example [Style -\emph on -Numbered Example (multiline) -\emph default -] -\end_layout - -\begin_layout Numbered Example (multiline) -it can have several paragraphs -\end_layout - -\begin_layout Numbered Examples (consecutive) -This is a single example -\begin_inset CommandInset label -LatexCommand label -name "exa:single-example" - -\end_inset - - [Style -\emph on -Numbered Example (consecutive) -\emph default -] -\end_layout - -\begin_layout Numbered Examples (consecutive) -Consecutive single examples get their own numbers -\end_layout - -\begin_layout Subexample -This is a subexample -\begin_inset CommandInset label -LatexCommand label -name "sub:subexample" - -\end_inset - - [Style -\emph on -Subexample -\emph default -] -\end_layout - -\begin_layout Subexample -And another one -\end_layout - -\begin_layout Standard -References to examples are produced as usual: insert a label to the example - and a crossreference via -\family sans -Insert\SpecialChar \menuseparator -Cross references -\family default -. - We refer here, just for the sake of demonstrating this, to -\begin_inset CommandInset ref -LatexCommand ref -reference "exa:single-example" - -\end_inset - - and -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:subexample" - -\end_inset - -. -\end_layout - -\begin_layout Section -Glosses -\end_layout - -\begin_layout Standard -The Linguistics module provides two kinds of glosses, which can be inserted - via -\family sans -Insert\SpecialChar \menuseparator -Custom Insets -\family default -: The standard -\emph on -Custom:Glosse -\emph default - provides a glosse that consists of two lines and a translation, the -\emph on -Custom:Tri-Glosse -\emph default - insets consists of three lines and a translation. - Note that the translation line is mandatory and must be preceded by the - command -\family typewriter - -\backslash -glt -\family default - which should be inserted verbatim in the Glosse inset (ERT is not needed, - and in fact not even possible). -\end_layout - -\begin_layout Standard -Here is a simple example: -\end_layout - -\begin_layout Standard -\begin_inset Flex Custom:Glosse -status open - -\begin_layout Plain Layout -C'est un exemple simple -\end_layout - -\begin_layout Plain Layout -{This is} an example simple -\end_layout - -\begin_layout Plain Layout - -\backslash -glt -\begin_inset Quotes els -\end_inset - -This is a simple example -\begin_inset Quotes ers -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Note that the braces hold together multi-word expressions. - In the same vein, we can make a three-line glosse: -\end_layout - -\begin_layout Standard -\begin_inset Flex Custom:Tri-Glosse -status open - -\begin_layout Plain Layout -C'est un exemple simple -\end_layout - -\begin_layout Plain Layout -{Das ist} ein Beispiel einfach -\end_layout - -\begin_layout Plain Layout -{This is} an example simple -\end_layout - -\begin_layout Plain Layout - -\backslash -glt -\begin_inset Quotes els -\end_inset - -This is a simple example -\begin_inset Quotes ers -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -If you want to have numbered glosses, you can simply insert the Glosse inset - to a numbered examples paragraph, as follows: -\end_layout - -\begin_layout Numbered Examples (consecutive) -\begin_inset Flex Custom:Tri-Glosse -status open - -\begin_layout Plain Layout -Mein Luftkissenfahrzeug ist voller Aale -\end_layout - -\begin_layout Plain Layout -My skeertuig is vol palings -\end_layout - -\begin_layout Plain Layout -My hovercraft is {full of} eels -\end_layout - -\begin_layout Plain Layout - -\backslash -glt -\begin_inset Quotes els -\end_inset - -Do you have matches? -\begin_inset Quotes ers -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Optimality Theory Tableaux -\end_layout - -\begin_layout Standard -OT tableaux itself can of course simply be inserted as ordinary tables (for - specific features such as dashed lines and shaded cells, cf. - the -\emph on -EmbeddedObjects -\emph default - manual). - However, you might want to have the tableaux numbered throughout the document, - and you might want to have a -\emph on -List of Tableaux -\emph default -, similar to the -\emph on -List of Tables -\emph default -. - -\end_layout - -\begin_layout Standard -The Linguistics module provides support for both. - In -\family sans -Insert\SpecialChar \menuseparator -Floats -\family default -, you'll find a Tableaux float: -\end_layout - -\begin_layout Standard -\begin_inset Float tableau -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -/atikap/ -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\noun on -Onset -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\noun on -NoCoda -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\noun on -Dep -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\noun on -Max -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\mbox{☞}$ -\end_inset - - -\begin_inset Formula $\mbox{\textipa{P}}$ -\end_inset - -a.ti.ka -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -* -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -* -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -a.ti.ka -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -*! -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -* -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\mbox{\textipa{P}}$ -\end_inset - -a.ti.kap -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -*! -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -* -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -a.ti.kap -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -*! -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -*! -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -Example Tableau -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Note that by default, the caption is always placed below the tableaux in - the output, no matter where you put it in the LyX window. - To get the Tableaux captions on top, put the following code in -\family sans -Document\SpecialChar \menuseparator -Settings\SpecialChar \menuseparator -Preamble -\family default -: -\end_layout - -\begin_layout LyX-Code - -\backslash -floatstyle{plaintop} -\end_layout - -\begin_layout LyX-Code - -\backslash -restylefloat{tableau} -\end_layout - -\begin_layout Standard -If your using a KOMA class, use the following instead for better spacing: -\end_layout - -\begin_layout LyX-Code - -\backslash -floatstyle{komaabove} -\end_layout - -\begin_layout LyX-Code - -\backslash -restylefloat{tableau} -\end_layout - -\begin_layout Standard -A List of Tableaux inset can be found in -\family sans -Insert\SpecialChar \menuseparator -Lists & TOC -\family default -. - Even though this usually is placed at the beginning or the end of the document, - we do this here for exemplification purposes: -\end_layout - -\begin_layout Standard -\begin_inset FloatList tableau - -\end_inset - - -\end_layout - -\begin_layout Section -Semantic Markup (Character Styles) -\end_layout - -\begin_layout Standard -The Linguistics module comes with some character styles that are common - in linguistics: -\end_layout - -\begin_layout Enumerate -Concept (in small caps): -\begin_inset Flex CharStyle:Concepts -status collapsed - -\begin_layout Plain Layout -concept -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate -Expression (emphasized): -\begin_inset Flex CharStyle:Expression -status collapsed - -\begin_layout Plain Layout -expression -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate -Meaning (in single quotes): -\begin_inset Flex CharStyle:Meaning -status collapsed - -\begin_layout Plain Layout -meaning -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -You can insert the character styles via the -\family sans -Edit\SpecialChar \menuseparator -Text Style -\family default - submenu. - If you need to change the appearance of these styles later, you can redefine - them in the preamble. - To make expressions bold, for instance, insert: -\end_layout - -\begin_layout LyX-Code - -\backslash -renewcommand -\backslash -lingexpr[1]{ -\backslash -textbf{#1}} -\end_layout - -\begin_layout Standard -Similarly, concept ( -\family typewriter - -\backslash -lingconcept -\family default -) and meaning ( -\family typewriter - -\backslash -lingmeaning -\family default -) can be modified. -\end_layout - -\begin_layout Section -Phonetic Symbols (IPA) -\end_layout - -\begin_layout Standard -You do not need the Linguistics module to insert phonetic symbols, this - is a base functionality of LyX. - However, since this is frequently used by linguists, we will describe it - (briefly) in this paper nevertheless. -\end_layout - -\begin_layout Standard -A prerequisite to use LyX's IPA support is the LaTeX package -\emph on -tipa -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "tipa" - -\end_inset - -. - Additionally, if you want to have instant preview, you should have the - -\emph on -preview-latex -\emph default - package -\begin_inset CommandInset citation -LatexCommand cite -key "preview" - -\end_inset - - installed. -\end_layout - -\begin_layout Standard -Phonetic symbols can be entered via -\family sans -Insert\SpecialChar \menuseparator -Special characters\SpecialChar \menuseparator -Phonetic symbols. - -\family default -You get a little frame, where you can insert the symbols using the shortcut - notation which is described in the -\emph on -tipa -\emph default - manual. - Example: -\begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$ -\end_inset - - ( -\emph on -tipa -\emph default - shortcut notation: -\family typewriter -[Ekspl@"neIS@n -\family default -]). - Given that -\emph on - preview-lat -\family sans -\emph default -e -\family default -x is installed and you have switched on instant preview (in -\family sans - Tools\SpecialChar \menuseparator -Preferences\SpecialChar \menuseparator -Graphi -\family default -cs), you'll get a nice preview as soon as the cursor leaves the frame. -\end_layout - -\begin_layout Standard -Furthermore, most IPA glyphs can also be inserted (e. -\begin_inset space \thinspace{} -\end_inset - -g. - via -\family sans -Insert\SpecialChar \menuseparator -Special characters\SpecialChar \menuseparator -Symbols\SpecialChar \ldots{} - -\family default -) or pasted directly into LyX: [ɛkspləˈneɪʃən]. - In the output, they will be automatically transformed into the correct - -\emph on -tipa -\emph default - macro (if not, please inform me). - However, please note that the former method produces better output quality - for two reasons: -\end_layout - -\begin_layout Enumerate -direct input might result in a mix of fonts (in the above example, the latin - characters are taken from the base font, the IPA glyphs from the IPA font, - whereas -\family sans -Insert\SpecialChar \menuseparator -Special characters\SpecialChar \menuseparator -Phonetic symbol -\family default -s uses the IPA font for all characters) -\end_layout - -\begin_layout Enumerate -the letter kerning is not preserved -\end_layout - -\begin_layout Standard -So unless you only need to insert single IPA characters, the former method - is recommended, and it's worth learning the (pretty intuitive) IPA shortcut - notation. -\end_layout - -\begin_layout Section -Further information -\end_layout - -\begin_layout Standard -For a detailed description of specific possibilities for linguists, please - refer to the LinguistLyX page on the LyX wiki -\begin_inset CommandInset citation -LatexCommand cite -key "linguistlyx" - -\end_inset - - (feel free to enter your own hints there). -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "covington" - -\end_inset - -The covington package: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/macros/latex/contrib/covington/ -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "csquotes" - -\end_inset - -The csquotes package: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/ -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "enumitem" - -\end_inset - -The enumitem package: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/ -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "float" - -\end_inset - -The float package: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/macros/latex/contrib/float/ -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "linguistlyx" - -\end_inset - -Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti -c Papers. - -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://wiki.lyx.org/LyX/LinguistLyX -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "preview" - -\end_inset - -The preview-latex package: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/macros/latex/contrib/preview/ -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -key "tipa" - -\end_inset - -The tipa package and fonts: -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -http://www.ctan.org/tex-archive/fonts/tipa/ -\end_layout - -\end_inset - -. -\end_layout - -\end_body -\end_document +#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 344 +\begin_document +\begin_header +\textclass article +\begin_preamble +%% Uncomment the following for Tableaux captions on top: +%\floatstyle{plaintop} +%\restylefloat{tableau} +\end_preamble +\use_default_options false +\begin_modules +linguistics +\end_modules +\language english +\inputencoding auto +\font_roman lmodern +\font_sans default +\font_typewriter default +\font_default_family default +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 + +\graphics default +\paperfontsize default +\spacing single +\use_hyperref true +\pdf_bookmarks true +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle true +\papersize default +\use_geometry false +\use_amsmath 1 +\use_esint 1 +\cite_engine basic +\use_bibtopic false +\paperorientation portrait +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\defskip medskip +\quotes_language english +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\author "" +\author "" +\end_header + +\begin_body + +\begin_layout Title +Writing linguistic papers with LyX +\end_layout + +\begin_layout Author +Jürgen Spitzmüller +\begin_inset Newline newline +\end_inset + + +\begin_inset CommandInset href +LatexCommand href +target "spitz@lyx.org" +type "mailto:" + +\end_inset + + +\end_layout + +\begin_layout Date +14/09/2008 +\end_layout + +\begin_layout Abstract +This paper describes some features that LyX provides to linguists. + It demonstrates how to use some native support in order to produce numbered + examples, glosses, OT tableaux, semantic markup, and phonetic symbols (IPA). +\end_layout + +\begin_layout Section +Aims and prerequisites +\end_layout + +\begin_layout Standard +Basically, this paper describes the features of the +\begin_inset Quotes eld +\end_inset + +Linguistics +\begin_inset Quotes erd +\end_inset + + module that ships with LyX as of version 1.6.0. + +\begin_inset Quotes eld +\end_inset + +Modules +\begin_inset Quotes erd +\end_inset + + are support files (introduced with LyX 1.6.0) that can easily be selected + for any document. + In order to use the Linguistics module, go to +\family sans +Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +Modules +\family default +, select +\begin_inset Quotes eld +\end_inset + +Linguistics +\begin_inset Quotes erd +\end_inset + + from the list of available modules, and hit the +\family sans +Add +\family default + button to select it for your document (as already done for this document). +\end_layout + +\begin_layout Standard +You should be able to use the module with any document class (please inform + me, if not). + However, in order to use all the features, you need to have the following + LaTeX packages installed: +\end_layout + +\begin_layout Enumerate + +\emph on +covington.sty +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "covington" + +\end_inset + +: This is the base package used for numbered examples and glosses. +\end_layout + +\begin_layout Enumerate + +\emph on +enumitem.sty +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +: This package is used for the Subexamples style. + It is generally useful to alter the appearance of lists (such as +\emph on +enumerate +\emph default +, +\emph on +itemize +\emph default +, +\emph on +description +\emph default +). +\end_layout + +\begin_layout Enumerate + +\emph on +csquotes.sty +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "csquotes" + +\end_inset + +: Needed for the +\emph on +Meaning +\emph default + character style. + The package provides context sensitive quotation marks, depending on the + language in use. +\end_layout + +\begin_layout Enumerate + +\emph on +float.sty +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "float" + +\end_inset + +: Needed for the OT tableaux floats and list of floats. + This package should be part of any LaTeX distribution. +\end_layout + +\begin_layout Section +Numbered examples +\end_layout + +\begin_layout Standard +Numbered examples are inserted via the layout dropdown box in the toolbar. + There are three variants: +\end_layout + +\begin_layout Numbered Example (multiline) +This is a multiline example [Style +\emph on +Numbered Example (multiline) +\emph default +] +\end_layout + +\begin_layout Numbered Example (multiline) +it can have several paragraphs +\end_layout + +\begin_layout Numbered Examples (consecutive) +This is a single example +\begin_inset CommandInset label +LatexCommand label +name "exa:single-example" + +\end_inset + + [Style +\emph on +Numbered Example (consecutive) +\emph default +] +\end_layout + +\begin_layout Numbered Examples (consecutive) +Consecutive single examples get their own numbers +\end_layout + +\begin_layout Subexample +This is a subexample +\begin_inset CommandInset label +LatexCommand label +name "sub:subexample" + +\end_inset + + [Style +\emph on +Subexample +\emph default +] +\end_layout + +\begin_layout Subexample +And another one +\end_layout + +\begin_layout Standard +References to examples are produced as usual: insert a label to the example + and a crossreference via +\family sans +Insert\SpecialChar \menuseparator +Cross references +\family default +. + We refer here, just for the sake of demonstrating this, to +\begin_inset CommandInset ref +LatexCommand ref +reference "exa:single-example" + +\end_inset + + and +\begin_inset CommandInset ref +LatexCommand ref +reference "sub:subexample" + +\end_inset + +. +\end_layout + +\begin_layout Section +Glosses +\end_layout + +\begin_layout Standard +The Linguistics module provides two kinds of glosses, which can be inserted + via +\family sans +Insert\SpecialChar \menuseparator +Custom Insets +\family default +: The standard +\emph on +Custom:Glosse +\emph default + provides a glosse that consists of two lines and a translation, the +\emph on +Custom:Tri-Glosse +\emph default + insets consists of three lines and a translation. + Note that the translation line is mandatory and must be preceded by the + command +\family typewriter + +\backslash +glt +\family default + which should be inserted verbatim in the Glosse inset (ERT is not needed, + and in fact not even possible). +\end_layout + +\begin_layout Standard +Here is a simple example: +\end_layout + +\begin_layout Standard +\begin_inset Flex Custom:Glosse +status open + +\begin_layout Plain Layout +C'est un exemple simple +\end_layout + +\begin_layout Plain Layout +{This is} an example simple +\end_layout + +\begin_layout Plain Layout + +\backslash +glt +\begin_inset Quotes els +\end_inset + +This is a simple example +\begin_inset Quotes ers +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Note that the braces hold together multi-word expressions. + In the same vein, we can make a three-line glosse: +\end_layout + +\begin_layout Standard +\begin_inset Flex Custom:Tri-Glosse +status open + +\begin_layout Plain Layout +C'est un exemple simple +\end_layout + +\begin_layout Plain Layout +{Das ist} ein Beispiel einfach +\end_layout + +\begin_layout Plain Layout +{This is} an example simple +\end_layout + +\begin_layout Plain Layout + +\backslash +glt +\begin_inset Quotes els +\end_inset + +This is a simple example +\begin_inset Quotes ers +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +If you want to have numbered glosses, you can simply insert the Glosse inset + to a numbered examples paragraph, as follows: +\end_layout + +\begin_layout Numbered Examples (consecutive) +\begin_inset Flex Custom:Tri-Glosse +status open + +\begin_layout Plain Layout +Mein Luftkissenfahrzeug ist voller Aale +\end_layout + +\begin_layout Plain Layout +My skeertuig is vol palings +\end_layout + +\begin_layout Plain Layout +My hovercraft is {full of} eels +\end_layout + +\begin_layout Plain Layout + +\backslash +glt +\begin_inset Quotes els +\end_inset + +Do you have matches? +\begin_inset Quotes ers +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Optimality Theory Tableaux +\end_layout + +\begin_layout Standard +OT tableaux itself can of course simply be inserted as ordinary tables (for + specific features such as dashed lines and shaded cells, cf. + the +\emph on +EmbeddedObjects +\emph default + manual). + However, you might want to have the tableaux numbered throughout the document, + and you might want to have a +\emph on +List of Tableaux +\emph default +, similar to the +\emph on +List of Tables +\emph default +. + +\end_layout + +\begin_layout Standard +The Linguistics module provides support for both. + In +\family sans +Insert\SpecialChar \menuseparator +Floats +\family default +, you'll find a Tableaux float: +\end_layout + +\begin_layout Standard +\begin_inset Float tableau +placement h +wide false +sideways false +status open + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +/atikap/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\noun on +Onset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\noun on +NoCoda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\noun on +Dep +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\noun on +Max +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\mbox{☞}$ +\end_inset + + +\begin_inset Formula $\mbox{\textipa{P}}$ +\end_inset + +a.ti.ka +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +* +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +* +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a.ti.ka +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +*! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +* +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\mbox{\textipa{P}}$ +\end_inset + +a.ti.kap +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +*! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +* +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a.ti.kap +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +*! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +*! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout +Example Tableau +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Note that by default, the caption is always placed below the tableaux in + the output, no matter where you put it in the LyX window. + To get the Tableaux captions on top, put the following code in +\family sans +Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +Preamble +\family default +: +\end_layout + +\begin_layout LyX-Code + +\backslash +floatstyle{plaintop} +\end_layout + +\begin_layout LyX-Code + +\backslash +restylefloat{tableau} +\end_layout + +\begin_layout Standard +If your using a KOMA class, use the following instead for better spacing: +\end_layout + +\begin_layout LyX-Code + +\backslash +floatstyle{komaabove} +\end_layout + +\begin_layout LyX-Code + +\backslash +restylefloat{tableau} +\end_layout + +\begin_layout Standard +A List of Tableaux inset can be found in +\family sans +Insert\SpecialChar \menuseparator +Lists & TOC +\family default +. + Even though this usually is placed at the beginning or the end of the document, + we do this here for exemplification purposes: +\end_layout + +\begin_layout Standard +\begin_inset FloatList tableau + +\end_inset + + +\end_layout + +\begin_layout Section +Semantic Markup (Character Styles) +\end_layout + +\begin_layout Standard +The Linguistics module comes with some character styles that are common + in linguistics: +\end_layout + +\begin_layout Enumerate +Concept (in small caps): +\begin_inset Flex CharStyle:Concepts +status collapsed + +\begin_layout Plain Layout +concept +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +Expression (emphasized): +\begin_inset Flex CharStyle:Expression +status collapsed + +\begin_layout Plain Layout +expression +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +Meaning (in single quotes): +\begin_inset Flex CharStyle:Meaning +status collapsed + +\begin_layout Plain Layout +meaning +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You can insert the character styles via the +\family sans +Edit\SpecialChar \menuseparator +Text Style +\family default + submenu. + If you need to change the appearance of these styles later, you can redefine + them in the preamble. + To make expressions bold, for instance, insert: +\end_layout + +\begin_layout LyX-Code + +\backslash +renewcommand +\backslash +lingexpr[1]{ +\backslash +textbf{#1}} +\end_layout + +\begin_layout Standard +Similarly, concept ( +\family typewriter + +\backslash +lingconcept +\family default +) and meaning ( +\family typewriter + +\backslash +lingmeaning +\family default +) can be modified. +\end_layout + +\begin_layout Section +Phonetic Symbols (IPA) +\end_layout + +\begin_layout Standard +You do not need the Linguistics module to insert phonetic symbols, this + is a base functionality of LyX. + However, since this is frequently used by linguists, we will describe it + (briefly) in this paper nevertheless. +\end_layout + +\begin_layout Standard +A prerequisite to use LyX's IPA support is the LaTeX package +\emph on +tipa +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "tipa" + +\end_inset + +. + Additionally, if you want to have instant preview, you should have the + +\emph on +preview-latex +\emph default + package +\begin_inset CommandInset citation +LatexCommand cite +key "preview" + +\end_inset + + installed. +\end_layout + +\begin_layout Standard +Phonetic symbols can be entered via +\family sans +Insert\SpecialChar \menuseparator +Special characters\SpecialChar \menuseparator +Phonetic symbols. + +\family default +You get a little frame, where you can insert the symbols using the shortcut + notation which is described in the +\emph on +tipa +\emph default + manual. + Example: +\begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$ +\end_inset + + ( +\emph on +tipa +\emph default + shortcut notation: +\family typewriter +[Ekspl@"neIS@n +\family default +]). + Given that +\emph on + preview-lat +\family sans +\emph default +e +\family default +x is installed and you have switched on instant preview (in +\family sans + Tools\SpecialChar \menuseparator +Preferences\SpecialChar \menuseparator +Graphi +\family default +cs), you'll get a nice preview as soon as the cursor leaves the frame. +\end_layout + +\begin_layout Standard +Furthermore, most IPA glyphs can also be inserted (e.g. +\begin_inset space \space{} +\end_inset + +via +\family sans +Insert\SpecialChar \menuseparator +Special characters\SpecialChar \menuseparator +Symbols\SpecialChar \ldots{} + +\family default +) or pasted directly into LyX: [ɛkspləˈneɪʃən]. + In the output, they will be automatically transformed into the correct + +\emph on +tipa +\emph default + macro (if not, please inform me). + However, please note that the former method produces better output quality + for two reasons: +\end_layout + +\begin_layout Enumerate +direct input might result in a mix of fonts (in the above example, the latin + characters are taken from the base font, the IPA glyphs from the IPA font, + whereas +\family sans +Insert\SpecialChar \menuseparator +Special characters\SpecialChar \menuseparator +Phonetic symbol +\family default +s uses the IPA font for all characters) +\end_layout + +\begin_layout Enumerate +the letter kerning is not preserved +\end_layout + +\begin_layout Standard +So unless you only need to insert single IPA characters, the former method + is recommended, and it's worth learning the (pretty intuitive) IPA shortcut + notation. +\end_layout + +\begin_layout Section +Further information +\end_layout + +\begin_layout Standard +For a detailed description of specific possibilities for linguists, please + refer to the LinguistLyX page on the LyX wiki +\begin_inset CommandInset citation +LatexCommand cite +key "linguistlyx" + +\end_inset + + (feel free to enter your own hints there). +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "covington" + +\end_inset + +The covington package: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/macros/latex/contrib/covington/ +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "csquotes" + +\end_inset + +The csquotes package: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/ +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + +The enumitem package: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/ +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "float" + +\end_inset + +The float package: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/macros/latex/contrib/float/ +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "linguistlyx" + +\end_inset + +Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti +c Papers. + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://wiki.lyx.org/LyX/LinguistLyX +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "preview" + +\end_inset + +The preview-latex package: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/macros/latex/contrib/preview/ +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "tipa" + +\end_inset + +The tipa package and fonts: +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.ctan.org/tex-archive/fonts/tipa/ +\end_layout + +\end_inset + +. +\end_layout + +\end_body +\end_document diff --git a/lib/examples/xyfigure.lyx b/lib/examples/xyfigure.lyx index a006733233..d6519cc623 100644 --- a/lib/examples/xyfigure.lyx +++ b/lib/examples/xyfigure.lyx @@ -1,11 +1,12 @@ -#LyX 1.6.0beta3 created this file. For more info see http://www.lyx.org/ -\lyxformat 335 +#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 344 \begin_document \begin_header \textclass article \begin_preamble \usepackage[all]{xy} \end_preamble +\use_default_options false \language english \inputencoding auto \font_roman default @@ -16,6 +17,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize default \spacing single @@ -38,6 +40,7 @@ \tracking_changes false \output_changes false \author "" +\author "" \end_header \begin_body @@ -78,15 +81,15 @@ Xy \end_layout \begin_layout Standard -\begin_inset Formula \xymatrix{A\ar [d]\ar [r] & B\ar [d]\ar @{-->}[dl] \\ -C\ar @{_{(}->}[r] & D\ar @/{}_{1pc}/[u]} +\begin_inset Formula \xymatrix{A\ar[d]\ar[r] & B\ar[d]\ar@{-->}[dl] \\ +C\ar@{_{(}->}[r] & D\ar@/{}_{1pc}/[u]} \end_inset -\begin_inset Formula $\xymatrix{\, & \, & \mbox{}A\ar [r]\ar [d] & B\ar [d]\ar @{-->}[dl]\\ -\, & & C\ar @{_{(}->}[r] & D\ar @/_{1pc}/[u]} +\begin_inset Formula $\xymatrix{\, & \, & \mbox{}A\ar[r]\ar[d] & B\ar[d]\ar@{-->}[dl]\\ +\, & & C\ar@{_{(}->}[r] & D\ar@/_{1pc}/[u]} $ \end_inset diff --git a/lib/examples/xypic.lyx b/lib/examples/xypic.lyx index 301389e830..3f729f72a8 100644 --- a/lib/examples/xypic.lyx +++ b/lib/examples/xypic.lyx @@ -1,5 +1,5 @@ -#LyX 1.6.0beta3 created this file. For more info see http://www.lyx.org/ -\lyxformat 335 +#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 344 \begin_document \begin_header \textclass article @@ -22,6 +22,7 @@ \newdir{|>}{!/4.5pt/@{|}*:(1,-.2)@^{>}*:(1,+.2)@_{>}} \end_preamble +\use_default_options false \language english \inputencoding auto \font_roman ae @@ -32,6 +33,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize default \spacing single @@ -473,7 +475,7 @@ Ctrl-M \begin_layout Enumerate Move the mouse cursor out of the editing box and wait for a split second to see an arrow appear: -\begin_inset Formula $\xymatrix{A\ar [r] & B} +\begin_inset Formula $\xymatrix{A\ar[r] & B} $ \end_inset @@ -588,9 +590,9 @@ xymatrix{ \end_layout \begin_layout Standard -\begin_inset Formula $\xymatrix{U\ar @/_{1pc}/[ddr]_{\psi}\ar @/{}^{1pc}/[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@/_{1pc}/[ddr]_{\psi}\ar@/{}^{1pc}/[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 @@ -798,9 +800,9 @@ 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_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 @@ -876,7 +878,11 @@ beta \end_inset above the arrow, i.e. -\begin_inset Formula $\xymatrix{\ & \ \ar [l]_{\beta}^{\alpha}.} +\begin_inset space \space{} +\end_inset + + +\begin_inset Formula $\xymatrix{\ & \ \ar[l]_{\beta}^{\alpha}.} $ \end_inset @@ -954,9 +960,9 @@ 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 @@ -1111,7 +1117,7 @@ ar@{>..>>} produces an arrow with split end, a dotted shaft and double head. A number of other arrow designs is given in the table below. Note that the ends of embedding arrows -\begin_inset Formula $\xymatrix{A\ar @{^{(}->}[r] & B} +\begin_inset Formula $\xymatrix{A\ar@{^{(}->}[r] & B} $ \end_inset @@ -1157,7 +1163,7 @@ 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 @@ -1186,7 +1192,7 @@ ar \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{-->}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{-->}[r] & \ } \end_inset @@ -1215,7 +1221,7 @@ ar@{-->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{..>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{..>}[r] & \ } \end_inset @@ -1244,7 +1250,7 @@ ar@{..>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{~>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{~>}[r] & \ } \end_inset @@ -1273,7 +1279,7 @@ ar@{~>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{->>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{->>}[r] & \ } \end_inset @@ -1302,7 +1308,7 @@ ar@{->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{-->>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{-->>}[r] & \ } \end_inset @@ -1331,7 +1337,7 @@ ar@{-->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{>->>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{>->>}[r] & \ } \end_inset @@ -1360,7 +1366,7 @@ ar@{>->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{_{(}->}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{_{(}->}[r] & \ } \end_inset @@ -1389,7 +1395,7 @@ ar@{_(->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{^{(}->}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{^{(}->}[r] & \ } \end_inset @@ -1418,7 +1424,7 @@ ar@{^(->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{|-|}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{|-|}[r] & \ } \end_inset @@ -1450,19 +1456,8 @@ ar@{|-|} \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -noindent -\end_layout - -\end_inset - - Following the @-character by either a 2, 3, _,or a ^, we can produce arrows +\noindent +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 : @@ -1503,7 +1498,7 @@ 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 @@ -1532,7 +1527,7 @@ 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 @@ -1561,7 +1556,7 @@ ar@3 \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @_{->}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@_{->}[r] & \ } \end_inset @@ -1590,7 +1585,7 @@ ar@_{->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @^{->}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@^{->}[r] & \ } \end_inset @@ -1619,7 +1614,7 @@ ar@^{->} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @^{>>->>}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@^{>>->>}[r] & \ } \end_inset @@ -1648,7 +1643,7 @@ ar@^{>>->>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @{^{<}-_{>}}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@{^{<}-_{>}}[r] & \ } \end_inset @@ -1677,7 +1672,7 @@ ar@{^<-_>} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula \xymatrix{\ \ar @2{--}[r] & \ } +\begin_inset Formula \xymatrix{\ \ar@2{--}[r] & \ } \end_inset @@ -1756,18 +1751,7 @@ newdir{|>}{!/4.5pt/@{|}*:(1,-.2)@^{>}*:(1,+.2)@_{>}} \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -noindent -\end_layout - -\end_inset - +\noindent This defines a new arrow tip, referred to as \family typewriter |> @@ -1780,7 +1764,7 @@ ar@{-|>}[r] \family default and which displays correctly in LyX as: \begin_inset Formula \[ -\xymatrix{A\ar @{-|>}[r] & \ \ B} +\xymatrix{A\ar@{-|>}[r] & \ \ B} \] \end_inset @@ -1830,19 +1814,8 @@ ar@<1ex>[l]} \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -noindent -\end_layout - -\end_inset - - produces +\noindent +produces \begin_inset space ~ \end_inset @@ -1852,7 +1825,7 @@ noindent \begin_inset Formula \[ -\xymatrix{\circ\ar @<1ex>[r] & \circ\ar @<1ex>[l]} +\xymatrix{\circ\ar@<1ex>[r] & \circ\ar@<1ex>[l]} \] @@ -1867,7 +1840,7 @@ Inline or centered diagrams \begin_layout Standard Arrows and diagrams can be used inline, such as this one: -\begin_inset Formula $\xymatrix{\circ\ar @<1ex>[r] & \circ\ar @<1ex>[l]} +\begin_inset Formula $\xymatrix{\circ\ar@<1ex>[r] & \circ\ar@<1ex>[l]} $ \end_inset @@ -1969,7 +1942,7 @@ ar@/_{.5pc}/[l]} \begin_layout Standard \begin_inset Formula \[ -\xymatrix{A\ar @/{}_{.5pc}/[r] & B\ar @/{}_{.5pc}/[l]} +\xymatrix{A\ar@/{}_{.5pc}/[r] & B\ar@/{}_{.5pc}/[l]} \] \end_inset @@ -2043,8 +2016,8 @@ in \begin_layout Standard \begin_inset Formula \[ -\xymatrix{A\ar @(dr,dl)[r]\ar @(dr,dl)[rr] & B\ar @(d,r)[dl] & C\\ -E\ar @(ul,ur)} +\xymatrix{A\ar@(dr,dl)[r]\ar@(dr,dl)[rr] & B\ar@(d,r)[dl] & C\\ +E\ar@(ul,ur)} \] \end_inset @@ -2157,7 +2130,7 @@ $ \begin_layout Standard \begin_inset Formula \[ -\xymatrix{\txt {start}\ar [r] & *++[o][F]{1}\ar [r] & *++[o][F=]{2}\ar @(ur,dr)\ar @(ur,ul)[l]} +\xymatrix{\txt{start}\ar[r] & *++[o][F]{1}\ar[r] & *++[o][F=]{2}\ar@(ur,dr)\ar@(ur,ul)[l]} \] \end_inset @@ -2299,8 +2272,8 @@ The dimension of the rectangle is given as a dotted pair These are followed by the framing commands, to produce figures such as the following: \begin_inset Formula \[ -\xymatrix{A & B\ar @(d,r)[dl]\sp (0.2)\phi\sp (0.7)\psi\save "1,1"."2,1"*+[F=]\frm {}\restore \,\\ -C & \save "1,1"."1,2"*++[F]\frm {}\restore } +\xymatrix{A & B\ar@(d,r)[dl]\sp(0.2)\phi\sp(0.7)\psi\save"1,1"."2,1"*+[F=]\frm{}\restore\,\\ +C & \save"1,1"."1,2"*++[F]\frm{}\restore} \] \end_inset @@ -2927,8 +2900,8 @@ xyC{.5pc} \begin_layout Standard \begin_inset Formula \[ -\xyC {.5pc}\xyC {9pc}\xymatrix{A\ar [r]\ar [d] & B\\ -C\ar @{}[ur]|{\text{{horizontal stretch}}}} +\xyC{.5pc}\xyC{9pc}\xymatrix{A\ar[r]\ar[d] & B\\ +C\ar@{}[ur]|{\text{{horizontal stretch}}}} \] \end_inset @@ -2960,7 +2933,7 @@ Xy items, such as the intersection of the arrows in the figure below. In order to shift a label position alongside the shaft of an arrow, \begin_inset ERT -status open +status collapsed \begin_layout Plain Layout @@ -3070,8 +3043,8 @@ phi_{4}}. \begin_layout Standard \begin_inset Formula \[ -\xyC {4pc}\xymatrix{\bullet\ar [dr]\sp (0.3)\varphi & \circ\ar @{}[d]|\vdots\ar @(r,r)[d]\sp (0.2){\phi_{1}}\sp (0.4){\phi_{2}}\sb (0.6){\phi_{3}}\sp (0.8){\phi_{4}}\\ -\circ\ar [ur]\sb (0.3)\phi & \bullet} +\xyC{4pc}\xymatrix{\bullet\ar[dr]\sp(0.3)\varphi & \circ\ar@{}[d]|\vdots\ar@(r,r)[d]\sp(0.2){\phi_{1}}\sp(0.4){\phi_{2}}\sb(0.6){\phi_{3}}\sp(0.8){\phi_{4}}\\ +\circ\ar[ur]\sb(0.3)\phi & \bullet} \] \end_inset