๋ฐ˜์‘ํ˜•

๐Ÿ‘ป OS & Tools 34

Mac์—์„œ fn ๋ณด์กฐ ํ‚ค ๋ณ€๊ฒฝ fn+ํ™”์‚ดํ‘œ ๋‹จ์ถ•ํ‚ค (PageUp, PageDown, Home, End) ์ž‘๋™ ์•ˆํ•  ๋•Œ

์œˆ๋„์šฐ๋ฅผ 2x๋…„ ์จ์˜ค๋˜ ๋‚˜.. ๋งฅ๋ถ์— ๋„์ €ํžˆ ์ ์‘์„ ๋ชปํ•ด์„œ ์˜จ๊ฐ– ์„ค์ •์„ ๋‹ค ๋ฐ”๊พธ๋‹ค๊ฐ€ command ์™€ fn ํ‚ค๋ฅผ ๋ฐ”๊ฟจ๋Š”๋ฐ, ์ด๋ ‡๊ฒŒ ํ–ˆ์„ ๋•Œ์˜ ๋ฌธ์ œ๋Š” fn+ํ™”์‚ดํ‘œ ๋‹จ์ถ•ํ‚ค๊ฐ€ ์ž‘๋™์„ ์•ˆํ•˜๋Š” ๊ฒƒ์ด์—ˆ๋‹ค.. ์›๋ž˜ fn+ํ™”์‚ดํ‘œ ๋‹จ์ถ•ํ‚ค๊ฐ€ PageUp, PageDown, Home, End ๊ธฐ๋Šฅ์œผ๋กœ ๋งคํ•‘๋˜์–ด ์žˆ๋‹ค. ๋‚˜๋Š” command ํ‚ค์™€ fn ํ‚ค๋ฅผ ๋ฐ”๊ฟจ์œผ๋‹ˆ ์ด ๊ธฐ๋Šฅ์ด command+ํ™”์‚ดํ‘œ ๋‹จ์ถ•ํ‚ค๋กœ ๋งคํ•‘๋˜์•ผ ํ•˜๋Š”๋ฐ ์ด๊ฒŒ ์•ˆ๋จ.. ๊ตฌ๊ธ€์„ ๋ฏธ์นœ๋“ฏ์ด ๋’ค์ ธ์„œ DefaultKeyBinding.dict๋„ ํ•ด๋ณด๊ณ  ์˜จ๊ฐ– ๋ฐฉ๋ฒ•์„ ๋‹ค ์จ๋ดค๋Š”๋ฐ ํ•ด๊ฒฐ์ด ์•ˆ๋ผ์„œ command๋ฅผ control๋กœ ๋ฐ”๊ฟ” ๋ณด๊ธฐ๋„ ํ–ˆ์œผ๋‚˜ ๋ถˆํŽธํ•ด์„œ ๋‹ค ํฌ๊ธฐ.. ๋‚œ ๋ณต์‚ฌ ๋ถ™ํ˜€๋„ฃ๊ธฐ ๋“ฑ๋“ฑ์˜ ๋‹จ์ถ•ํ‚ค๋ฅผ ์ด์šฉํ• ๋ ค๋ฉด ๋ฌด์กฐ๊ฑด command๊ฐ€ ๊ฐ€์žฅ ์™ผ์ชฝ์— ์žˆ์–ด์•ผ ํ•œ๋‹ค. ํ•˜์ง€๋งŒ ๋‚œ ์˜์ง€์˜..

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 ์…‹ํŒ… ์ถ”์ฒœ / ์ปค์Šคํ„ฐ๋งˆ์ด์ง•

ํ•ญ์ƒ ์ƒˆ ํƒญ์—์„œ ์—ด๊ธฐ ์ƒˆ๋กœ์šด ํŒŒ์ผ์„ ํด๋ฆญํ•˜๋ฉด ์ƒˆ ํƒญ์—์„œ ์—ด๋ฆฌ๋Š”๊ฒŒ ์•„๋‹ˆ๋ผ, ๋‹ค๋ฅธ ํŒŒ์ผ์ด ์—ด๋ ค์žˆ๋˜ ๊ธฐ์กด ํƒญ์—์„œ ํŒŒ์ผ์ด ์—ด๋ฆฐ๋‹ค. ์ด๋Š” ํŒŒ์ผ์ด preview ๋ชจ๋“œ๋กœ ์—ด๋ ค์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋‹ค๋ฅธ ํŒŒ์ผ์„ ์—ด๋ฉด ๊ทธ ํŒŒ์ผ๋กœ ๋Œ€์ฒด๋˜๋Š” ๊ฒƒ์ธ๋ฐ, preview ๋ชจ๋“œ ์‚ฌ์šฉ์„ ํ•ด์ œํ•˜๋ฉด ํ•ญ์ƒ ํŒŒ์ผ์„ ์ƒˆ ํƒญ์—์„œ ์—ด ์ˆ˜ ์žˆ๋‹ค. [Settings] > [Workbench] > [Editor] > [Enable Preview] ํ•ด์ œ ๋ฏธ๋‹ˆ๋งต ์ œ๊ฑฐ ์ฝ”๋“œ ์˜ค๋ฅธ์ชฝ์— ์ „์ฒด ์ฝ”๋“œ๋ฅผ ํ•œ๋ˆˆ์— ๋ณด์—ฌ์ฃผ๋Š” ๋ฏธ๋ฆฌ๋ณด๊ธฐ (๋ฏธ๋‹ˆ๋งต)์ด ์žˆ๋Š”๋ฐ, ์ด๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Œ์œผ๋กœ ์„ค์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. [Settings] > [Editor] > [Minimap] > [Enabled] ํ•ด์ œ ๊ด„ํ˜ธ ํ•˜์ด๋ผ์ดํŠธ ํ•ด์ œ ์ตœ๊ทผ ์—…๋ฐ์ดํŠธํ•˜๋ฉด์„œ ์„œ๋กœ ์ง์ธ ๊ด„ํ˜ธ๋ฅผ ๋‹ค๋ฅธ ์ƒ‰๊น”๋กœ ํ‘œ์‹œํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ์ด ์ƒ๊ฒผ๋Š”๋ฐ, ..

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 ์ถ”์ฒœ / ๋น„๊ต

๋งฅ๋ถ ์ถ”๊ฐ€๊ธฐ๋Šฅ ์ •๋ฆฌ

๋งฅ๋ถ ์ดˆ๊ธฐ์…‹ํŒ… ์ด์ •๋ฆฌ์— ์ด์–ด์„œ.. ๋งฅ๋ถ ์ถ”๊ฐ€๊ธฐ๋Šฅ ์•„์นด์ด๋ธŒํ•˜๊ธฐ ๋„คํŠธ์›Œํฌ ๋“œ๋ผ์ด๋ธŒ ์—ฐ๊ฒฐ Finder์—์„œ [์ด๋™] > [์„œ๋ฒ„์— ์—ฐ๊ฒฐ] ์„ ์ด์šฉํ•ด ๋„คํŠธ์›Œํฌ ๋“œ๋ผ์ด๋ธŒ์— ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. (์œˆ๋„์šฐ๋ณด๋‹ค ๊ฐ„๋‹จํ•œ ๋“ฏ) ๋งฅ OS X์—์„œ ๋„คํŠธ์›Œํฌ ๋“œ๋ผ์ด๋ธŒ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ• ๋งฅ OS X์—์„œ๋Š” 'Apple ๋ฉ”๋‰ด -> ์‹œ์Šคํ…œ ํ™˜๊ฒฝ์„ค์ •'์—์„œ '๊ณต์œ '์„ ํด๋ฆญํ•˜์—ฌ, ๋„คํŠธ์›Œํฌ ์ƒ์˜ ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž์™€ ํŒŒ์ผ ๋ฐ ํด๋”๋ฅผ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๋ชจ๋“  ์‚ฌ์šฉ์ž์—๊ฒŒ ์ „์ฒด Mac์„ ๊ณต์œ  ํ•˜๊ฑฐ๋‚˜ ํŠน์ • ํด๋”์— hwsecter.tistory.com iPad๋ฅผ Mac์˜ ๋ณด์กฐ ๋””์Šคํ”Œ๋ ˆ์ด๋กœ ์ด์šฉํ•˜๊ธฐ (์•„์ดํŒจ๋“œ ๋งฅ๋ถ ๋“€์–ผ๋ชจ๋‹ˆํ„ฐ) ๋“€์–ผ๋ชจ๋‹ˆํ„ฐ ๊ธฐ๋Šฅ์€ ๋ฌผ๋ก ์ด๊ณ , ๋‹ค์–‘ํ•œ ์ œ์Šค์ฒ˜์™€ ํ„ฐ์น˜, ์• ํ”ŒํŽœ์Šฌ๊นŒ์ง€ ์ด์šฉํ•  ์ˆ˜ ์žˆ์–ด์„œ ๋งค์šฐ ์œ ์šฉํ•˜๋‹ค! iPad๋ฅผ Mac์˜ ๋ณด์กฐ ๋””์Šคํ”Œ๋ ˆ์ด๋กœ ์‚ฌ์šฉํ•˜๊ธฐ ..

์œˆ๋„์šฐ๋ฅผ ์‚ฌ๋ž‘ํ•˜๋Š” ์‚ฌ๋žŒ์˜ ๋งฅ๋ถ, Mac OS ์ดˆ๊ธฐ ์…‹ํŒ… ์ด์ •๋ฆฌ

๋‹จ์ถ•ํ‚ค Delete : fn + backspace ํŒŒ์ผ ์‚ญ์ œ : control โŒƒ + backspace ํ•œ/์˜ ์ „ํ™˜ : Caps Lock $\rightarrow$ ์„ค์ •์—์„œ ๋ณ€๊ฒฝ๊ฐ€๋Šฅ (์•„๋ž˜ ํ•ด๋‹น ํ•ญ๋ชฉ ์ฐธ๊ณ ) Spotlight : command โŒ˜ + space ์Šคํฌ๋ฆฐ์ƒท : shift โ‡ง + command โŒ˜ + 5 $\rightarrow$ ์„ค์ •์—์„œ ๋ณ€๊ฒฝ๊ฐ€๋Šฅ (์•„๋ž˜ ํ•ด๋‹น ํ•ญ๋ชฉ ์ฐธ๊ณ ) ์ฐฝ ๋‹ซ๊ธฐ : command โŒ˜ + w (Windows์˜ alt + f4) ํ™”๋ฉด ์ „ํ™˜ : command โŒ˜ + tab โ‡ฅ ์ „์ฒดํ™”๋ฉด : command โŒ˜ + control โŒƒ + f ๊ฐ€์ƒ ๋ฐ์Šคํฌํƒ‘ ์ „ํ™˜ : control โŒƒ + ←/→ ์ƒˆ๋กœ๊ณ ์นจ : command โŒ˜ + r $\rightarrow$ ์„ค์ •์—์„œ ๋ณ€๊ฒฝ๊ฐ€๋Šฅ (์•„๋ž˜ ํ•ด๋‹น ํ•ญ๋ชฉ ..

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..

์œˆ๋„์šฐ ํ™”๋ฉด๋ถ„ํ•  ํ”„๋กœ๊ทธ๋žจ PowerToys (+zoom ์˜ˆ๊ธฐ์น˜ ์•Š๊ฒŒ ์ข…๋ฃŒ)

๋‚˜๋Š” ๋ชจ๋‹ˆํ„ฐ ๋‘ ๋Œ€ ์ค‘ ํ•œ ๋Œ€๋ฅผ ์„ธ๋กœ๋กœ ์„ธ์›Œ์„œ ์‚ฌ์šฉํ•˜๋Š”๋ฐ, ๊ฐ€๋กœ ๋ชจ๋‹ˆํ„ฐ์˜ ๊ฒฝ์šฐ Win + ←/→ ๋‹จ์ถ•ํ‚ค๋ฅผ ์ด์šฉํ•ด ํ™”๋ฉด์„ ๋ถ„ํ• ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฉด, ์„ธ๋กœ ๋ชจ๋‹ˆํ„ฐ๋Š” ์œ„์•„๋ž˜๋กœ ๋ถ„ํ• ํ•˜๋Š” ๋‹จ์ถ•ํ‚ค๊ฐ€ ์—†์–ด์„œ ๋ถˆํŽธํ•˜๋”๋ผ.. ์ฐพ์•„๋ณด๋‹ˆ PowerToys๋ผ๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ด์šฉํ•ด์„œ ์œˆ๋„์šฐ์—์„œ ํ™”๋ฉด์„ ์ƒํ•˜ ๋ถ„ํ• ํ•  ์ˆ˜ ์žˆ๊ธธ๋ž˜ ์†Œ๊ฐœํ•˜๊ณ ์ž ํ•œ๋‹ค. 1. ์„ค์น˜ ๋‹ค์Œ ๋งํฌ์—์„œ ์„ค์น˜ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œํ•  ์ˆ˜ ์žˆ๋‹ค. https://github.com/microsoft/PowerToys/releases/tag/v0.49.1 Release Release v0.49.1 · microsoft/PowerToys This is a patch release to fix issues in v0.49.0 we deemed important for stability b..

๋ฐ˜์‘ํ˜•