TeX용 .gitignore

저장소에 바로 복사할 수 있는 TeX 제외 규칙 170개.

조판 시스템

TeX용 전체 .gitignore

# LFGitignore로 생성 - https://lfgitignore.com
# 생성일: 2026-10-13 15:57:16 UTC
# 기술: TeX

### TeX ###
*.lof
*.lot
*.fls
*.toc
*.fmt
*.fot
# 로그 파일
*.log
*.cb
*.cb2
.*.lb
*.dvi
*.xdv
*-converted-to.*
*.aux
.pdf
*.bbl
*.bbl-SAVE-ERROR
# 일반 실행 파일 결과
*.out
*.bcf
*.bcf-SAVE-ERROR
*.blg
*-blx.aux
*-blx.bib
*.run.xml
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
*.rubbercache
rubber.cache
latex.out/
*.alg
*.loa
acs-*.bib
*.thm
*.atfi
*.nav
*.pre
*.snm
*.vrb
*.soc
*.loc
*.cut
*.cpt
*.tuc
*.spl
*.tui
*.ent
*.tuo
*.lox
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
*.acn
*.acr
*.glg
*.glg-abr
*.glo
*.glo-abr
*.gls
*.gls-abr
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
*.gnuplot
*.table
*-gnuplottex-*
*.gaux
*.glog
*.gtex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
*.hd
*.brf
*-concordance.tex
*-tikzDictionary
*.lol
*.ltjruby
*.idx
*.ilg
*.ind
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
_minted*
*.data.minted
*.pyg
*.mw
*.newpax
*.nlg
*.nlo
*.nls
*.pax
*.pdfpc
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
*.wrt
*.spell.bad
*.spell.txt
svg-inkscape/
*.sout
*.sympy
sympy-plots-for-*.tex/
*.upa
*.upb
*.pytxcode
pythontex-files-*/
*.listing
*.loe
*.dpth
*.md5
*.auxlock
*.ptc
*.tdo
*.hst
*.ver
*.lod
*.xcp
*.xmpi
*.xdy
*.xyc
*.xyd
*.ttt
*.fff
TSWLatexianTemp*
# 백업 파일
*.bak
*.sav
*.bak[0-9]*
.texpadtmp
*.lyx~
# 백업 파일
*.backup
# Vim 숨김 스왑 파일
.*.swp
*~[0-9]*
*.tps
./auto/*
*.el
*-tags.tex
*.sta
*.lpz
*.xwm

이 TeX 규칙이 실제로 제외하는 항목

아래에서 각 패턴과 .gitignore에 포함하는 이유를 확인하세요.

일반

패턴 제외 대상
*.lof 일반
*.lot 일반
*.fls 일반
*.toc 일반
*.fmt 일반
*.fot 일반
*.log 로그 파일
*.cb 일반
*.cb2 일반
.*.lb 일반
*.dvi # 중간 문서:
*.xdv 일반
*-converted-to.* 일반
.pdf # "Please type another file name for output:"에 빈 문자열을 입력하면 생성됨
*.aux 일반
*.bbl # 참고 문헌 보조 파일(bibtex/biblatex/biber):
*.bbl-SAVE-ERROR 일반
*.out 일반 실행 파일 결과
*.bcf 일반
*.bcf-SAVE-ERROR 일반
*.blg 일반
*-blx.aux 일반
*-blx.bib 일반
*.run.xml 일반
*.fdb_latexmk # 빌드 도구 보조 파일:
*.synctex 일반
*.synctex(busy) 일반
*.synctex.gz 일반
*.synctex.gz(busy) 일반
*.pdfsync 일반
*.rubbercache 일반
rubber.cache 일반
latex.out/ # latexrun 보조 파일용 빌드 도구 디렉터리
*.alg # 다른 패키지의 보조 및 중간 파일: algorithms
*.loa 일반
acs-*.bib achemso
*.thm amsthm
*.atfi attachfile2
*.nav beamer
*.pre 일반
*.snm 일반
*.vrb 일반
*.soc changes 패키지
*.loc 일반
*.cut comment 패키지
*.cpt cprotect
*.tuc context 조판 시스템
*.spl elsarticle(Elsevier 학술지 문서 클래스)
*.tui 일반
*.ent endnotes
*.tuo 일반
*.lox fixme
*.mf feynmf/feynmp
*.mp 일반
*.t[1-9] 일반
*.t[1-9][0-9] 일반
*.tfm 일반
*.end (r)(e)ledmac/(r)(e)ledpar
*.?end 일반
*.[1-9] 일반
*.[1-9][0-9] 일반
*.[1-9][0-9][0-9] 일반
*.[1-9]R 일반
*.[1-9][0-9]R 일반
*.[1-9][0-9][0-9]R 일반
*.eledsec[1-9] 일반
*.eledsec[1-9]R 일반
*.eledsec[1-9][0-9] 일반
*.eledsec[1-9][0-9]R 일반
*.eledsec[1-9][0-9][0-9] 일반
*.eledsec[1-9][0-9][0-9]R 일반
*.acn glossaries
*.acr 일반
*.glg 일반
*.glg-abr 일반
*.glo 일반
*.glo-abr 일반
*.gls 일반
*.gls-abr 일반
*.glsdefs 일반
*.lzo 일반
*.lzs 일반
*.slg 일반
*.slo 일반
*.sls 일반
*.gnuplot gnuplot
*.table 일반
*-gnuplottex-* gnuplottex
*.gaux gregoriotex
*.glog 일반
*.gtex 일반
*.4ct htlatex
*.4tc 일반
*.idv 일반
*.lg 일반
*.trc 일반
*.xref 일반
*.hd hypdoc
*.brf hyperref
*-concordance.tex knitr
*-tikzDictionary TODO knitr를 사용하며 생성된 tikz 파일을 제외하려면 다음 줄의 주석을 해제하세요 *.tikz
*.lol listings
*.ltjruby luatexja-ruby
*.idx makeidx
*.ilg 일반
*.ind 일반
*.maf minitoc
*.mlf 일반
*.mlt 일반
*.mtc[0-9]* 일반
*.slf[0-9]* 일반
*.slt[0-9]* 일반
*.stc[0-9]* 일반
_minted* minted
*.data.minted 일반
*.pyg 일반
*.mw morewrites
*.newpax newpax
*.nlg nomencl
*.nlo 일반
*.nls 일반
*.pax pax
*.pdfpc pdfpcnotes
*.sagetex.sage sagetex
*.sagetex.py 일반
*.sagetex.scmd 일반
*.wrt scrwfile
*.spell.bad spelling 패키지
*.spell.txt 일반
svg-inkscape/ svg 패키지
*.sout sympy
*.sympy 일반
sympy-plots-for-*.tex/ 일반
*.upa pdfcomment
*.upb 일반
*.pytxcode pythontex
pythontex-files-*/ 일반
*.listing tcolorbox
*.loe thmtools

TikZ & PGF

패턴 제외 대상
*.dpth TikZ & PGF
*.md5 TikZ & PGF
*.auxlock TikZ & PGF
*.ptc titletoc
*.tdo todonotes
*.hst vhistory
*.ver TikZ & PGF
*.lod easy-todo
*.xcp xcolor
*.xmpi xmpincl
*.xdy xindy
*.xyc xypic 사전 컴파일된 행렬 및 윤곽선
*.xyd TikZ & PGF
*.ttt endfloat
*.fff TikZ & PGF

Latexian

패턴 제외 대상
TSWLatexianTemp* Latexian

WinEdt

패턴 제외 대상
*.bak 백업 파일
*.sav WinEdt
*.bak[0-9]* latexindent.pl

Texpad

패턴 제외 대상
.texpadtmp Texpad

LyX

패턴 제외 대상
*.lyx~ LyX

Kile

패턴 제외 대상
*.backup 백업 파일
.*.swp Vim 숨김 스왑 파일

KBibTeX

패턴 제외 대상
*~[0-9]* KBibTeX

TeXnicCenter

패턴 제외 대상
*.tps TeXnicCenter
./auto/* emacs 및 auctex 사용 시 자동 생성 폴더
*.el TeXnicCenter
*-tags.tex \gathertags를 사용하는 expex 전방 참조
*.sta standalone 패키지

Makeindex 로그 파일

패턴 제외 대상
*.lpz Makeindex 로그 파일
*.xwm xwatermark 패키지

이 TeX용 .gitignore 사용 방법

  1. 위의 TeX 규칙을 복사하거나 파일을 바로 다운로드하세요.
  2. Git 저장소 루트에 .gitignore라는 파일을 만들고 규칙을 붙여 넣으세요.
  3. 이미 추적 중인 파일이 있다면 git rm -r --cached . 명령을 실행한 다음 다시 커밋하세요. Git은 추적하지 않는 파일에만 제외 규칙을 적용합니다.
  4. 팀원 모두가 같은 규칙을 사용하도록 .gitignore를 커밋하세요.

다른 도구용 .gitignore 템플릿

모든 도구 템플릿 보기