You are on page 1of 32

The LYX Tutorial

by the LYX Team

March 13, 2014

Email lyx-docs@lists.lyx.org

Contents
1

LYX

Section

15

CONTENTS

Bibliography

23

29

A
A

Chapter 1

1.1

LYX!

A
A A


1.2

1.2.1

CHAPTER 1.

A
A
A

1.2.2

User's Guide

Embedded Objects

Chapter 2
LYX
2.1

LYX

User's Guide

example_raw.lyx


CHAPTER 2.

2.1.1

LYX

File . New

This is my first LYX document!


File . Save As

A View . DVI
1

File . Export

2.1.2

Edit . Undo

Edit . Redo


/ / Edit . Cut Edit . Copy
Edit . Paste

/ Edit . Find & Replace


Find Next Replace
1 DVI-viewer

LYX

DVI-viewer

View

. Update . DVI

2.1.

LYX

Edit . Text Style

2.1.3

LYX



Introduction

User's Guide

2 L X
Y

3 AbiWord MS WordOOo

CHAPTER 2.

LYX

2.2

environments

2.2.1

Section Subsection

Introduction Section4
Section * Section*
Section

This is an introduction to my first LYX document.


Section
More Stuff Section
Section
About This Document

Section

2.2.

Sections and subsections are described below.


Section Description
Sections are bigger than subsections.
Subsection description
Subsections are smaller than sections.







User's Guide


2.2.2

Lists sublists

Itemize
Enumerate
Description
ListDescription

CHAPTER 2.

LYX


LYX is better than other word processors because:
Itemize

Typesetting is done for you.


Math is WYSIWYG
Lists are very easy to create!

Standard Alt+P S
Protected Break

5 Enumerate

Description
List
6
Protected Blank

example_raw.lyx

User's Guide
2.2.3

Quote
QuotationLYX-Code
5

6 TabTabTab

2.2.

typewriter
Verse
User's Guide
example_raw.lyx

CHAPTER 2.

LYX

Chapter 3

3.1


Article2
Document . Settings

A
1 for LAT X users: this is equivalent to the LAT X document class
E
E
2 That's usually the default document class

CHAPTER 3.


Article (AMS) 3

3.2

Additional Features

Document . Settings

LYX

File . New from Template letter.lyx

My Address
Signature
Signature


4
3

LTEX

LATEX

4 One warning, if you're writing from a template. If you erase all of the text in an
environment  for example, if you erase the whole My Address eld so that you can
replace it with your own  and then you move the cursor without writing any text, the
environment may disappear. This is because most environments cannot exist without any

3.3.

3.3

Article5
Title
AuthorDate
Abstract

example_raw.lyx

3.4

Labels Cross-References

3.4.1


Insert . Label

text in them. Just reselect the environment from the Environment box to get it back.

5 You should not be using the letter any more, since the

allow titles.

Letter document class doesn't

CHAPTER 3.

3.4.2

If you want to know more about this document, then see


section, which can be found on page.
Insert . Cross Reference

Apply


Protected Blank

Copy as Reference

Go
bel
3.4.3

to La-

3.5.

FOOTNOTESMARGIN

NOTES

User's Guide 6

example_raw.lyx

3.5

Footnotes Margin Notes

Insert . Footnote
LYX

LYX is a typesetting word processor.




Backspace
Delete
Insert . Marginal Note



6 By the way, copying a chapter title may cause an error, because chapters aren't allowed
in the article class, see section 3.1. If this happens, just delete the chapter title.

CHAPTER 3.

example_raw.lyx

3.6

Bibliography

Bibliography
The Lyx
Tutorial, by the LYX Documentation Team
Bibliography item

Label


Insert . Citation
Citation 7

Bibliography item
User's Guide
example_raw.lyx
7

3.7.

TABLE

3.7

OF CONTENTS

Table

of Contents

Insert . List / TOC . Table of Contents 





Outline
Document . Outline

8
Navigate

example_raw.lyx

CHAPTER 3.

Chapter 4

A
A
A
A

4.1

I like what Einstein said, E=mc^2, because it's so simple.


Insert . Math .
Inline FormulaLYX
E=mc^2
Esc
LYX

CHAPTER 4.

A 1

4.2

E = mc2 E = 1 + mc2

E = mc2 E = mc2.5 + 1

4.3


example_raw.lyx
1 L X
Y

4.4.

4.4

View . Toolbars . Math

4.4.1

4.4.2

v a + b


a = h7

(2
1
3

1
2

)=2

1
3

1
2

CHAPTER 4.

f = ma f = m
a
4.4.3

2
example_raw.lyx
4.4.4

TEX

lim log sin


sin
sin (x) sin(x)


cos2 limn
example_raw.lyx
4.4.5


2 3

Edit . Rows & Columns

2 Tab

4.4.

User's Guide

4.4.6

User's Guide

example_raw.lyx

f (x) =

log8 x
0

P5

Insert

i=1 i +

. Math . Cases

x>0
x=0

x1 x < 0

Environment

CHAPTER 4.

4.5

User's Guide

Chapter 5

5.1

LYX

User's
Guide Embedded Objects

Insert . Table

Insert . Graphics

Tools . Preferences
Help . Customization

CHAPTER 5.

Alt+F O File .
Open Ctrl+O
Help . Customization

5.2

AT X
L
E

A
A A


A A
A

AddiA
tional Features Embedded Objects

5.2.1

TEX

Insert . TEX Code


A


\gamma

A

5.2.

L TEX

A
A

A
\usepackage{foo} A

5.2.2

L TEX

tex2lyx

File . Import . LATEX (plain) LATEX tex2lyx


foo.tex foo.lyx
tex2lyx

tex2lyx A

tex2lyx

5.2.3

LYX

L TEX

File . Export . LATEX whatever.lyx


whatever.tex

5.2.4
5.2.4.1

L TEX

\documentclass

1

Document . Settings

Extra Options

LYX 1.6.4

CHAPTER 5.

5.2.4.2

Document .
ATEX Preamble
Settings . L
LATEX

5.2.5

BibTEX


Insert . List / TOC . BibTEX Bibliography BibTEX


BibTEX
5.3

A
A
A

You might also like