This file is indexed.

/usr/share/doc/elyxer/math-unicode.html is in elyxer 1.2.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="generator" content="http://www.nongnu.org/elyxer/"/>
<meta name="create-date" content="2013-03-10"/>
<link rel="stylesheet" href="lyx.css" type="text/css" media="all"/>
<title>eLyxer Math Showcase (Unicode edition)</title>
</head>
<body>
<div id="globalWrapper">
<h1 class="title">
<img class="embedded" src="elyxer.png" alt="figure elyxer.png" style="max-width: 160px; max-height: 160px;"/>
eLyXer Math Showcase
</h1>
<h2 class="author">
Alex Fernández (elyxer@gmail.com)
</h2>
<div class="fulltoc">
<div class="tocheader">
Table of Contents
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Section-1">Section 1: Introduction</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-1.1">Subsection 1.1: Versions</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-2">Section 2: Typography</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-2.1">Subsection 2.1: Greek Symbols</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-2.2">Subsection 2.2: Math Symbols</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-2.3">Subsection 2.3: Other Symbols</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-2.4">Subsection 2.4: Spacing</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-2.5">Subsection 2.5: Fonts</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-3">Section 3: Numeration</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-4">Section 4: Simple Structures</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-4.1">Subsection 4.1: Fractions</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-4.2">Subsection 4.2: Limits</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-4.3">Subsection 4.3: Roots</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-5">Section 5: Complex Structures</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-5.1">Subsection 5.1: Arrays</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-5.2">Subsection 5.2: Brackets</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-5.3">Subsection 5.3: Cases</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-5.4">Subsection 5.4: Braces</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-6">Section 6: Macros</a>
</div>
</div>

</div>
<h1 class="Section">
<a class="toc" name="toc-Section-1">1</a> Introduction
</h1>
<div class="Unindented">
This document is intended as a showcase of the mathematical abilities of eLyXer; for more information be sure to visit the <a class="URL" href="index.html">main page</a>.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-1.1">1.1</a> Versions
</h2>
<div class="Unindented">
There are several versions of this page:
</div>
<ul>
<li>
A <a class="URL" href="math.html">non-Unicode version</a> of this page with midspaces.
</li>
<li>
A <a class="URL" href="math-unicode.html">Unicode version</a> with mathematical spaces (generated with <tt>--unicode</tt>).
</li>
<li>
An <a class="URL" href="math-iso885915.html">ISO-8859-15 version</a> (generated with <tt>--iso885915</tt>).
</li>
<li>
An <a class="URL" href="math-html.html">HTML version</a> (generated with <tt>--html</tt>).
</li>
<li>
A <a class="URL" href="math-mathjax.html">MathJax remote version</a> with <a class="URL" href="http://www.mathjax.org/">MathJax</a> (generated with <tt>--mathjax remote</tt>).
</li>
<li>
A <a class="URL" href="math-mathjax-local.html">MathJax local version</a> with <a class="URL" href="http://www.mathjax.org/">MathJax</a> (generated with <tt>--mathjax</tt> and a local URL).
</li>
<li>
A <a class="URL" href="math-googlecharts.html">Google Charts version</a> with <a class="URL" href="http://code.google.com/apis/chart/index.html">Google Charts</a> (generated with <tt>--googlecharts</tt>).
</li>

</ul>
<div class="Unindented">
All of them are generated from the same <tt>.lyx</tt> source file; they should help you decide which rendering options suit you best.
</div>
<div class="Indented">
Also available online is the eLyXer translation of the latest <a class="URL" href="http://elyxer.nongnu.org/lyx/Math.html">LyX’s detailed Math manual</a>, which contains a lot more examples of LyX maths.
</div>
<h1 class="Section">
<a class="toc" name="toc-Section-2">2</a> Typography
</h1>
<div class="Unindented">
Math formulae use a lot of different symbols and fonts.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-2.1">2.1</a> Greek Symbols
</h2>
<div class="Unindented">
Greek symbols are very important in equations: <span class="formula"><i>φ</i></span>, <span class="formula"><i>π</i></span>, <span class="formula">Ξ</span>. eLyXer offers a complete set in both upper case: <span class="formula">Γ…Ω</span> and lower case: <span class="formula"><i>α</i><i>ω</i></span>. Also the AMS italicized upper case: <span class="formula"><i>Γ</i><i>Ω</i></span>.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-2.2">2.2</a> Math Symbols
</h2>
<div class="Unindented">
eLyXer supports the whole set of math symbols in <a class="URL" href="http://www.johndcook.com/math_symbols.html">John D. Cook's list</a>: <span class="formula">∃∂∇ ≥ </span>. It can also render a few more: <span class="formula"> ∝  × </span>. You also get all symbols from <a class="URL" href="http://www.cl.cam.ac.uk/~mgk25/ucs/examples/TeX.txt">Markus Kuhn's list</a>: <span class="formula">⊙∐</span>.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-2.3">2.3</a> Other Symbols
</h2>
<div class="Unindented">
There are other symbols like arrows: <span class="formula"> ←  → </span>, or geometrical shapes: <span class="formula"></span>, <span class="formula"></span>. eLyXer offers limited support for them. You might also want to use financial symbols in formulae: <span class="formula">¥€$</span>.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-2.4">2.4</a> Spacing
</h2>
<div class="Unindented">
Equations look good when items are properly separated. The main separation is the Medium Mathematical Space: <span class="formula"><i>x</i> = 3</span>. <span class="greyedout">
Note: if you are viewing the non-Unicode version <a class="FlexURL" href="math.html">math.html</a> of this page then you are in fact seeing midspaces, which are very similar but not exactly the same: <span class="formula"><span class="fraction"><span class="ignored">(</span><span class="numerator">4</span><span class="ignored">)/(</span><span class="denominator">18</span><span class="ignored">)</span></span><span class="mathrm"> em</span></span> for medium mathematical spaces versus <span class="formula"><span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">2</span><span class="ignored">)</span></span><span class="mathrm"> en</span></span>, where <span class="formula">1<span class="mathrm"> em</span> = 2<span class="mathrm"> en</span></span>. Try out the Unicode version <a class="FlexURL" href="math-unicode.html">math-unicode.html</a> — and viceversa. You can check out what version this page is in the page title.
</span>

</div>
<div class="Indented">
The command <tt>\raisebox</tt> is useful to, surprisingly, raise a little box, <div class="formula">
<span class="raisebox" style="vertical-align: 2mm;">raised</span><i>over</i><span class="raisebox" style="vertical-align: -2mm;">lowered</span><span class="textrm">and back</span>.
</div>
Like <tt>\mbox</tt>, it puts its content in a text box. It can also be used just for spacing:<br/>
 <span class="formula"><span class="raisebox" style="vertical-align: 5mm;"></span><i>B</i><sup><i>V</i></sup></span>.
</div>
<div class="Indented">
There are other spacing commands: <tt>\hspace</tt>: <span class="formula"><i>a</i><span class="hspace" style="width: 4mm;"> </span><i>b</i></span>, protected space: <span class="formula"><i>a</i> <i>b</i></span>, and (at &ldquo;block level&rdquo;)<tt> \vspace</tt>: <span class="formula"><i>a</i><span class="vspace" style="height: 1cm;"> </span><i>b</i></span>.
</div>
<div class="Indented">
There should be 1 cm of vertical space above this paragraph.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-2.5">2.5</a> Fonts
</h2>
<div class="Unindented">
By default, letters denote variables and are taken from the <tt>\mathnormal</tt> font, which is italic, <span class="formula"><i>α</i><i>x</i> + <i>α</i><i>y</i> = <i>α</i>(<i>x</i> + <i>y</i>)</span>, with the exception of upright capital Greek letters, <span class="formula"><i>G</i> ≠ Γ</span>.
</div>
<div class="Indented">
Function names should be upright: <span class="formula">sin(2<i>π</i>), log(<i>x</i>), tan<i>δ</i></span>.
</div>
<div class="Indented">
Mathematical fonts used in equations include <span class="formula"><span class="mathrm">Roman</span></span> (<tt>\mathrm</tt>), <span class="formula"><span class="mathsf">Sans Serif</span></span> (<tt>\mathsf</tt>), <span class="formula"><tt>Typewriter</tt></span> (<tt>\mathtt</tt>), <span class="formula"><b>Bold</b></span> (<tt>\mathbf</tt>), <span class="formula"><span class="scriptfont">SCRIPT</span></span> (<tt>\mathscr</tt>), <span class="formula"><span class="scriptfont">CALLIGRAPHIC</span></span> (<tt>\mathcal</tt>), <span class="formula"><span class="blackboard">BLACKBOARD BOLD</span></span> (<tt><span class="versalitas">\</span>mathbb</tt>), and <span class="formula"><span class="fraktur">Fraktur</span></span> (<tt>\mathfrak</tt>). For the latter, some single characters are translated to their Unicode equivalents: <span class="formula"></span>, <span class="formula">𝔽</span>, <span class="formula">𝔉</span>.
</div>
<div class="Indented">
Regular text in a formula can be achieved via text font commands like <tt>\textrm</tt>: <span class="formula">5 <span class="textrm"> to</span> 10</span>, via boxes like \mbox (prevents line breaks): <span class="formula">6<span class="mbox">  is more than </span>5</span>, or the AMSmath <tt>\text</tt> macro (scales like math symbols) <span class="formula"><span class="text">base</span><span class="scripts"><sup class="script"><span class="text">super</span></sup><sub class="script"><span class="text">sub</span></sub></span></span>. The content of an mbox is processed in LaTeX text mode. This allows text font commands, e.g. a switch to <span class="sans"><b><i>sans-serif-bold-italic</i></b></span>, or the phonetic alphabet: <span class="formula"><span class="mbox"><b><span class="textsf"><b><i>sfbfit</i></b></span></b>, <span class="textipa">tipa</span></span></span>.
</div>
<div class="Indented">
Units should be written upright, either with <tt>\mathrm</tt> or with macros from the <tt>units</tt> package, e.g. as simple unit, <span class="formula"><span class="unit">km</span></span>, with magnitude, <span class="formula">57<span class="unit"> km</span></span>, with fractional unit, <span class="formula">200<span class="fraction"><sup class="unit"> km</sup><sub class="unit">h</sub></span></span>, or with a fraction before the units, <span class="formula"><span class="fraction"><sup class="numerator">3</sup><sub class="denominator">2</sub></span><span class="unit"> km</span></span>, <span class="formula"><span class="fraction"><span class="ignored">(</span><span class="numerator">7</span><span class="ignored">)/(</span><span class="denominator">16</span><span class="ignored">)</span></span><span class="unit"> s</span></span>.
</div>
<h1 class="Section">
<a class="toc" name="toc-Section-3">3</a> Numeration
</h1>
<div class="Unindented">
Equations can be numbered, like (<a class="Reference" href="#eq:first">1↓</a>) <div class="formula">
<a class="eqnumber" name="eq:first">(1) </a><i>y</i> = <i>x</i>
</div>
 And also like <a class="Reference" href="#eq:second">(2↓)</a>. <div class="formula">
<a class="eqnumber" name="eq:second">(2) </a><i>x</i> = 3
</div>
 Some equations can be numbered even if they don’t have a label.
</div>
<div class="Indented">
<div class="formula">
<a class="eqnumber" name="eq-3">(3) </a><i>x</i> = 2<i>y</i>
</div>
 Notice that equation (<a class="Reference" href="#eq:second">2↑</a>) comes after (<a class="Reference" href="#eq:first">1↑</a>).
</div>
<h1 class="Section">
<a class="toc" name="toc-Section-4">4</a> Simple Structures
</h1>
<div class="Unindented">
Let’s now see a few of the simpler structures that eLyXer can output.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-4.1">4.1</a> Fractions
</h2>
<div class="Unindented">
A simple fraction: <div class="formula">
<span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">2</span><span class="ignored">)</span></span>.
</div>
Inlined: <span class="formula"><span class="fraction"><span class="ignored">(</span><span class="numerator">2</span><span class="ignored">)/(</span><span class="denominator">3</span><span class="ignored">)</span></span>.</span>
</div>
<div class="Indented">
A big recursive fraction: <div class="formula">
<span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span>1 + <span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">1 + <span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">1 + 2<i>x</i></span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span><span class="ignored">)</span></span>
</div>

</div>
<div class="Indented">
A nice fraction: <span class="formula"><span class="fraction"><sup class="numerator">5</sup><sub class="denominator">6</sub></span></span>. A non-diminishing fraction containing alignments:<div class="formula">
<span class="fullfraction"><span class="ignored">(</span><span class="numerator align-">1</span><span class="ignored">)/(</span><span class="denominator">1 + <span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="fullfraction"><span class="ignored">(</span><span class="numerator align-l">1</span><span class="ignored">)/(</span><span class="denominator">1 + <i>x</i></span><span class="ignored">)</span></span> × <span class="fullfraction"><span class="ignored">(</span><span class="numerator align-r">1</span><span class="ignored">)/(</span><span class="denominator">1 + <i>x</i></span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span><span class="ignored">)</span></span>.
</div>

</div>
<div class="Indented">
A similar concept is a binomial coefficient: <span class="formula"><span class="bigsymbol">(</span><span class="binom"><span class="binomstack"><i>A</i> + 1</span><span class="binomstack"><i>B</i></span></span><span class="bigsymbol">)</span>.</span> It can be prettily presented: <div class="formula">
<span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="binomial"><span class="binomrow"><span class="binomcell"><i>A</i></span></span><span class="binomrow"><span class="binomcell"></span></span><span class="binomrow"><span class="binomcell"><i>B</i> + 1</span></span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span>.
</div>

</div>
<div class="Indented">
A symbol can be stacked over another using <tt>\stackrel</tt>: <span class="formula"><i>x</i><span class="stackrel"><span class="upstackrel"><i>R</i></span><span class="downstackrel"> → </span></span><i>y</i></span>. Anything can be stacked: <div class="formula">
<i>d</i><span class="stackrel"><span class="upstackrel"><i>x</i>&gt; 3</span><span class="downstackrel"><span class="limits"><span class="limit">lim</span></span></span></span><i>x</i>,  <span class="stackrel"><span class="upstackrel"><span class="mathrm">head</span></span><span class="downstackrel"><span class="mathrm">heels</span></span></span>.
</div>

</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-4.2">4.2</a> Limits
</h2>
<div class="Unindented">
<span class="formula"><span class="limits"><span class="limit">lim</span></span><sub><i>x</i> → ∞</sub><i>f</i>(<i>x</i>)</span> should appear as <span class="formula"><i>x</i> → ∞</span> in italics, and «lim» in plain style. In display mode, a limit must appear below the main symbol: <div class="formula">
<span class="limits"><sup class="limit"></sup><span class="limit">lim</span><sub class="limit"><i>x</i> → ∞</sub></span><i>f</i>(<i>x</i>).
</div>

</div>
<div class="Indented">
Limits are also used in sums and integrals: <div class="formula">
<span class="limits"><sup class="limit"></sup><span class="limit"></span><span class="limit"></span><sub class="limit"><i>i</i> = 1</sub></span><i>x</i>,  <span class="limits"><sup class="limit"></sup><span class="limit"></span><span class="limit"></span><sub class="limit">0</sub></span><i>f</i>(<i>x</i>) <span class="mathrm">d</span><i>x</i>
</div>
where the sum’s limits should appear below (<span class="formula"><i>i</i> = 1</span>) and above (<span class="formula"></span>) the <span class="formula"><span class="limits"><span class="limit"></span></span></span>. The placement of the integral limits depends on the document class: LaTeX standard classes place them right to the <span class="formula"><span class="limits"><span class="limit"></span></span></span>. Limits are shown to the right in inline formulae: <span class="formula"><span class="limits"><span class="limit"></span></span><span class="scripts"><sup class="script"></sup><sub class="script"><i>i</i> = 1</sub></span><i>x</i></span> and <span class="formula"><span class="limits"><span class="limit"></span></span><span class="scripts"><sup class="script"></sup><sub class="script"><i>i</i> = 1</sub></span><i>x</i>.</span>
</div>
<div class="Indented">
The placing of limits can be configured with the <tt>\limits</tt> and <tt>\nolimits</tt> macros: <div class="formula">
<span class="limits"><span class="limit">lim</span></span><sub><i>x</i> → ∞</sub><i>f</i>(<i>x</i>),  <span class="limits"><span class="limit"></span><span class="limit"></span></span><span class="scripts"><sup class="script"></sup><sub class="script"><i>i</i> = 1</sub></span><i>x</i>,  <span class="limits"><sup class="limit"></sup><span class="limits"><span class="limit"></span><span class="limit"></span></span><sub class="limit">0</sub></span><i>f</i>(<i>x</i>) <span class="mathrm">d</span><i>x</i>
</div>

</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-4.3">4.3</a> Roots
</h2>
<div class="Unindented">
A square root: <span class="formula"><span class="sqrt"><span class="radical"></span><span class="ignored">(</span><span class="root">3</span><span class="ignored">)</span></span>.</span> A more complex root in a fraction:<div class="formula">
<span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span>1 + <span class="sqrt"><span class="radical"></span><span class="ignored">(</span><span class="root">2</span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">1 + <span class="sqrt"><span class="radical"></span><span class="ignored">(</span><span class="root">2</span><span class="ignored">)</span></span></span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span> + <span class="sqrt"><span class="radical"></span><span class="ignored">(</span><span class="root"><span class="fraction"><span class="ignored">(</span><span class="numerator">1</span><span class="ignored">)/(</span><span class="denominator">2</span><span class="ignored">)</span></span></span><span class="ignored">)</span></span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span><span class="ignored">)</span></span>.
</div>

</div>
<div class="Indented">
eLyXer can also do higher-order roots: <span class="formula"><span class="sqrt"><sup class="root">3</sup><span class="radical"></span><span class="ignored">(</span><span class="root"><i>x</i> + <i>y</i></span><span class="ignored">)</span></span></span>. A devilish case mixing everything we have seen so far:<div class="formula">
<span class="fraction"><span class="ignored">(</span><span class="numerator"><span class="sqrt"><sup class="root"><span class="fraction"><sup class="numerator">7</sup><sub class="denominator">8</sub></span></sup><span class="radical"></span><span class="ignored">(</span><span class="root"><span class="fraction"><span class="ignored">(</span><span class="numerator">8</span><span class="ignored">)/(</span><span class="denominator">4</span><span class="ignored">)</span></span><i>x</i></span><span class="ignored">)</span></span> + <span class="limits"><sup class="limit"></sup><span class="limit"></span><span class="limit"></span><sub class="limit"><i>i</i> = 1</sub></span><i>x</i></span><span class="ignored">)/(</span><span class="denominator"><span class="sqrt"><sup class="root"><i>s</i> + 5</sup><span class="radical"></span><span class="ignored">(</span><span class="root"><span class="fraction"><span class="ignored">(</span><span class="numerator">(78<i>x</i> + 45<i>y</i>) × <span class="sqrt"><span class="radical"></span><span class="ignored">(</span><span class="root">Ω</span><span class="ignored">)</span></span></span><span class="ignored">)/(</span><span class="denominator">sin(<i>x</i> + 1)</span><span class="ignored">)</span></span> + 38<span class="unit"> km</span></span><span class="ignored">)</span></span></span><span class="ignored">)</span></span>.
</div>

</div>
<h1 class="Section">
<a class="toc" name="toc-Section-5">5</a> Complex Structures
</h1>
<div class="Unindented">
In this section we will explore arrays and related constructs.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-5.1">5.1</a> Arrays
</h2>
<div class="Unindented">
An inline array <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span> is always shown in the same line. In display mode, the array is shown on its own line: <div class="formula">
<span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-l">
12
</span>
<span class="arraycell align-c">
2
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-l"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-l">
3
</span>
<span class="arraycell align-c">
4 × <i>y</i><sup><i>x</i></sup>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span>
</div>
Apart from that the appearance should be the same.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-5.2">5.2</a> Brackets
</h2>
<div class="Unindented">
Arrays are separated by variable-size brackets: <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span> <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span> <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span> <span class="formula"><span class="symbol"></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="symbol"></span></span> <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left">|</span></span><span class="arrayrow"><span class="bracket align-left">|</span></span><span class="arrayrow"><span class="bracket align-left">|</span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right">|</span></span><span class="arrayrow"><span class="bracket align-right">|</span></span><span class="arrayrow"><span class="bracket align-right">|</span></span></span></span>which might also differ on right and left <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span><span class="arrayrow"><span class="bracket align-right"></span></span></span></span> or use the empty opening <span class="formula"><span class="array"><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span><span class="arrayrow"><span class="bracket align-left"></span></span></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="emptydot"></span></span> or closing: <span class="formula"><span class="emptydot"></span><span class="array"><span class="arrayrow">
<span class="arraycell align-c">
<i>a</i>
</span>
<span class="arraycell align-c">
<i>b</i>
</span>

</span>
<span class="arrayrow">
<span class="arraycell align-c"></span>
<span class="arraycell align-c"></span>

</span>
<span class="arrayrow">
<span class="arraycell align-c">
<i>c</i>
</span>
<span class="arraycell align-c">
<i>d</i>
</span>

</span>
</span><span class="array"><span class="arrayrow"><span class="bracket align-right">|</span></span><span class="arrayrow"><span class="bracket align-right">|</span></span><span class="arrayrow"><span class="bracket align-right">|</span></span></span></span>. There are also fixed-size big brackets, e.g. <span class="formula"><span class="bigsymbol"></span><i>f</i><span class="bigsymbol"></span></span>.
</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-5.3">5.3</a> Cases
</h2>
<div class="Unindented">
Used to switch between several values.
</div>
<div class="Indented">
<div class="formula">
<i>y</i> = <span class="array"><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span></span><span class="bracketcases">
<span class="arrayrow">
<span class="case align-l">
<i>x</i></span>
<span class="case align-l">
<i>i</i> = 0,  
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
  
</span>
<span class="case align-l">
  
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
<i>x</i> + 1 
</span>
<span class="case align-l">
<i>i</i>&lt; 3 
</span>

</span>

</span>

</div>

</div>
<div class="Indented">
Cases may have more than two rows:
</div>
<div class="Indented">
<div class="formula">
<i>f</i>(<i>x</i>) = <span class="array"><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span><span class="arrayrow"><span class="bracket align-l"></span></span></span><span class="bracketcases">
<span class="arrayrow">
<span class="case align-l">
0 
</span>
<span class="case align-l">
<i>x</i>&lt; 0,  
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
  
</span>
<span class="case align-l">
  
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
∞ 
</span>
<span class="case align-l">
<i>x</i> = 0 
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
  
</span>
<span class="case align-l">
  
</span>

</span>
<span class="arrayrow">
<span class="case align-l">
0 
</span>
<span class="case align-l">
<i>x</i>&gt; 0 
</span>

</span>

</span>

</div>

</div>
<h2 class="Subsection">
<a class="toc" name="toc-Subsection-5.4">5.4</a> Braces
</h2>
<div class="Unindented">
Values can be underbraced or overbraced.
</div>
<div class="Indented">
<span class="formula"><span class="underbrace"><i>a</i> − <i>b</i></span> = <span class="overbrace"><i>b</i> + <i>c</i> + <i>d</i> + <i>e</i></span></span>.
</div>
<h1 class="Section">
<a class="toc" name="toc-Section-6">6</a> Macros
</h1>
<div class="Unindented">
Now it’s time for user-defined commands (sometimes called &ldquo;macros&rdquo;).
</div>
<div class="Indented">
Definitions can be added as macros. Then they can be used in formulae: <span class="formula"><span class="sqrt"><sup class="root">1</sup><span class="radical"></span><span class="ignored">(</span><span class="root">2</span><span class="ignored">)</span></span></span>. They can accept default parameters. Again, useful in formulae: <span class="formula"><span class="sqrt"><sup class="root">4</sup><span class="radical"></span><span class="ignored">(</span><span class="root">5</span><span class="ignored">)</span></span></span>.
</div>
<div class="Indented">
Other definitions from the preamble can be used: <span class="formula"><span class="sqrt"><sup class="root">3</sup><span class="radical"></span><span class="ignored">(</span><span class="root">4</span><span class="ignored">)</span></span></span>.
</div>
<div class="Indented">
Definitions on the fly are also possible: <span class="formula"><span class="sqrt"><sup class="root">7</sup><span class="radical"></span><span class="ignored">(</span><span class="root">8</span><span class="ignored">)</span></span></span>, and used with different values: <span class="formula"><span class="sqrt"><sup class="root"><i>a</i></sup><span class="radical"></span><span class="ignored">(</span><span class="root"><i>b</i></span><span class="ignored">)</span></span></span>.
</div>

<hr class="footer"/>
<div class="footer" id="generated-by">
Document generated by <a href="http://elyxer.nongnu.org/">eLyXer 1.2.5 (2013-03-10)</a> on <span class="create-date">2013-03-10T22:23:58.818117</span>
</div>
</div>
</body>
</html>