]> git.lyx.org Git - lyx.git/blob - autotests/export/docbook/lyxcode_Additional.xml
DocBook: update bibliography handling for 337f9534260.
[lyx.git] / autotests / export / docbook / lyxcode_Additional.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0dev
3   See http://www.lyx.org/ for more information -->
4 <book xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
5 <info>
6 <title>Additional LyX Features</title>
7 <subtitle>Version 2.3.x</subtitle>
8 <author>
9 <personname>by the LyX Team<footnote>
10 <para>Principal maintainer of this file is<personname> Richard Heck</personname>. If you have comments or error corrections, please send them to the LyX Documentation mailing list, <code>&lt;lyx-docs@lists.lyx.org&gt;</code>.</para>
11 </footnote></personname>
12 </author>
13 </info>
14 <chapter xml:id="sec.Inserting-TeX-Code">
15 <title>Inserting TeX Code into LyX Documents</title>
16 <para>Anything you can do in LaTeX you can do in LyX, for a very simple reason: You can always insert TeX code into any LyX document. LyX cannot, and will never be able to, display every possible LaTeX construct. If ever you need to insert LaTeX commands into your LyX document, you can use the <code>TeX Code</code> box, which you can insert into your document with <personname>Insert&#x21D2;TeX Code</personname> or the keyboard shortcut <keycap>Ctrl+L</keycap>.</para>
17 <para>Here's an example of inserting LaTeX commands in a LyX document. The code looks like this:</para>
18 <programlisting language='lyx'>\begin{tabular}{ll}
19 \begin{minipage}{5cm}
20 This is an example of a minipage environment. You 
21 can put nearly everything in it, even (non-floating) 
22 figures and tables. 
23 \end{minipage}
24 &amp;
25 \begin{minipage}{5cm}
26 \begin{verbatim}
27 \begin{minipage}{5cm}
28 This ... 
29 \end{minipage}
30 \end{verbatim}
31 \end{minipage}
32 \end{tabular}</programlisting>
33 <section>
34 <title>Cross-References Between Files</title>
35 <sidebar role='shadowbox'>
36 <para>This section is somewhat out of date. Need to describe default master documents and how children are opened when the master is. [[FIXME]]</para>
37 </sidebar>
38 </section>
39 <section>
40 <title>AMS LaTeX</title>
41 <para>These same environments are provided only in the starred versions by the <code>Theorems (Starred)</code> module:</para>
42 <para role='theorem'>This is typically used for the statements of major results. </para>
43 <para role='corollary'>This is used for statements which follow fairly directly from previous statements. Again, these can be major results. </para>
44 <para role='lemma'>These are smaller results needed to prove other statements.</para>
45 <para role='proposition'>These are less major results which (hopefully) add to the general theory being discussed.</para>
46 <para role='conjecture'>These are statements provided without justification, which the author does not know how to prove, but which seem to be true (to the author, at least).</para>
47 <para role='definition'>Guess what this is for. The font is different for this environment than for the previous ones. </para>
48 <informalexample>
49 <para>Used for examples illustrating proven results.</para>
50 </informalexample>
51 <para role='problem'>It's not really known what this is for. You should figure it out.</para>
52 <para role='exercise'>Write a description for this one.</para>
53 <note role='theorem'>
54 <para>This environment is also a type of theorem, usually a lesser sort of observation.</para>
55 </note>
56 <para role='claim'>Often used in the course of giving a proof of a larger result.</para>
57 <para role='cases'>Generally, these are used to break up long arguments, using specific instances of some condition. The numbering scheme for cases is on its own, not together with other numbered statements. </para>
58 <para role='proof'>At the end of this environment, a QED symbol (usually a square, but it can vary with different styles) is placed. If you want to have other environments within this one—for example, Case environments—and have the QED symbol appear only after them, then the other environments need to be nested within the proof environment. See the section <emphasis>Nesting Environments</emphasis> of the <emphasis>User's Guide</emphasis> for information on nesting.</para>
59 <para>And these environments are provided by <code>Theorems (AMS-Extended)</code>:</para>
60 <para role='criterion'>A required condition.</para>
61 <para role='algorithm'>A general procedure to be used.</para>
62 <para role='axiom'>This is a property or statement taken as true within the system being discussed.</para>
63 <para role='condition'>Sometimes used to state a condition assumed within the present context of discussion.</para>
64 <note role='theorem'>
65 <para>Similar to a Remark.</para>
66 </note>
67 <para role='notation'>Used for the explanation of, yes, notation.</para>
68 <para role='summary'>Do we really need to tell you? </para>
69 <para role='acknowledgement'>Acknowledgement.</para>
70 <para role='conclusion'>Sometimes used at the end of a long train of argument.</para>
71 <para role='fact'>Used in a way similar to Proposition, though perhaps lower on the scale.</para>
72 <para>In addition, the AMS classes automatically provide the AMS LaTeX and AMS fonts packages. They need to be available on your system in order to use these environments.</para>
73 </section>
74 </chapter>
75 </book>