4
6WUXFWXULQJ \RXU GRFXPHQW $GGLQJ SDUDJUDSKV DQG VHFWLRQV KWWSZZZODWH[WXWRULDOFRPWXWRULDOVEHJLQQHUVODWH[VHFWLRQV 7KLV ZHEVLWH LV XVLQJ FRRNLHV 7KDW KHOSV XV WR NHHS WKLV ZHEVLWH UXQQLQJ DQG LPSURYH XVHU H[SHULHQFH 7KH FRRNLHV DUH EHLQJ XVHG WR UHPHPEHU XVHU SUHIHUHQFHV FROOHFW VWDWLVWLFV DERXW ZHEVLWH XVDJH DQG WR VHUYH DGV WDLORUHG WR \RXU LQWHUHVWV <RX DJUHH WR RXU SULYDF\ SROLF\ E\ XVLQJ WKLV ZHEVLWH2. 3ULYDF\ 3ROLF\ 7XWRULDOFRP ,QVWDOODWLRQ (GLWRUV 7XWRULDOV 4XLFN 6WDUW %HJLQQHUV )LUVW 'RFXPHQW 6HFWLRQV 3DFNDJHV 0DWK )LJXUHV 7DEOH RI FRQWHQWV %LEWH[ 7DEOHV $GYDQFHG 3JISORWVWDEOH 3JISORWV 7LN] &LUFXLWLN] /LVWLQJV 0RUH FLUFXLWLN] 6DQGER[ 6\PEROV *UHHN $OSKDEHW 0DWK 6\PEROV 7H[W )RUPDWWLQJ 'RZQORDGV $ERXW ,PSULQW 3ULYDF\ 3DUWQHUV (QJOLVK 'HXWVFK 7XWRULDOV ª %HJLQQHUV ª 6HFWLRQV 6WUXFWXULQJ \RXU GRFXPHQW $GGLQJ SDUDJUDSKV DQG VHFWLRQV +RZ WR XVH VHFWLRQV DQG SDUDJUDSKV LQ /D7H; $ EULHI

Structuring Your Document -

Embed Size (px)

DESCRIPTION

How to Adding Paragraphs and Sections

Citation preview

Page 1: Structuring Your Document -

12/16/2015 Structuring your document - Adding paragraphs and sections

http://www.latex-tutorial.com/tutorials/beginners/latex-sections/ 1/4

This website is using cookies. That helps us to keep this website running and improve user experience.The cookies are being used to remember user preferences, collect statistics about website usage and toserve ads tailored to your interests. You agree to our privacy policy by using this website.OKPrivacyPolicy

-Tutorial.com☰

InstallationEditorsTutorials

Quick StartBeginners

01 First Document02 Sections03 Packages04 Math05 Figures06 Table of contents07 Bibtex08 Tables

Advanced09 Pgfplotstable10 Pgfplots11 Tikz12 Circuitikz13 Listings14 More circuitikz

SandboxSymbols

Greek AlphabetMath SymbolsText Formatting

DownloadsAbout

ImprintPrivacyPartners

EnglishDeutsch

Tutorials»Beginners»02 Sections

Structuring your document - Adding paragraphs and sections

How to use sections and paragraphs in LaTeX. A brief

LT XA E

Page 2: Structuring Your Document -

12/16/2015 Structuring your document - Adding paragraphs and sections

http://www.latex-tutorial.com/tutorials/beginners/latex-sections/ 2/4

introduction to headings and more about document layout.

[Open document online]

We have created a very basic document in the previous lesson, but when writing a paper, it's necessary tostructure the content into logic units. To achieve this, LaTeX offers us commands to generate sectionheadings and number them automatically. The commands to create section headings are straightforward:

\section{} \subsection{} \subsubsection{}

\paragraph{} \subparagraph{}

Example output for section and subsection

The section commands are numbered and will appear in the table of contents of your document.Paragraphs aren't numbered and won't show in the table of contents. Here an example output usingsections:

In order to get this output, we just have to add a few lines to our program from lesson 1:

\documentclass{article}

\title{Title of my document} \date{2013-09-01} \author{John Doe}

\begin{document}

\maketitle \pagenumbering{gobble} \newpage \pagenumbering{arabic}

\section{Section}

Hello World!

海外拠点のERP導入なら低コスト・スピーディーにシステム導入 国内外のシステム統合で経営を合理化

Sakir
Highlight
Page 3: Structuring Your Document -

12/16/2015 Structuring your document - Adding paragraphs and sections

http://www.latex-tutorial.com/tutorials/beginners/latex-sections/ 3/4

\subsection{Subsection}

Structuring a document is easy!

\end{document}

Hierarchy of all sectioning elements

The following picture shows the hierarchical structure of all elements:

I have used the following code to get this output:

\documentclass{article}

\begin{document}

\section{Section}

Hello World!

\subsection{Subsection}

Structuring a document is easy!

\subsubsection{Subsubsection}

More text.

\paragraph{Paragraph}

Some more text.

\subparagraph{Subparagraph}

Even more text.

Page 4: Structuring Your Document -

12/16/2015 Structuring your document - Adding paragraphs and sections

http://www.latex-tutorial.com/tutorials/beginners/latex-sections/ 4/4

\section{Another section}

\end{document}

It's very easy to structure documents into sections using LaTeX. This feature also exists in Word, butmost people don't use it properly. In LaTeX it is very effortless to have consistent formatting throughoutyour paper. In the next lesson I will give a short introduction to packages and show some basic mathtypesetting. This is where LaTeX really excels.

Summary

LaTeX uses the commands \section, \subsection and \subsubsection to define sections in yourdocumentThe sections will have successive numbers and appear in the table of contentsParagraphs are not numbered and thus don't appear in the table of contents

Next Lesson: Lesson 3

Top ↑ Oct. 20, 2015

Dell-公式サイト個人ご購入はデル公式サイトへ インテル® Core™ 搭載