-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlyx.sgml
101 lines (96 loc) · 2.15 KB
/
lyx.sgml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<qandaset defaultlabel='qanda' id='lyx'>
<title>LyX Frequently Asked Questions</title>
<qandaentry>
<question>
<para>How can you print a PDF from a LyX document?</para>
</question>
<answer>
<para>
Use
<screen>
lyx -e pdf file.lyx
</screen>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
How to print a symbol?
</para>
</question>
<answer>
<para>
Get the symbol code using:
<screen>
$ xfd -fn "-*-symbol-*-*-*-*-*-*-*-*-*-107-*-*" &
</screen>
If using <command>vim(1)</command> use:
<screen>
xfd -fn "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" &
</screen>
Select the code (eg 326 for sqrt symbol). Enter math mode and type in \326.
</para>
<para>
You can also use LaTeX shortcuts like:
<simplelist columns='1'>
<member>\therefore</member>
<member>\alpha</member>
<member>\beta</member>
<member>\box</member>
<member>\forall</member>
<member>\exists</member>
<member>\copyright</member>
</simplelist>
</para>
<para>
Another way is to echo the character to a command prompt then cut and paste into
your document. For example:
<screen>
echo $'\xFB'
</screen>
Which should print û. See <command>iso_8859-1.7</command> or
<command>ascii(7)</command> for more codes.
</para>
<para>
For a full list check out the following
<simplelist columns='1'>
<member>
<ulink url="http://sea.am.ub.es/Latex/ltx-401.html">
<citetitle>Accents</citetitle>
</ulink>
</member>
<member>
<ulink url="http://sea.am.ub.es/Latex/ltx-407.html">
<citetitle>Miscellaneous symbols</citetitle>
</ulink>
</member>
<member>
<ulink url="http://sea.am.ub.es/Latex/ltx-405.html">
<citetitle>Greek</citetitle>
</ulink>
</member>
<member>
<ulink url="http://sea.am.ub.es/Latex/ltx-119.html">
<citetitle>Math Miscellany</citetitle>
</ulink>
</member>
</simplelist>
</para>
</answer>
</qandaentry>
<!-- question & answer template
<qandaentry>
<question>
<para>
another question
</para>
</question>
<answer>
<para>
another answer
</para>
</answer>
</qandaentry>
-->
</qandaset>