로 문서 작성하자
Seminar Oct. 22
201704150 Kangjun Heo
Who am I?
• Kangjun Heo
• 17’ CSE Junior @ Chungnam National University
• ARGOS since 2019 Spring Semester
• GitHub
https://github.com/0x00000FF
Expected Audiences
• LaTeX Beginner
• I have no idea how can I use LaTeX
• I’m tired to use WYSIWIG editors
What is ?
• Based on typesetting system TeX, by Donald Knuth
• Added many macros to TeX, for richer typesetting experience
• A huge number of packages available
• Includes typesetting language, compiler, macro(LaTeX is), TeX exec
system
Why ?
• It’s typesetting, not document editing
• Program “Document”
• Better Formula Embedding
Getting Started
• Visual Studio Code
https://code.visualstudio.com/
• TeX Live
https://uare.cool/texlive
• LaTeX Workshop
https://uare.cool/latexworkshop
TeX Live
TeX Live
TeX Live
출처: 구글출처: 구글
Tex Live
Tex Live
> tlmgr repository add http://ftp.ktug.org/KTUG/texlive/tlnet ktug
> tlmgr pinning add ktug *
> tlmgr install ktugbin
> tlmgr install texworks-config
> tlmgr install nanumttf hcr-lvt
> shutdown –r –t 0
*Not mandatory, but highly recommended!
LaTeX Workshop
• LaTeX Typesetting Extension for Visual Studio Code
• Visual Studio Code is required
XeTeX
• Default UTF-8 (Most Important)
• More convenient than pdfTeX
Basic Structure of LaTeX Document
documentclass{article}
Preambles…
begin{document}
document contents…
end{document}
documentclass?
• Determine document type
• Use in this form:
documentclass[options]{type}
• Options can be skipped
documentclass? types
• article : For articles in scientific journals, presentations, short reports,
program documentation, invitations, ...
• IEEEtran : For articles with the IEEE Transactions format.
• proc : A class for proceedings based on the article class.
• report: For longer reports containing several chapters, small books,
thesis, ...
• book
• letter
• beamer …. And so on…
https://en.wikibooks.org/wiki/LaTeX/Document_Structure
documentclass? options
• Main font size: 10pt, 11pt, 12pt, … or 10pt will be default
• a4paper, letterpaper, a5paper…
• titlepage, notitlepage : make title-exclusive page or not
• twocolumn
• twoside, oneside: which side of document will be printed?
First LaTeX Document
Ctrl+Shift+P
First LaTeX Document
First LaTeX Document
Creating a Table of Contents
documentclass[12pt, twoside, titlepage, a4paper]{article}
title{Joyful LaTeX Typesetting}
author{Kangjun Heo}
date{October 2019}
begin{document}
maketitle
section{Why LaTeX?}
LaTeX is one of the greatest typesetting system that is based on TeX, which is created by Donald Knuth, ...
section{Let's LaTeX}
To get started, you need to install TeX Live in order to use TeX compilers and bunch of useful packages...
end{document}
Creating a Table of Contents
Creating a Table of Contents
...
title{Joyful LaTeX Typesetting}
author{Kangjun Heo}
date{October 2019}
begin{document}
maketitle
tableofcontents
section{Why LaTeX?}
LaTeX is one of the greatest typesetting system that is based on TeX, which is created by Donald Knuth, ...
section{Let's LaTeX}
To get started, you need to install TeX Live in order to use TeX compilers and bunch of useful packages...
end{document}
Creating a Table of Contents
Creating a Table of Contents
tableofcontents
newpage
Creating a Table of Contents
Embedding images
• Package graphicx
usepackage{graphicx}
Embedding images
includegraphics[options]{path}
argos.png
Embedding images
section{Let's LaTeX}
includegraphics{argos.png}
To get started, you need to install TeX Live in order to use TeX compilers and bun
ch of useful packages...
Embedding images
section{Let's LaTeX}
includegraphics[width=textwidth]{argos.png}
To get started, you need to install TeX Live in order to use TeX compilers and bun
ch of useful packages...
Formula Embedding
• Wrap your equation with $(dollar sign)
• If you want to just refer in paragraph…
This is a formula to get solutions of 2nd degree equation... $ x = frac{-b +- sqrt{b^2 - 4ac}}{2a} $ Is it ture?
Formula Embedding
• Or to make as figure, wrap with [ ]
Circle's representation can be done with this example:
[
x^2 + y^2 = 1
]
Hangul Problem
Where’s 안녕??
Hangul Problem
Check XeTeX-ko package installed
Hangul Problem
Add xetex-ko package on your TeX
Other useful packages
• hyperref : Makes hyperlinks for figures
• geometry : Setting margin of paper
• biber : Helps reference management
Useful sites
• Overleaf(https://www.overleaf.com/) - Online TeX editing website
• Korea TeX User Group(http://www.ktug.org/xe/)
Question?
Tanks!

LaTeX로 문서 작성하자