KTUGFaq
KTUG FAQ
FrontPage › WinEdtTip/Templates
[ÆíÁý]
1 Templates ¶
ÀÌ Ç׸ñ¿¡ ÀÖ´ø ±ÛÀº TeX »ç¿ëÀÚ ¸ðµÎ¿¡°Ô ÇÊ¿äÇÑ ÆÁÀ̶ó¼ À§Å° ÆäÀÌÁö SamplesAndTemplates¸¦ ¸¸µé°í ¿Å°å½À´Ï´Ù.
[ÆíÁý]
2 »õ ¹®¼ÀÇ »É ¶
±×¸² ¼³¸í: WinEdt âÀ» ¿¸é ¸ÇÀ§¿¡ WinEdt¶ó´Â â À̸§ÀÌ ÀÖ°í ±× ´ÙÀ½ Çà¿¡ ¸Þ´º(Menu Bar)°¡ ÀÖ°í, ±× ´ÙÀ½¿¡ µÎ ÇàÀ¸·Î µÈ µµ±¸ »óÀÚ(Tool Bar: ´ÜÃß ¸ðÀ½)°¡ ÀÖ´Ù. µµ±¸ »óÀÚÀÇ À Çà ¼Â° ´ÜÃß(New Document... (Shift+Ctrl+N))¸¦ ´©¸£¸é New Document ´ëÈ»óÀÚ(±×¸²¿¡¼ È°¼ºÈµÇÁö¾ÊÀº ÀÛÀº ´ëÈ»óÀÚ)°¡ ³ªÅ¸³´Ù. ¿©±â¼ °¡·É ¿¹·Î
LaTeX: Slides MainÀ» ´õºíŬ¸¯Çϸé
% ---------------------------------------------------------------- % AMS-LaTeX definitions for Slides ******************************* % ---------------------------------------------------------------- \documentclass[titlepage]{slides} \usepackage{amsmath} \usepackage{graphicx}·Î ½ÃÀÛÇÏ´Â »É(Template)ÀÌ WinEdt â¿¡ ¶á´Ù.
[ÆíÁý]
2.1 New LaTeX Document InterfaceÀÇ ¼³Ä¡ ¶
µµ±¸ »óÀÚÀÇ À Çà ¼Â° ´ÜÃß(New Document... (Shift+Ctrl+N))¸¦ ´©¸£¸é New Document ´ëÈ»óÀÚ ´ë½Å¿¡ Create new LaTeX document¶ó´Â ´ëÈ»óÀÚ°¡ ³ªÅ¸³ªµµ·Ï Macro¸¦ ¹Ù²Ü¼ö ÀÖ´Ù. Create new LaTeX document ´ëÈ»óÀÚ¿¡¼µµ ±âÁ¸ÀÇ New Document ´ëÈ»óÀÚ¿¡¼ ã´ø »É(Template)µéÀ» ¿øÇϸé Use predifined template: ¾Õ¿¡ ÀÖ´Â ³×¸ð»óÀÚ¸¦ üũÇÏ¸é µÈ´Ù. LaTeX2eÀÇ ´Ù¼¸ °³ÀÇ Ç¥ÁØ ¹®¼ Ŭ·¡½º(Standard Document Classes: article, report, book, slides, letter)¿¡ ¸ÂÃçÁø »ÉÀ» ÅÃÇÏ°í ¿©·¯°¡Áö Usepackage¿Í ¿É¼ÇÀ» ³Ö¾î µðÀÚÀÎÇÏ·Á¸é ÀÌ Ã¼Å©°¡ ¾ø¾î¾ß ÇÑ´Ù.
article, report, book Ŭ·¡½º(AMSLaTeXÀÇ Å¬·¡½º°¡ ¾Æ´Ñ Ŭ·¡½º)¸¦ ¸¹ÀÌ ¾²´Â »ç¶÷µé¿¡°Ô´Â Create new LaTeX document ´ëÈ»óÀÚ°¡ ¸Å¿ì Æí¸®ÇÏÁö¸¸ ¼öÇÐ ³í¹®À» ÁÖ·Î ¾²´Â »ç¶÷µé¿¡°Ô´Â Create new LaTeX document ´ëÈ»óÀÚ°¡ ¿ÀÈ÷·Á ºÒÆíÀ» ÁÙ ¼öµµ ÀÖ´Ù.
¼³Ä¡: New LaTeX Document Interface¿¡ °¡¸é newLaTeX.zipÀ» ´Ù¿î·ÎµåÇÒ ¼ö ÀÖ´Â ¸µÅ©°¡ ÀÖ´Ù. ÀÌ ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ¿© Ç® ¶§
C:\Program Files\WinEdt Team\WinEdt\Plugins\NewÆú´õ¸¦ ¸¸µé°í ÀÌ Æú´õ¿¡ Ǭ´Ù. ±×¸®°í WinEdt âÀÇ ¸Þ´º¿¡¼
Macros|Execute Macro Script...¸¦ Ŭ¸¯ÇÏ¿© "¿±â" ´ëÈ»óÀÚ¸¦ ¿¬´Ù. ¿©±â¼
C:\Program Files\WinEdt Team\WinEdt\Plugins\NewÆú´õ ¼Ó¿¡ ÀÖ´Â New.edt¸¦ ã¾Æ ÆÄÀÏÀ̸§(N): ´ÙÀ½ ºóÄ¿¡ ³ªÅ¸³ªµµ·Ï ÇÑ´Ù. ÀÌ ¶§ "¿±â(O)"¸¦ ´©¸£¸é "Confirm" ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¼
Use plug-in New LaTeX Document Interface?¶ó°í ¹°¾î º»´Ù. À̶§ "Yes" ´ÜÃ߸¦ ´©¸£¸é ¼³Ä¡´Â ³¡³´Ù.
[ÆíÁý]
3 ŸÀÌƲ ÆäÀÌÁö•Àå(íñ)•Àý(ï½)ÀÇ »É ¶
SamplesAndTemplatesÀÇ Ç׸ñ "ŸÀÌƲ ÆäÀÌÁö•Àå(íñ)•Àý(ï½)ÀÇ ¸ð¾ç" ÂüÁ¶
[ÆíÁý]
4.1 ±×¸²(figure) ȯ°æ ¶
À§ÀÇ ±×¸²¿¡¼ ±Û²Ã ¼±Åà ´ÜÃßÀÎ B, I ´ÜÃß ´ÙÀ½¿¡ "±â¿ï¸° ÆäÀÎÆ® Åë" ´ÜÃß¿¡ Ä¿¼¸¦ °¡Á®°¡¸é "Insert Image"¶ó´Â dz¼±µµ¿ò¸»ÀÌ ¶á´Ù. ÀÌ ´ÜÃ߸¦ ´©¸£¸é ¹®¼¿¡ figure ȯ°æÀÌ ÀԷµȴÙ(À§ÀÇ ±×¸²¿¡¼ Doc1ÀÇ 1-5 Çà ÂüÁ¶). ¿©±â¼ 2ÇàÀÇ "% Requires" ´ÙÀ½¿¡ ÀÖ´Â
\usepackage{graphicx}´Â À߶ó¼ Preamble¿¡ µÎ¸é µÈ´Ù.
[ÆíÁý]
4.2 ³ª¿(List) ȯ°æ ¶
WinEdtÀÇ "¸Þ´º"¿¡¼ Insert -> Lists ¸¦ ã¾Æ°¡¸é Itemize, Enumerate, Description, Cases µîÀÇ ´ÜÃß°¡ ¶á´Ù. ¿©±â¼ °¡·É Cases ´ÜÃ߸¦ Ŭ¸¯Çϸé Cases¶ó´Â ´ëÈ»óÀÚ°¡ ³ªÅ¸³´Ù. ¸î ÇàÀ» ¾µ °ÍÀΰ¡¸¦ °áÁ¤ÇÏ°í OK¸¦ ´©¸£¸é ¿ÞÂÊȰ¯¹À½Ç¥ {¿Í array ȯ°æ[1]ÀÌ ÀԷµȴÙ(±×¸² ÂüÁ¶).
----
- [1] ÀÌ »ÉÀº ¿©·¯ ÇàÀÇ ¼ö½ÄÀ» ÇϳªÀÇ ¹À½À¸·Î ³ªÅ¸³¾ ¶§ ÆíÇÏ´Ù. ±×·¯³ª ¼ö½ÄÀÇ Áß°£¿¡ ¿ÞÂÊȰ¯¹À½Ç¥ {°¡ µé¾î°¡°í ´Ù½Ã ¿©·¯ ÇàÀÇ ¼ö½ÄÀ» ±× ¿À¸¥ÂÊ¿¡ ³ª¿ÇÒ ¶§´Â equation ȯ°æ ¶Ç´Â ´Ù¸¥ ¼ö½Ä ȯ°æ(¿¹: gather ȯ°æ)¼Ó¿¡ amsmath.sty(AMSLaTeX Ŭ·¡½º°¡ ¾Æ´Ò ¶§´Â \usepackage{amsmath}¸¦ ÇÁ¸®¾Úºí¿¡ ³Ö¾î¾ß ÇÔ)¿¡¼ Á¤ÀÇµÈ cases ȯ°æÀ» ³Ö¾î¼ ¾²´Â °ÍÀÌ ÆíÇÏ´Ù. Mittelbach°¡ ¾´ The LaTeX Companion, 2nd ed.ÀÇ 484ÂÊ(¿¹Á¦ 8-2-28), 486ÂÊ(¿¹Á¦ 8-3-1)¿¡¼ ´Ù·é ¿¹Á¦ÀÇ ¼Ò½º ÆÄÀÏ(8-2-28.ltx, 8-3-1.ltx)¿¡¼ »ÉÀ» º¹»çÇÏ¿© »ç¿ëÇϸé ÆíÇÏ´Ù.
[ÆíÁý]
4.3 Ç¥(table°ú tabular) ȯ°æ ¶
À§ÀÇ ±×¸²°ú °°ÀÌ WinEdtÀÇ "¸Þ´º"¿¡¼ Insert -> Objects -> Table¸¦ ã¾Æ Ŭ¸¯Çϸé table ȯ°æÀÌ ÀԷµȴÙ. ´Ù½Ã Ä¿¼¸¦ \caption ¹Ù·Î ¾Õ¿¡ µÎ°í
Tabular (n x m)¸¦ ´©¸¥ ÈÄ Dimensions ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é Çà(Rows)°ú ¿(Columns)À» Á¤ÇØ ÁÖ°í OK¸¦ ´©¸£¸é tabular ȯ°æÀÌ ÀԷµȴÙ(±×¸²¿¡¼ Doc1ÀÇ 9-16Çà ÂüÁ¶). table ȯ°æ¿¡¼ ĸ¼ÇÀ» Ç¥ÀÇ À§ÂÊ¿¡ µÎ·Á¸é \end{table} ¹Ù·Î ¾Õ¿¡ tabular ȯ°æÀ» ÀÔ·Â(¾Æ·¡ ±×¸² ÂüÁ¶)ÇÏ¸é µÈ´Ù. See WinEdtTip/Ç¥¸¸µé±â
WinEdt¿¡¼´Â Table Designer¸¦ PluginÀ¸·Î ¼³Ä¡ÇÏ¿© ¸ÅÅ©·Î·Î "Table/Array Environment" ´ëÈ»óÀÚ¸¦ ¿¾î tabular ȯ°æ ¶Ç´Â array ȯ°æÀ» ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ¼³Ä¡¹ýÀº WinEdtÀÇ ¼ÒÇ׸ñ "Table DesignerÀÇ ¼³Ä¡ ¹× »ç¿ë¹ý"À» ÂüÁ¶ÇÏ°í ½ÇÁ¦ÀûÀÎ »ç¿ë¹ýÀº WinEdtTip/Ç¥¸¸µé±â¸¦ ÂüÁ¶ÇϽʽÿä.
[ÆíÁý]
4.4 ¼ö½Ä ȯ°æÀÇ »É ¶
WinEdtTip/¼ö½ÄÆíÁý ÂüÁ¶
http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/ ¿¡ Herbert Vo©¬°¡ ¾´ ¼ö½Ä¿¡ °üÇÑ ¼³¸í¼ÀÎ Mathmode.pdf¿Í ÀÌÀÇ ¼Ò½º ÆÄÀÏ Mathmode.texÀÌ ÀÖ½À´Ï´Ù. <- From 2789
[ÆíÁý]
5 Bib ÆÄÀÏ¿¡ ¾µ ¿£Æ®¸® À¯Çü ¶
bib ÆÄÀÏ¿¡ ¿£Æ®¸®¸¦ ³ÖÀ» ¶§ Âü°í¹®ÇåÀÇ À¯Çü(Entry Type)¿¡ µû¶ó Ç׸ñ(ÀÌ°ÍÀ» Entry Field¶ó°í ÇÑ´Ù.)ÀÌ ´Ù¸£´Ù. WinEdt âÀÇ Tool Bar(´ÜÃß ¸ðÀ½)ÀÇ ÀÁÙ ¼Â° ´ÜÃß(New Document... (Shift+Ctrl+N))¸¦ ´©¸£¸é New Document ´ëÈ»óÀÚ°¡ ³ªÅ¸³´Ù. ¿©±â¼ BibTeX Document¸¦ ¼±ÅÃÇϸé Doc1.bibÀÌ ¿¸°´Ù. ´Ù½Ã Menu Bar¿¡¼ Insert¸¦ Ŭ¸¯ÇÏ¸é ¸Þ´ºÆÇ¿¡ BibTeX Items°¡ Àִµ¥ Ä¿¼¸¦ °¡Á®°¡¸é 15°¡Áö ¸Þ´º°¡ µé¾î ÀÖ´Â º¸Á¶¸Þ´ºÆÇÀÌ ¶ß°í ÇÊ¿ä¿¡ µû¶ó °í¸£¸é µÈ´Ù. BibitemÀ» ¸ðµÎ ÀÔ·Â(ÀÔ·ÂÇÒ ¶§ ÇѱÛ, ÇÑÀÚ, ÀϺ» °¡³ª µîµµ ¾µ ¼ö ÀÖ´Ù.)ÇÏ¿´À¸¸é ÀúÀåÇÏ°í ÆÄÀÏÀÇ À̸§À» ²À ¿µ¹®À¸·Î ¶ç¾î¾²±â ¾øÀÌ ¸¸µé¸é µÈ´Ù. 4826ÂüÁ¶