0% found this document useful (0 votes)
66 views4 pages

Learn Auc Tex

This document discusses learning LaTeX. It provides examples of formatting text including paragraphs, quotes, mathematics, and different font styles. It demonstrates dividing a document into sections and subsections with numbers. The document also shows how to write poems in LaTeX and provides examples of LaTeX commands like bold, italics, and font selection using AUCTEX.

Uploaded by

Shuyao Li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views4 pages

Learn Auc Tex

This document discusses learning LaTeX. It provides examples of formatting text including paragraphs, quotes, mathematics, and different font styles. It demonstrates dividing a document into sections and subsections with numbers. The document also shows how to write poems in LaTeX and provides examples of LaTeX commands like bold, italics, and font selection using AUCTEX.

Uploaded by

Shuyao Li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Learning LATEX

Li Shuyao∗
December 23, 2018

Abstract
This is my first document prepared in LATEX. I typed it on December
23, 2018.

We have seen that to typeset something in LATEX, we type in the text to be


typeset together with some LATEX commands.
The end of a paragraph is specified by a blank line in the input. Hence this
sentence is not a new paragraph even with a newline.
This is a new paragraph without indentation.
Every line would have the same length. Every line would have the same
length. Every line would have the same length. Every line would have the same
length. Every line would have the same length. Every line would have the same
length.

Find the difference and tell which one is correct?


Carrots are good for your eyes, since they contain Vitamin A. Have you ever
seen a rabbit wearing glasses?
Carrots are good for your eyes, since they contain Vitamin A. Have you ever
seen a rabbit wearing glasses?
The numbers 1, 2, 3, etc. are called natural numbers. According to Kro-
necker, they were made by God; all else being the work of Man.

The numbers 1, 2, 3, etc. are called natural numbers. According to Kro-


necker, they were made by God; all else being the work of Man.

Ex. 5d
Ex. 5d

What happens to the quotes?


’single quotes’
”douhle quotes”
”double quotes”
‘left quotes‘
∗ Guidance provided largely by Indian TEX Users Group

1
“Maybe it is left double quotes?”
Note the difference in right and left quotes in ‘single quotes’ and “double
quotes”.

X-rays are discussed in pages 221–225 of Volumes 3—the volum on electro-


magnetic waves.

Notice the difference


iıj

Ten reserved characters:


˜# $ % ˆ& \{ }

Example: Él está aquı́

Note the use of width-sepcified line breaker here

Text positioning:

The TEXnical Institute

Certificate
This is to certify that Mr. Meow has undergone course at this institute and is
qualified to be a TEXnician.

The TEXnical Institute

The Director

2
Type style:
sans serif family, boldface series, upright shape
roman family, medium series, slanted shape
slanted
italic
One way to type boldface;
Identical method boldface.

Try Some MATHS Here: a] a


xxy
She saw something remarkable in even the most matter-of-fact and banal
things. Even when the simple and commonplace things of life affected her most
deeply, she never suspected, in her thoughts or feelings, that what was happening
to her might be banal, a mere unnoteworthy nothing wich everyone takes for
granted, which is not even worth talking about.
——Excerpt from Hannah Arendt’s Self-Portrait

1 Dividing the document


To see the other commands in action, suppose at this point of text I type

1.1 Example
In this example, we show how subsections and subsubsections are produced
(there are no subsubsubsections). Note how the subsections are numbered.

1.1.1 Subexample
Did you note that subsubsections are not numbered? This is so in the book and
report classes. In the article class they too have numbers. (Can you figure
out why?)

Note Paragraphs and subparagraphs do not have numbers. And they have
run-in headings. Though named “paragraph” we can have several paragraphs
of text within this.

Subnote Subparagraphs have an additional indentation too.

3
Some mathematicians elevate the spirit of Mathematics to a kind of intel-
lectual aesthetics. It is best voiced by Bertrand Russell in the following lines.
This is quoting a single paragraph.
See the difference?
This is quoting multiple paragraph. This is quoting multiple
paragraph. This is quoting multiple paragraph. This is quoting
multiple paragraph.
Yes, look at the indentation.
This is a poetry...Well, almost
Here begins poem
Above is seprated by an empty line
This can be used for several stanzas Here is seprated by a line break
Now ends the poem
You have to leave an empty line here.
Or you can’t get proper indentation.

2 AUCTEX begins
C-cP
C-s

i=1
C-c C-e
• Feels good!
• identation? whyy
• makes sense?
• make sense!
C-c C-m –don’t use it
TEXwhat is it
LATEX I don’t understand
C-c C-f bold -b
ital -i
emph -e
slanted -s
roman -r
san serif -f
typewritter -t
still don’t know that it’s for -RET
small cap
C-c C-f C-d Delete fonts! τ i
So now let’s begin the final dance. αβ∞ ∈ ∞θκπ

You might also like