]> git.lyx.org Git - lyx.git/blob - autotests/export/docbook/Additional_lyxcode.xml
DocBook: several missing features for Additional.lyx.
[lyx.git] / autotests / export / docbook / Additional_lyxcode.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 </chapter>
40 </book>