๋ฌธ์„œ ๊ตฌ์กฐ

๋ฌธ์„œ ๊ตฌ์กฐ

์ฃผ์ œ: LaTeX ๋ ˆ์Šจ: 16๊ฐœ ์ค‘ 2 ์‚ฌ์ „ ์š”๊ตฌ ์‚ฌํ•ญ: ๋ ˆ์Šจ 1 (์†Œ๊ฐœ ๋ฐ ์„ค์น˜) ๋ชฉํ‘œ: ๋ฌธ์„œ ํด๋ž˜์Šค(Document Class), ์ „๋ฌธ๋ถ€(preamble) ๊ตฌ์„ฑ, ์„น์…˜ ๋ช…๋ น ๋ฐ ๋ณต์žกํ•œ ๋ฌธ์„œ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๊ธฐ์ˆ  ๋งˆ์Šคํ„ฐํ•˜๊ธฐ

๋ฌธ์„œ ํด๋ž˜์Šค

๋ชจ๋“  LaTeX ๋ฌธ์„œ๋Š” \documentclass{...}๋กœ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ ํด๋ž˜์Šค๋Š” ๋ฌธ์„œ์˜ ์ „์ฒด ๊ตฌ์กฐ ๋ฐ ์„œ์‹ ๊ทœ์น™์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

ํ‘œ์ค€ ๋ฌธ์„œ ํด๋ž˜์Šค

LaTeX๋Š” ์—ฌ๋Ÿฌ ๋‚ด์žฅ ๋ฌธ์„œ ํด๋ž˜์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค:

article

๋ชฉ์ : ์ฑ•ํ„ฐ๊ฐ€ ์—†๋Š” ์งง์€ ๋ฌธ์„œ (๋…ผ๋ฌธ, ๊ธฐ์‚ฌ, ๋ณด๊ณ ์„œ)

ํŠน์„ฑ: - \chapter ๋ช…๋ น ์—†์Œ - ์ตœ์ƒ์œ„ ๊ตฌ๋ถ„์œผ๋กœ \section์œผ๋กœ ์‹œ์ž‘ - Abstract ํ™˜๊ฒฝ ์‚ฌ์šฉ ๊ฐ€๋Šฅ - ์ผ๋ฐ˜์ ์œผ๋กœ ๋‹จ๋ฉด

์˜ˆ์ œ:

\documentclass{article}

\title{A Brief Study on LaTeX}
\author{Jane Doe}
\date{February 2024}

\begin{document}
\maketitle

\begin{abstract}
This paper explores the fundamentals of LaTeX document preparation.
\end{abstract}

\section{Introduction}
LaTeX is a powerful typesetting system...

\end{document}

report

๋ชฉ์ : ์ฑ•ํ„ฐ๊ฐ€ ์žˆ๋Š” ๊ธด ๋ฌธ์„œ (๊ธฐ์ˆ  ๋ณด๊ณ ์„œ, ๋…ผ๋ฌธ)

ํŠน์„ฑ: - \chapter ๋ช…๋ น ํฌํ•จ - ์ฑ•ํ„ฐ๋Š” ์ƒˆ ํŽ˜์ด์ง€์—์„œ ์‹œ์ž‘ - ๊ธฐ๋ณธ๊ฐ’์€ ๋‹จ๋ฉด - ์ œ๋ชฉ ํŽ˜์ด์ง€๊ฐ€ ์ดˆ๋ก๊ณผ ๋ถ„๋ฆฌ๋จ

์˜ˆ์ œ:

\documentclass{report}

\title{Annual Technical Report}
\author{Engineering Team}
\date{2024}

\begin{document}
\maketitle

\begin{abstract}
This report summarizes our technical achievements in 2024.
\end{abstract}

\tableofcontents

\chapter{Introduction}
This report covers...

\chapter{Methodology}
Our approach was...

\end{document}

book

๋ชฉ์ : ์„œ์  ๋ฐ ๊ธด ๋ฌธ์„œ

ํŠน์„ฑ: - ์–‘๋ฉด ์ธ์‡„์šฉ์œผ๋กœ ์„ค๊ณ„๋จ - \chapter, \frontmatter, \mainmatter, \backmatter ํฌํ•จ - ์ฑ•ํ„ฐ๋Š” ์˜ค๋ฅธ์ชฝ ํŽ˜์ด์ง€์—์„œ๋งŒ ์‹œ์ž‘ ๊ฐ€๋Šฅ - ์ „๋ฉด๋ถ€(front matter)์— ๋Œ€ํ•œ ๋ณ„๋„ ์„œ์‹ (ํŽ˜์ด์ง€๋Š” ๋กœ๋งˆ ์ˆซ์ž)

์˜ˆ์ œ:

\documentclass{book}

\title{Introduction to Quantum Computing}
\author{Dr. Smith}
\date{2024}

\begin{document}

\frontmatter
\maketitle
\tableofcontents

\mainmatter
\chapter{Quantum Mechanics Basics}
Before diving into quantum computing...

\chapter{Quantum Gates}
Quantum gates are...

\backmatter
\chapter{Appendix}
Additional reference material...

\end{document}

letter

๋ชฉ์ : ๋น„์ฆˆ๋‹ˆ์Šค ๋ฐ ๊ณต์‹ ์„œ์‹ 

ํŠน์„ฑ: - ํŠน์ˆ˜ ์„œ์‹  ์„œ์‹ - ์ฃผ์†Œ ๋ธ”๋ก - ์„œ๋ช… ์ค„

์˜ˆ์ œ:

\documentclass{letter}

\signature{John Smith}
\address{123 Main St \\ Anytown, USA}

\begin{document}

\begin{letter}{Ms. Jane Doe \\ Director of Research \\ University of Excellence}

\opening{Dear Ms. Doe,}

I am writing to express my interest in the research position...

\closing{Sincerely,}

\end{letter}

\end{document}

๋ฌธ์„œ ํด๋ž˜์Šค ์˜ต์…˜

์˜ต์…˜์€ ๋Œ€๊ด„ํ˜ธ๋กœ ์ง€์ •๋ฉ๋‹ˆ๋‹ค: \documentclass[options]{class}

๊ธ€๊ผด ํฌ๊ธฐ

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ํฌ๊ธฐ: 10pt (๊ธฐ๋ณธ๊ฐ’), 11pt, 12pt

\documentclass[12pt]{article}  % ๋” ํฌ๊ณ  ์ฝ๊ธฐ ์‰ฌ์›€

์šฉ์ง€ ํฌ๊ธฐ

์ผ๋ฐ˜ ์˜ต์…˜: - letterpaper (๋ฏธ๊ตญ ๊ธฐ๋ณธ๊ฐ’, 8.5" ร— 11") - a4paper (๊ตญ์ œ ํ‘œ์ค€, 210mm ร— 297mm) - a5paper, b5paper, legalpaper, executivepaper

\documentclass[a4paper]{article}

๋ ˆ์ด์•„์›ƒ

์–‘๋ฉด vs. ๋‹จ๋ฉด: - oneside (article/report์˜ ๊ธฐ๋ณธ๊ฐ’) - twoside (book์˜ ๊ธฐ๋ณธ๊ฐ’)

\documentclass[twoside]{article}

์—ด ๋ ˆ์ด์•„์›ƒ: - onecolumn (๊ธฐ๋ณธ๊ฐ’) - twocolumn

\documentclass[twocolumn]{article}

์ œ๋ชฉ ํŽ˜์ด์ง€

  • titlepage: ๋ณ„๋„ ํŽ˜์ด์ง€์˜ ์ œ๋ชฉ
  • notitlepage: ์ฒซ ํŽ˜์ด์ง€ ์ƒ๋‹จ์˜ ์ œ๋ชฉ (article์˜ ๊ธฐ๋ณธ๊ฐ’)
\documentclass[titlepage]{article}

๋ฐฉ์ •์‹

  • leqno: ์™ผ์ชฝ์˜ ๋ฐฉ์ •์‹ ๋ฒˆํ˜ธ
  • fleqn: ์™ผ์ชฝ ์ •๋ ฌ ๋ฐฉ์ •์‹ (์ค‘์•™ ์ •๋ ฌ ๋Œ€์‹ )
\documentclass[leqno]{article}

์˜ต์…˜ ๊ฒฐํ•ฉ

์—ฌ๋Ÿฌ ์˜ต์…˜์€ ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„๋ฉ๋‹ˆ๋‹ค:

\documentclass[12pt, a4paper, twoside, titlepage]{article}

์ „๋ฌธ๋ถ€(Preamble)

\documentclass์™€ \begin{document} ์‚ฌ์ด์˜ ๋ชจ๋“  ๊ฒƒ์ด ์ „๋ฌธ๋ถ€(preamble)์ž…๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ: - ํŒจํ‚ค์ง€ ๋กœ๋“œ - ์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น ์ •์˜ - ๋ฌธ์„œ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์„ค์ • - ๋ฌธ์„œ ์ „์ฒด ์„ค์ • ๊ตฌ์„ฑ

ํŒจํ‚ค์ง€ ๋กœ๋“œ

ํŒจํ‚ค์ง€๋Š” LaTeX ๊ธฐ๋Šฅ์„ ํ™•์žฅํ•ฉ๋‹ˆ๋‹ค. \usepackage[options]{package}๋กœ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค.

ํ•„์ˆ˜ ํŒจํ‚ค์ง€:

% Encoding and fonts
\usepackage[utf8]{inputenc}      % UTF-8 input encoding
\usepackage[T1]{fontenc}         % Modern font encoding
\usepackage{lmodern}             % Latin Modern fonts

% Language and typography
\usepackage[english]{babel}      % Language-specific rules
\usepackage{microtype}           % Improved typography

% Mathematics
\usepackage{amsmath}             % Enhanced math environments
\usepackage{amssymb}             % Additional math symbols
\usepackage{amsthm}              % Theorem environments

% Graphics and colors
\usepackage{graphicx}            % Include images
\usepackage{xcolor}              % Color support

% Hyperlinks
\usepackage{hyperref}            % Clickable links (load last!)

% Page layout
\usepackage{geometry}            % Customize margins
\geometry{margin=1in}

๋ฒ”์ฃผ๋ณ„ ์ผ๋ฐ˜ ํŒจํ‚ค์ง€:

๋ฒ”์ฃผ ํŒจํ‚ค์ง€ ๋ชฉ์ 
์ˆ˜ํ•™ amsmath, amssymb, mathtools ํ–ฅ์ƒ๋œ ์ˆ˜ํ•™ ์กฐํŒ
๊ทธ๋ฆผ graphicx, subfig, caption ์ด๋ฏธ์ง€ ํฌํ•จ ๋ฐ ๊ด€๋ฆฌ
ํ‘œ booktabs, array, longtable ์ „๋ฌธ์ ์ธ ํ‘œ
์ฝ”๋“œ listings, minted, verbatim ์†Œ์Šค ์ฝ”๋“œ ํ‘œ์‹œ
์ฐธ์กฐ biblatex, natbib, hyperref ์ฐธ๊ณ ๋ฌธํ—Œ ๋ฐ ํ•˜์ดํผ๋งํฌ
๋ ˆ์ด์•„์›ƒ geometry, fancyhdr, multicol ํŽ˜์ด์ง€ ๋ ˆ์ด์•„์›ƒ ์ œ์–ด

๋ฌธ์„œ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ

์ „๋ฌธ๋ถ€์—์„œ ๋ฌธ์„œ ์ •๋ณด๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค:

\title{The Document Title}
\author{First Author \and Second Author}
\date{March 2024}
% Or use \date{\today} for automatic date
% Or use \date{} for no date

์†Œ์†์ด ์žˆ๋Š” ์—ฌ๋Ÿฌ ์ €์ž์˜ ๊ฒฝ์šฐ:

\title{Research Paper Title}
\author{
    John Smith\thanks{Department of Physics, University A} \and
    Jane Doe\thanks{Department of Mathematics, University B}
}
\date{\today}

์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น

์ „๋ฌธ๋ถ€์—์„œ ๋‹จ์ถ•ํ‚ค ๋ฐ ์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค:

% Simple text substitution
\newcommand{\latex}{\LaTeX}
\newcommand{\tex}{\TeX}

% Commands with arguments
\newcommand{\abs}[1]{\left| #1 \right|}
\newcommand{\norm}[1]{\left\| #1 \right\|}

% Math operators
\DeclareMathOperator{\trace}{Tr}
\DeclareMathOperator{\rank}{rank}

์‚ฌ์šฉ๋ฒ•:

The absolute value is $\abs{x}$, and the trace is $\trace(A)$.

๋ฌธ์„œ ๋ณธ๋ฌธ

์‹ค์ œ ๋‚ด์šฉ์€ \begin{document}์™€ \end{document} ์‚ฌ์ด์— ์žˆ์Šต๋‹ˆ๋‹ค.

์ œ๋ชฉ ์ƒ์„ฑ

\maketitle๋กœ ์ œ๋ชฉ ๋ธ”๋ก์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค:

\begin{document}

\maketitle  % Creates title using \title, \author, \date from preamble

\end{document}

์ดˆ๋ก(Abstract)

ํ•™์ˆ  ๋…ผ๋ฌธ์˜ ๊ฒฝ์šฐ (article/report ํด๋ž˜์Šค):

\begin{document}

\maketitle

\begin{abstract}
This paper investigates the fundamental properties of LaTeX document
preparation systems. We demonstrate that proper structure leads to
high-quality typesetting.
\end{abstract}

\section{Introduction}
...

\end{document}

๋ชฉ์ฐจ

์ž๋™์œผ๋กœ ๋ชฉ์ฐจ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค:

\tableofcontents

์ค‘์š”: ๋‘ ๋ฒˆ์˜ ์ปดํŒŒ์ผ ํŒจ์Šค๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค: 1. ์ฒซ ๋ฒˆ์งธ ํŒจ์Šค: ์„น์…˜ ์ •๋ณด๋ฅผ .toc ํŒŒ์ผ์— ์ž‘์„ฑ 2. ๋‘ ๋ฒˆ์งธ ํŒจ์Šค: .toc๋ฅผ ์ฝ๊ณ  ๋ชฉ์ฐจ ์ƒ์„ฑ

์‚ฌ์šฉ์ž ์ •์˜:

% Control depth (default is 3 for article)
\setcounter{tocdepth}{2}  % Only show sections and subsections

% Control section numbering depth
\setcounter{secnumdepth}{2}  % Only number up to subsections

๊ทธ๋ฆผ ๋ฐ ํ‘œ ๋ชฉ๋ก

\listoffigures  % List of figures
\listoftables   % List of tables

์ด๊ฒƒ๋“ค๋„ ์—ฌ๋Ÿฌ ์ปดํŒŒ์ผ ํŒจ์Šค๊ฐ€ ํ•„์š”ํ•˜๋ฉฐ ๊ทธ๋ฆผ/ํ‘œ์˜ \caption ๋ช…๋ น์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค.

์„น์…˜ ๋ช…๋ น

LaTeX๋Š” ์ž๋™ ๋ฒˆํ˜ธ ๋งค๊ธฐ๊ธฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ณ„์ธต์  ์„น์…˜ ๋ช…๋ น์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Article ํด๋ž˜์Šค ๊ณ„์ธต

\section{Section Title}
\subsection{Subsection Title}
\subsubsection{Subsubsection Title}
\paragraph{Paragraph Title}
\subparagraph{Subparagraph Title}

์˜ˆ์ œ:

\section{Introduction}
This is the introduction.

\subsection{Background}
Some background information.

\subsubsection{Historical Context}
Historical details.

\paragraph{Early Developments}
The early period was characterized by...

\subparagraph{Key Figures}
Important contributors included...

์ถœ๋ ฅ ๋ฒˆํ˜ธ ๋งค๊ธฐ๊ธฐ:

1 Introduction
1.1 Background
1.1.1 Historical Context
Early Developments. The early period...
Key Figures. Important contributors...

Report/Book ํด๋ž˜์Šค ๊ณ„์ธต

\chapter{Chapter Title}
\section{Section Title}
\subsection{Subsection Title}
% ... same as article below this level

์˜ˆ์ œ:

\chapter{Quantum Mechanics}

\section{Wave Functions}
The wave function describes...

\subsection{Normalization}
Wave functions must be normalized...

๋ฒˆํ˜ธ ์—†๋Š” ์„น์…˜

*๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ๋ฒˆํ˜ธ ๋งค๊ธฐ๊ธฐ๋ฅผ ์–ต์ œํ•ฉ๋‹ˆ๋‹ค (๋ชฉ์ฐจ์—์„œ๋„ ์ œ์™ธ๋จ):

\section*{Acknowledgments}
We thank the reviewers for their helpful comments.

\subsection*{Funding}
This work was supported by...

๋ฒˆํ˜ธ ์—†์ด ๋ชฉ์ฐจ์— ํฌํ•จ:

\section*{Acknowledgments}
\addcontentsline{toc}{section}{Acknowledgments}

๋ถ€๋ก

๋ถ€๋ก ๋ชจ๋“œ๋กœ ์ „ํ™˜:

\appendix

\section{Derivation of Key Formula}
Detailed mathematical derivation...

\section{Supplementary Data}
Additional experimental results...

๋ถ€๋ก ๋ชจ๋“œ์—์„œ ์„น์…˜์€ 1, 2, 3 ๋Œ€์‹  A, B, C๋กœ ๋ฒˆํ˜ธ๊ฐ€ ๋งค๊ฒจ์ง‘๋‹ˆ๋‹ค.

์„œ์ ์˜ ๊ฒฝ์šฐ:

\appendix

\chapter{Mathematical Proofs}
\section{Proof of Theorem 1}
...

์‚ฌ์šฉ์ž ์ •์˜ ์„น์…˜ ์ œ๋ชฉ

์„น์…˜์ด ๋ชฉ์ฐจ์™€ ํ…์ŠคํŠธ์— ํ‘œ์‹œ๋˜๋Š” ๋ฐฉ์‹์„ ์ œ์–ดํ•ฉ๋‹ˆ๋‹ค:

\section[Short Title for TOC]{Very Long Title That Appears in the Document}

๋ฌธ์„œ ๊ตฌ์กฐ ๋ชจ๋ฒ” ์‚ฌ๋ก€

์™„์ „ํ•œ Article ์˜ˆ์ œ

\documentclass[12pt, a4paper]{article}

% Packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\usepackage{hyperref}

% Metadata
\title{The Art of Structured Documents}
\author{Jane Smith}
\date{\today}

% Custom commands
\newcommand{\latex}{\LaTeX}

\begin{document}

% Front matter
\maketitle

\begin{abstract}
We present a study on document structure in \latex{}.
\end{abstract}

\tableofcontents
\newpage

% Main content
\section{Introduction}
Document structure is crucial for readability.

\subsection{Motivation}
Well-structured documents are easier to navigate.

\section{Methodology}
We analyzed 100 \latex{} documents.

\subsection{Data Collection}
Documents were collected from academic repositories.

\subsection{Analysis}
Statistical analysis was performed.

\section{Results}
Structured documents showed 40\% better readability.

\section{Conclusion}
Proper structure matters.

% References (would use BibTeX normally)
\begin{thebibliography}{9}
\bibitem{knuth}
Donald Knuth. \textit{The TeXbook}, 1984.
\end{thebibliography}

\end{document}

์™„์ „ํ•œ Report ์˜ˆ์ œ

\documentclass[12pt, a4paper]{report}

\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}

\title{Annual Progress Report}
\author{Research Team}
\date{2024}

\begin{document}

\maketitle

\begin{abstract}
This report summarizes our achievements in 2024.
\end{abstract}

\tableofcontents
\listoffigures
\listoftables

\chapter{Introduction}
This report covers our research activities.

\section{Project Overview}
Our project focuses on...

\section{Team Members}
The team consists of...

\chapter{Research Activities}

\section{Theoretical Work}
We developed new models for...

\section{Experimental Work}
Laboratory experiments were conducted...

\chapter{Publications}
We published 5 papers this year.

\chapter{Conclusions and Future Work}

\section{Summary}
We made significant progress.

\section{Future Directions}
Next year we plan to...

\appendix

\chapter{Detailed Experimental Data}
Raw data tables are provided here.

\end{document}

์ฃผ์„

์ฃผ์„์€ ์ปดํŒŒ์ผ ์ค‘์— ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค:

% This is a single-line comment

This text is visible. % This comment is invisible

% You can comment out code temporarily:
% \section{Work in Progress}
% This section is not compiled yet.

์—ฌ๋Ÿฌ ์ค„ ์ฃผ์„์€ verbatim ํŒจํ‚ค์ง€๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค:

\usepackage{verbatim}

\begin{comment}
This entire block
is commented out
no matter how many lines
\end{comment}

๊ธฐ๋ณธ ๋ฌธ์„œ ๋ช…๋ น

์ค„ ๋ฐ ํŽ˜์ด์ง€ ๋‚˜๋ˆ„๊ธฐ

์ค„ ๋‚˜๋ˆ„๊ธฐ:

This is line one. \\
This is line two.

% Or with added vertical space:
This is line one. \\[1cm]
This is line two with 1cm extra space above.

ํŽ˜์ด์ง€ ๋‚˜๋ˆ„๊ธฐ:

\newpage           % Start a new page
\clearpage         % Start new page and flush floats (figures/tables)
\pagebreak         % Suggest page break (LaTeX decides)
\nopagebreak       % Discourage page break

๊ฐ€๋กœ ๋ฐ ์„ธ๋กœ ๊ณต๊ฐ„

% Horizontal space
Word1\hspace{1cm}Word2          % 1cm horizontal space
Word1\hfill Word2               % Fill all available space

% Vertical space
Text before.
\vspace{2cm}
Text after.

% Stretchy space
\vfill  % Fill vertical space (useful for title pages)

Input ๋ฐ Include

๋Œ€์šฉ๋Ÿ‰ ๋ฌธ์„œ์˜ ๊ฒฝ์šฐ ์—ฌ๋Ÿฌ ํŒŒ์ผ๋กœ ๋‚ด์šฉ์„ ๋ถ„ํ• ํ•ฉ๋‹ˆ๋‹ค.

\input{filename}

๋™์ž‘: ํ•ด๋‹น ์œ„์น˜์— ์ง์ ‘ ์ž…๋ ฅํ•œ ๊ฒƒ์ฒ˜๋Ÿผ ๋‚ด์šฉ์„ ์‚ฝ์ž…ํ•ฉ๋‹ˆ๋‹ค.

๋ฉ”์ธ ํŒŒ์ผ (main.tex):

\documentclass{article}

\title{Multi-File Document}
\author{Author Name}

\begin{document}
\maketitle

\input{introduction}
\input{methodology}
\input{results}
\input{conclusion}

\end{document}

๋ณ„๋„ ํŒŒ์ผ (introduction.tex):

\section{Introduction}
This is the introduction section.

์ฐธ๊ณ : ํฌํ•จ๋œ ํŒŒ์ผ์—๋Š” \documentclass ๋˜๋Š” \begin{document}๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

\include{filename}

๋™์ž‘: - ์ „ํ›„์— \clearpage ๋ฐœํ–‰ - ๋ณ„๋„ .aux ํŒŒ์ผ ์ƒ์„ฑ - ์„ ํƒ์  ์ปดํŒŒ์ผ์„ ์œ„ํ•ด \includeonly์™€ ํ•จ๊ป˜ ์‚ฌ์šฉ ๊ฐ€๋Šฅ

์‚ฌ์šฉ๋ฒ•:

% In preamble
\includeonly{chapter1,chapter3}  % Only compile these

\begin{document}

\include{chapter1}
\include{chapter2}  % Skipped
\include{chapter3}
\include{chapter4}  % Skipped

\end{document}

๊ฐ๊ฐ ์–ธ์ œ ์‚ฌ์šฉํ• ์ง€: - \input: ์ž‘์€ ์„น์…˜, ํŽ˜์ด์ง€ ๋‚˜๋ˆ„๊ธฐ๋ฅผ ๊ฐ•์ œํ•˜์ง€ ์•Š์Œ - \include: ์ฑ•ํ„ฐ, ํฐ ์„น์…˜, ์„ ํƒ์  ์ปดํŒŒ์ผ์„ ์›ํ•  ๋•Œ

์ค‘์ฒฉ๋œ Input

\input ๋ช…๋ น์„ ์ค‘์ฒฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

main.tex:

\input{chapter1}

chapter1.tex:

\section{Chapter 1}
\input{chapter1/section1}
\input{chapter1/section2}

๋Œ€์šฉ๋Ÿ‰ ๋ฌธ์„œ์˜ ๋””๋ ‰ํ„ฐ๋ฆฌ ๊ตฌ์กฐ

๊ถŒ์žฅ ๊ตฌ์„ฑ:

thesis/
โ”œโ”€โ”€ main.tex
โ”œโ”€โ”€ preamble.tex
โ”œโ”€โ”€ chapters/
โ”‚   โ”œโ”€โ”€ chapter1.tex
โ”‚   โ”œโ”€โ”€ chapter2.tex
โ”‚   โ””โ”€โ”€ chapter3.tex
โ”œโ”€โ”€ figures/
โ”‚   โ”œโ”€โ”€ graph1.pdf
โ”‚   โ””โ”€โ”€ diagram2.png
โ”œโ”€โ”€ tables/
โ”‚   โ””โ”€โ”€ results.tex
โ””โ”€โ”€ bibliography.bib

main.tex:

\documentclass{report}

\input{preamble}  % All packages and settings

\begin{document}

\input{chapters/chapter1}
\input{chapters/chapter2}
\input{chapters/chapter3}

\bibliographystyle{plain}
\bibliography{bibliography}

\end{document}

์—ฐ์Šต ๋ฌธ์ œ

์—ฐ์Šต ๋ฌธ์ œ 1: ๋ฌธ์„œ ํด๋ž˜์Šค

์„ธ ๊ฐœ์˜ ๋ณ„๋„ ๋ฌธ์„œ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค: 1. ์„น์…˜ ๋ฐ ํ•˜์œ„ ์„น์…˜์ด ์žˆ๋Š” article 2. ์ฑ•ํ„ฐ ๋ฐ ์„น์…˜์ด ์žˆ๋Š” report 3. ์ „๋ฉด๋ถ€(front matter), ๋ณธ๋ฌธ(main matter) ๋ฐ ํ›„๋ฉด๋ถ€(back matter)๊ฐ€ ์žˆ๋Š” book

์—ฐ์Šต ๋ฌธ์ œ 2: ๋ชฉ์ฐจ

๋‹ค์Œ์„ ํฌํ•จํ•˜๋Š” article์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค: - ์ตœ์†Œ 3๊ฐœ์˜ ์„น์…˜ - ์„น์…˜๋‹น ์ตœ์†Œ 2๊ฐœ์˜ ํ•˜์œ„ ์„น์…˜ - ๋ชฉ์ฐจ - ๋‘ ๋ฒˆ ์ปดํŒŒ์ผํ•˜๊ณ  .toc ํŒŒ์ผ ํ™•์ธ

์—ฐ์Šต ๋ฌธ์ œ 3: ์˜ต์…˜ ํƒ์ƒ‰

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‹ค๋ฅธ ์˜ต์…˜ ์กฐํ•ฉ์œผ๋กœ ๋™์ผํ•œ ๋ฌธ์„œ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค: - [10pt, letterpaper, oneside] - [12pt, a4paper, twoside] - [11pt, a4paper, twocolumn]

์ถœ๋ ฅ PDF๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.

์—ฐ์Šต ๋ฌธ์ œ 4: ๋ฒˆํ˜ธ ์—†๋Š” ์„น์…˜

๋‹ค์Œ์„ ํฌํ•จํ•˜๋Š” ๋ฌธ์„œ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค: - ์ผ๋ฐ˜ ๋ฒˆํ˜ธ๊ฐ€ ๋งค๊ฒจ์ง„ ์„น์…˜ - ๋ฒˆํ˜ธ ์—†๋Š” "Acknowledgments" ์„น์…˜ - ๋ฒˆํ˜ธ ์—†๋Š” "References" ์„น์…˜ - ๋‘ ๋ฒˆํ˜ธ ์—†๋Š” ์„น์…˜์ด ๋ชฉ์ฐจ์— ๋‚˜ํƒ€๋‚จ

์—ฐ์Šต ๋ฌธ์ œ 5: ๋‹ค์ค‘ ํŒŒ์ผ ๋ฌธ์„œ

๋‹ค์Œ์„ ํฌํ•จํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค: - main.tex (๋ฉ”์ธ ํŒŒ์ผ) - intro.tex (์†Œ๊ฐœ ์„น์…˜) - methods.tex (๋ฐฉ๋ฒ• ์„น์…˜) - conclusion.tex (๊ฒฐ๋ก  ์„น์…˜)

\input{}๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฒฐํ•ฉํ•ฉ๋‹ˆ๋‹ค.

์—ฐ์Šต ๋ฌธ์ œ 6: ์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น

๋‹ค์Œ ์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น์„ ์ •์˜ํ•˜๊ณ  ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค: - ์‹ค์ˆ˜ ๊ธฐํ˜ธ $\mathbb{R}$๋ฅผ ์œ„ํ•œ \R - ๋ฏธ๋ถ„ ์—ฐ์‚ฐ์ž๋ฅผ ์œ„ํ•œ \dd (์˜ˆ: \dd x โ†’ dx) - ๊ตต์€ ๋ฒกํ„ฐ๋ฅผ ์œ„ํ•œ \vect[1]{...}

์—ฐ์Šต ๋ฌธ์ œ 7: ์™„์ „ํ•œ Report

๋‹ค์Œ์„ ํฌํ•จํ•˜๋Š” ๊ธฐ์ˆ  ๋ณด๊ณ ์„œ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค: - ์ œ๋ชฉ ํŽ˜์ด์ง€ - ์ดˆ๋ก - ๋ชฉ์ฐจ - 3๊ฐœ์˜ ์ฑ•ํ„ฐ - ๋ณด์ถฉ ์ž๋ฃŒ๊ฐ€ ์žˆ๋Š” ๋ถ€๋ก - ์ฐธ๊ณ ๋ฌธํ—Œ (thebibliography ํ™˜๊ฒฝ ์‚ฌ์šฉ)

์š”์•ฝ

์ด ๋ ˆ์Šจ์—์„œ ๋ฐฐ์šด ๋‚ด์šฉ:

  • ๋ฌธ์„œ ํด๋ž˜์Šค: article, report, book, letter ๋ฐ ๊ทธ ํŠน์„ฑ
  • ํด๋ž˜์Šค ์˜ต์…˜: ๊ธ€๊ผด ํฌ๊ธฐ, ์šฉ์ง€ ํฌ๊ธฐ, ๋ ˆ์ด์•„์›ƒ ์˜ต์…˜
  • ์ „๋ฌธ๋ถ€(Preamble): ํŒจํ‚ค์ง€ ๋กœ๋“œ, ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์„ค์ •, ์‚ฌ์šฉ์ž ์ •์˜ ๋ช…๋ น ์ •์˜
  • ๋ฌธ์„œ ๋ณธ๋ฌธ: ์ œ๋ชฉ ์ƒ์„ฑ, ์ดˆ๋ก, ๋ชฉ์ฐจ
  • ์„น์…˜ ๊ตฌ๋ถ„: ์ฑ•ํ„ฐ์—์„œ ํ•˜์œ„ ๋‹จ๋ฝ๊นŒ์ง€์˜ ๊ณ„์ธต์  ๊ตฌ์กฐ
  • ๋ถ€๋ก: ๋ณด์ถฉ ์„น์…˜ ์ƒ์„ฑ
  • ์ฃผ์„: ๋‹จ์ผ ๋ฐ ์—ฌ๋Ÿฌ ์ค„ ์ฃผ์„ ๋‹ฌ๊ธฐ
  • ํŒŒ์ผ ๊ตฌ์„ฑ: ๋Œ€์šฉ๋Ÿ‰ ๋ฌธ์„œ๋ฅผ ์œ„ํ•œ \input{} ๋ฐ \include{} ์‚ฌ์šฉ

์ด๋Ÿฌํ•œ ๊ธฐ์ดˆ ๊ฐœ๋…์€ ๋งŒ๋“ค ๋ชจ๋“  LaTeX ๋ฌธ์„œ์—์„œ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์œผ๋กœ ํ…์ŠคํŠธ ์„œ์‹โ€”๊ธ€๊ผด, ์ƒ‰์ƒ, ๋ชฉ๋ก ๋ฐ ํŠน์ˆ˜ ๋ฌธ์ž๋ฅผ ํƒ์ƒ‰ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.


ํƒ์ƒ‰ - ์ด์ „: 01_Introduction_and_Setup.md - ๋‹ค์Œ: 03_Text_Formatting.md

to navigate between lessons