๋ฐ˜์‘ํ˜•

๐Ÿ‘ป OS & Tools/LaTeX 8

TeX ํŒŒ์ผ์˜ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ๋ณด์—ฌ์ฃผ๋Š” LatexDiff ์„ค์น˜๋ฐฉ๋ฒ•๊ณผ ์‚ฌ์šฉ๋ฒ• (Windows)

์ €๋„์—์„œ ๋ฆฌ๋น„์ „ ์‹œ ๋…ผ๋ฌธ์˜ ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ํ‘œ์‹œ๋œ ํŒŒ์ผ์„ ์š”๊ตฌํ•  ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์›Œ๋“œ์˜ ๊ฒฝ์šฐ 'track change' ๊ธฐ๋Šฅ์„ ์ด์šฉํ•˜๋ฉด ๋˜๋Š”๋ฐ, LaTeX์˜ ๊ฒฝ์šฐ๋Š” LatexDiff๋ผ๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ด์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. LatexDiff๋ฅผ ์ด์šฉํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ํ‘œ์‹œ๋œ tex ํŒŒ์ผ์ด ์ƒ์„ฑ๋œ๋‹ค. ์„ค์น˜๋ฐฉ๋ฒ• ๋‹ค์Œ ๋งํฌ์—์„œ latexdiff.zip ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„ ์••์ถ•์„ ํ•ด์ œํ•œ๋‹ค. ๋‹ค์šด๋กœ๋“œ ๋งํฌ: https://www.ctan.org/pkg/latexdiff CTAN: Package latexdiff latexdiff – Determine and mark up significant differences between LaTeX files Latexdiff is a Perl script for visual mar..

LaTeX figure ๋„ฃ๊ธฐ

LaTex์—์„œ figure์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” graphics package๋ฅผ ์„ ์–ธํ•ด์•ผ ํ•œ๋‹ค. \usepackage{graphicx} LaTeX์— ๋“ค์–ด๊ฐ€๋Š” figure์€ ์ผ๋ฐ˜์ ์œผ๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๊ตฌ์„ฑ๋œ๋‹ค. \begin{figure}[!t] \centerline{\includegraphics[width=\columnwidth]{figure.png}} \caption{This is the first figure.} \label{figure_1} \end{figure} Figure์˜ ๋‚ด์šฉ์€ \begin{figure} ๊ณผ \end{figure} ์‚ฌ์ด์— ์œ„์น˜ํ•œ๋‹ค. [!t]๋Š” figure์ด ๋†“์ผ ์ˆ˜ ์žˆ๋Š” ์œ„์น˜๋ฅผ ์˜๋ฏธํ•œ๋‹ค. ๋‹ค์Œ ์ค‘ ํ•˜๋‚˜ ์ด์ƒ์˜ option์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๋‹จ, ์ˆœ์„œ๋Œ€๋กœ ์ ์šฉ๋˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค. ๋Œ€๋ถ€..

LaTex์—์„œ ์ˆ˜์‹์ด ํฌํ•จ๋œ ๋ฌธ๋‹จ์— ์ค„๋ฒˆํ˜ธ๊ฐ€ ๋งค๊ฒจ์ง€์ง€ ์•Š์„ ๋•Œ

LaTex์—์„œ ์ˆ˜์‹์ด ํฌํ•จ๋œ ๋ฌธ๋‹จ์— ์ค„๋ฒˆํ˜ธ๊ฐ€ ๊ฑด๋„ˆ๋›ฐ์–ด์ง€๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. ์ด ๊ฒฝ์šฐ amsmath package๋ฅผ lineno package๋ณด๋‹ค ์•ž์— ์„ ์–ธํ•˜๋ฉด ๋œ๋‹ค. ์ถœ์ฒ˜: https://tex.stackexchange.com/a/456206 Why doesn't lineno number a paragraph when it is followed by an indented equation? While searching for the source of missing line numbers, I realized that paragraphs followed immediately by an equation have no line number, but this is fixed when a space is include..

VSCode๋กœ LaTeX ์ด์šฉํ•˜๊ธฐ (Mac/Windows)

๋‹ค์Œ ์„ธ ๊ฐ€์ง€๋ฅผ ์„ค์น˜ํ•˜๋ฉด VSCode๋กœ .tex ํŒŒ์ผ์„ ํŽธ์ง‘ํ•˜๊ณ  ์ปดํŒŒ์ผํ•  ์ˆ˜ ์žˆ๋‹ค. 1. LaTeX Workshop - VSCode์˜ LaTeX extension 2. MacTeX (MacOS) / TeX Live (Windows) - LaTex ์ปดํŒŒ์ผ๋Ÿฌ - Mac: MacTex - Windows: Tex Live 3. (Optional) ๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ๊ธฐ (LTex / Code Spell Checker) - VSCode์˜ LaTeX ๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ๊ธฐ. ๋‘˜ ์ค‘ ์›ํ•˜๋Š” ๊ฒƒ์œผ๋กœ ์„ค์น˜ํ•˜๋ฉด ๋œ๋‹ค. - VS Code Latex ๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ extension ์ถ”์ฒœ / ๋น„๊ต

LaTex ํ‘œ ๊ด€๋ จ ํŒ (ํ‘œ ์ž๋™ ์ƒ์„ฑ๊ธฐ, ํฐํŠธ ํฌ๊ธฐ ์กฐ์ •, ์…€ ๋„ˆ๋น„, ํ‘œ ๋‚ด๋ถ€ ์—ฌ๋ฐฑ, footnote ๋‹ฌ๊ธฐ)

ํ‘œ ์ž๋™ ์ƒ์„ฑ๊ธฐ Table generator https://www.tablesgenerator.com/# {\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{table} \begin{tabular}{L{2cm} | C{1cm} | R{2cm}} \hline a1 & a2 & a3 \\ \hline\hline b1 & b2 & b3 \\ \hli..

VSCode์—์„œ LaTex ์‚ฌ์šฉ ์‹œ undefined citation error / reference/citation์ด ์•ˆ๋˜๋Š” ๋ฌธ์ œ

vscode๋กœ ์›๊ฒฉ์ ‘์†ํ•ด์„œ ๊ฐ™์€ tex ํŒŒ์ผ์„ ์—ด์—ˆ๋Š”๋ฐ, local์—์„œ๋Š” citation์ด ์ž˜ ๋˜๋˜ ๊ฒƒ์ด ssh๋กœ ์ ‘์†ํ–ˆ์„ ๋•Œ๋Š” ? ํ‘œ์‹œ๊ฐ€ ๋‹ฌ๋ฆฌ๋ฉด์„œ ๋ชจ๋“  citation์— ๋Œ€ํ•ด undefined citation ์ด๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ์ปดํŒŒ์ผ๋Ÿฌ ๋ฌธ์ œ๊ฐ€ ์žˆ๋‚˜ ํ–ˆ๋Š”๋ฐ ์•„๋‹ˆ์˜€๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์€ ๊ฐ„๋‹จํ•˜๋‹ค. Tex ํƒญ์—์„œ Build LaTeX project -> Clean up auxiliary files ๋ฅผ ํ†ตํ•ด ์ด์ „์— ์ƒ์„ฑ๋œ ๋”๋ฏธ ํŒŒ์ผ๋“ค์„ ์ง€์›Œ์ฃผ๊ณ , Recipe: pdflatex -> bibtex -> pdflatex x 2๋กœ ๋‹ค์‹œ compileํ•˜๋ฉด ์ œ๋Œ€๋กœ ๋™์ž‘ํ•œ๋‹ค.

VS Code Latex ๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ extension ์ถ”์ฒœ (spell/grammer check) - LTex, Code Spell Checker

VS Code์˜ LaTex Workshop extension์€ ์ž๋™ ๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š๋Š”๋‹ค. ๋Œ€์‹  official github์—์„œ ๋‹ค์Œ ๋‘ ๊ฐœ์˜ extension์„ ์ถ”์ฒœํ•˜๊ณ  ์žˆ๋‹ค. ๋‘˜ ๋‹ค ์„ค์น˜ํ•ด์„œ ๋น„๊ตํ•ด ๋ดค๋Š”๋ฐ, ์„œ๋กœ ์ฐจ์ด๊ฐ€ ์กฐ๊ธˆ ์žˆ๊ณ , ๋‘˜ ๋‹ค ์›Œ๋“œ๋ณด๋‹ค ์„ฑ๋Šฅ์ด ๋–จ์–ด์ง€๋Š” ๋“ฏ ํ•˜๋‹ค.. ๊ทธ๋ ‡์ง€๋งŒ ๋‚˜๋Š” ๋” ์ด๊ฒƒ์ €๊ฒƒ ์„ค์น˜ํ•ด ๋ณด๊ธฐ๋Š” ๊ท€์ฐฎ์•„์„œ ๋‘˜ ์ค‘ ํ•˜๋‚˜๋ฅผ ์“ฐ๋ ค๊ณ  ํ•œ๋‹ค. ์ด ๊ธ€์—์„œ๋Š” ๋‘ extension์˜ ์ฐจ์ด์ ์„ ์†Œ๊ฐœํ•˜๊ณ ์ž ํ•œ๋‹ค. LTeX https://github.com/valentjn/vscode-ltex GitHub - valentjn/vscode-ltex: LTeX: Grammar/spell checker for VS Code using LanguageTool with support for LaTeX..

๋‚ด๊ฐ€ ๋ณด๋ ค๊ณ  ์ •๋ฆฌํ•˜๋Š” LaTex ์ž์ฃผ ์“ฐ๋Š” ์ˆ˜์‹ ์ •๋ฆฌ

LaTex ํŠน์ˆ˜๋ฌธ์ž, ์ˆ˜์‹์„ ๋˜‘๊ฐ™์€ ๊ฑฐ ๋งค๋ฒˆ ๊ตฌ๊ธ€๋งํ•˜๊ธฐ ๊ท€์ฐฎ์•„์„œ ๋งŒ๋“œ๋Š” ์ž์ฃผ ์“ฐ๋Š” LaTex ์ˆ˜์‹ ๋ชจ์Œ ๐ŸŽจ Font typefaces - ์‹ค์ˆ˜ ์ง‘ํ•ฉ (R), ๋ฐ์ดํ„ฐ์…‹ (D) ๋“ฑ์—์„œ ์ž์ฃผ ์“ฐ๋Š” ๋ฌธ์ž. \mathcal{RQSZ} \mathbb{RQSZ} ๊ธฐํ˜ธ (Symbols) LaTex ์ˆ˜์‹ ํ‘œ์‹œ ์„ค๋ช… ์—ฐ์‚ฐ์ž (Operators) \cdot · ๊ณฑ์…ˆ๊ธฐํ˜ธ / ๋‚ด์  (inner product) \circ โˆ˜ circle / ์› (*degree ๋“ฑ์„ ๋‚˜ํƒ€๋‚ด๊ธฐ ์œ„ํ•œ ์œ„ ์ฒจ์ž๋กœ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ^\circ๋ฅผ ์ด์šฉํ•˜๋ฉด ๋œ๋‹ค.) \times × ๊ณฑ์…ˆ๊ธฐํ˜ธ / ์™ธ์  (cross product) \pm ± ํ”Œ๋Ÿฌ์Šค ๋งˆ์ด๋„ˆ์Šค (plus minus) \circledast โŠ› convolution / ์› ์•ˆ์˜ ๋ณ„ํ‘œ (asterisk) \..

๋ฐ˜์‘ํ˜•