Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 빅오메가
- Big Omega
- recursive algorithms
- 코틀린 시작하기
- 빅세타
- includepdf
- trivial solution
- homogeneous linear system
- itertools
- python
- 알고리즘 분석의 실례
- 재귀함수
- 페이지 겹칩
- matrix fo a linear transformation
- Big-Oh notation
- 랜덤 순서 배열
- Big-O 예제
- linear dependence
- 코틀린 Hello World!
- 이진 탐색
- 빅오 표기법
- matrix trnasformations
- NumPy
- 일차변환
- Big-Oh 예제
- nontrivial solution
- one-to-one
- Big Theta
- 배열 섞기
- nonhomogeneous linear system
Archives
- Today
- Total
코딩 연습
챕터별로 tex 파일 만들고 컴파일하기 본문
반응형
latex 로 책을 만들 때, chap1.tex, chap2.tex, chap3.tex 로 tex 파일을 만들고 이 파일들을 book.tex 파일에서 하나로 합치는 구조로 작업을 하고 싶다면 다음과 같이 하면 된다.
book.tex 파일은 아래와 같아야 한다.
\documentclass{book}
\usepackage{subfiles}
\begin{document}
\tableofcontents
\subfile{chap1.tex}
\subfile{chap2.tex}
\subfile{chap3.tex}
\end{document}
chap1.tex 파일은 다음과 같아야 한다.
\documentclass[book.tex]{subfiles}
\begin{document}
\chapter{첫 번째 장}
여기에 chap1 내용이 들어갑니다.
\end{document}
이렇게 하면 book.tex 를 커파일하면 전체 책이 나오고
chap1.tex 만 컴파일하면 chap1 단독 PDFㅏ 나오게 된다.
반응형
'LaTeX' 카테고리의 다른 글
includepdf 사용 시 페이지가 겹치는 문제 (0) | 2025.03.31 |
---|---|
취소선 (cancel) (0) | 2024.11.19 |
enumerate 의 시작 번호를 변경하는 방법 (0) | 2024.11.16 |
부채꼴 "호" 를 나타내는 arc 를 제대로 표현하기 (2) | 2024.03.18 |
(LaTeX) 미주(endnote) 넣는 방법 (0) | 2023.03.10 |
Comments