KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
People who take cat naps don't usually sleep in a cat's cradle.
FrontPage › DeclareMathOperator

DeclareMathOperator

Q1(from KTUGOperate:10906): Tex ¹®¼­¸¦ º¸´Ùº¸´Ï..
¶ó´Â ¸í·É¾î°¡ Àִµ¥, ¾î¶² ¸í·ÉÀÎÁö ±Ã±ÝÇÕ´Ï´Ù.. ºÐÀ§±â»ó..
\newcommand
¸í·ÉÇÏ°í ºñ½º¹«·¹ Çغ¸À̴µ¥.. Á¤È®È÷ ¾î¶² ±â´ÉÀ» °¡Áø ¸í·ÉÀÎÁö ¾Ë ¼ö ÀÖÀ»±î¿ä?..

A: \newcommand´Â ´Ü¼øÈ÷ ¸í·É¾î¸¦ »õ·Î Á¤ÀÇÇϴµ¥ ºñÇÏ¿© ´Ü¼øÈ÷ \DeclareMathOperator´Â "Variable-sized Math Opreator"¶ó´Â ÀÌÇ× ¿¬»ê ±âÈ£¸¦ Á¤ÀÇÇÕ´Ï´Ù. µµÀºÀ̾ƺü²²¼­ KTUGOperate:5883¿¡¼­ ¾Ë·Á ÁֽŠ¸µÅ© ¿¡ µû¸£¸é ¿¬»êÀÚ(Operator: log-like function) Ç¥½Ã(±âÈ£) \diag ¸¦ Á¤ÀÇÇÒ ¶§
\DeclareMathOperator{\diag}{diag}
¿Í
\newcommand{\diag}{\mathop{\mathrm{diag}}}
´Â °°Àº ¿ªÈ°À» ÇÑ´Ù°í ÇÏ¿´³×¿ä. ÇÑ Æí ÇѱÛ, ÇÑÀÚ µîÀÌ ¼ö½Ä ¼Ó¿¡¼­ ³ªÅ¸³ª°Ô ÇÏ·Á¸é ±×³É text ¸ðµå·Î ³ª¿À°Ô ÇÒ °ÍÀÌ³Ä ¿¬»êÀÚ(Operator)·Î ¾µ °ÍÀ̳Ŀ¡ µû¶ó ¾à°£ ´Ù¸¨´Ï´Ù. ±×³É text ¸ðµå·Î ³ª¿À°Ô ÇÒ·Á¸é
\newcommand{\je}{\text{Á¦}}
¿Í °°ÀÌ Á¤ÀÇÇÏ¸é µË´Ï´Ù. ¿¬»êÀÚ(Operator)·Î ¾µ °ÍÀ̸é
\DeclareMathOperator*{\haneul}{\text{ô¸}}%
¿Í °°ÀÌ Á¤ÀÇÇÏ¸é µË´Ï´Ù. -> KTUGOperate:18853

¾à°£ÀÇ ºÎ¿¬ ¼³¸íÀ» ÇÏ¸é ¼ö½Ä ¸ðµå(Math mode) ¼Ó¿¡¼­ ÇÔ¼ö³ª ¿¬»êÀÚ´Â ¶È¹Ù·Î ¼¼¿ö¾ßÇÏ°í ¾ÕµÚ¿¡ °£°ÝÀ» ³Ö¾î º¯¼ö¿Í ±¸º°ÇÏ¿©¾ß ÇÕ´Ï´Ù([http]symbols-a4.pdfÀÇ ¡×7.3 Math-mode spacing (74-75ÂÊ) ÂüÁ¶). ¸¹Àº "ÇÔ¼ö ¹× ¿¬»êÀÚ Ç¥½Ã"(¸í·É¾î)´Â ÀÌ¹Ì Á¤ÀÇ µÇ¾î ÀÖÁö¸¸ °£È¤ »õ·Î Á¤ÇØ¾ß ÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì \newcommand¸¦ ½á¼­ Á¤ÀÇÇÏ·Á¸é ÇÔ¼ö Ç¥½Ã ¾ÕµÚÀÇ °£°ÝÀ» ¼³Á¤ÇÏ´Â °ÍÀÌ Á¶±Ý º¹ÀâÇÕ´Ï´Ù.

(./) \newcommand³ª \DeclareMathOperator¸¦ ½á¼­ ÇÁ¸®¾Úºí¿¡¼­ Operator¸¦ Á¤ÀÇÇÏ¿© ¾²´Â ¹æ¹ýµµ ÀÖÀ¸³ª ¼ö½Ä ¸ðµå¿¡¼­ ÇÑ µÎ ¹ø¸¸ ¾µ °ÍÀº ¸í·É¾î \mathop¸¦ ÇÊ¿äÇÒ ¶§¸¶´Ù ¾²´Â ¹æ¹ýÀÌ ÆíÇÕ´Ï´Ù. °¡·É ¼ö½Ä ¸ðµå ¼Ó¿¡ diag ¸¦ ¾µ·Á¸é ±× ÀÚ¸®¿¡¼­ \mathop{\mathrm{diag}} ¸¦ ¾¹´Ï´Ù.

±×·¡¼­ ¿©·¯ ¹ø ¾µ ¶§´Â ¾Æ¿¹ ÇÁ¸®¾Úºí¿¡ \DeclareMathOperator¸¦ ¾²¼­ Á¤ÀÇÇÏ¿© ¾²´Â °ÍÀÌ ÆíÇÕ´Ï´Ù. °¡·É ¼ö½Ä ¼Ó¿¡ Çѱ۷Π"»ó¼ö"°¡ ³ª¿À°Ô ÇÏ·Á¸é
\DeclareMathOperator{\const}{\text{»ó¼ö}}
·Î Á¤ÀÇÇÏ°í ¼ö½Ä ¸ðµå¿¡¼­ ÇÊ¿äÇÒ ¶§ ¸¶´Ù \const¸¦ ÀÔ·ÂÇÏ¸é µË´Ï´Ù(KTUGOperate:1438ÂüÁ¶).

À§¿Í °°ÀÌ ¿¬»êÀÚ¸¦ Á¤ÀÇÇÏ¿´À» ¶§´Â display Çü ¼ö½Ä ¸ðµå¿¡¼­´Â À§Ã·ÀÚ¿Í ¾Æ·¡Ã·ÀÚ°¡ ¿¬»êÀÚ(Operator)ÀÇ ¹Ù·Î À§ÂÊ°ú ¹Ù·Î ¾Æ·¡ÂÊ(ÀÌ°ÍÀ» "\limits" À§Ä¡¶ó°í ÇÕ´Ï´Ù.)¿¡ ºÙ°Ô µÇ°í º»¹® Çü ¼ö½Ä ¸ðµå¿¡¼­´Â ¿¬»êÀÚÀÇ ¿À¸¥ÂÊ¿¡ À§¾Æ·¡(ÀÌ°ÍÀ» "\nolimits" À§Ä¡¶ó°í ÇÕ´Ï´Ù.)·Î ³ª¶õÈ÷ ºÙ°ÔµË´Ï´Ù. ±×·¡¼­ "Variable-size Math Opreator"¶ó°í ÇÕ´Ï´Ù. ÀÌ¹Ì ¸¹Àº ±âÈ£µéÀº "Variable-size Math Opreator"·Î Á¤ÀǵǾî ÀÖÀ¸´Ï ¾Ë¾ÆµÎ¸é Æí¸®ÇÕ´Ï´Ù([http]symbols-a4.pdfÀÇ 21-25ÂÊ ÂüÁ¶). ¶Ç display ÇüÀ̳ª º»¹® ÇüÀ̳ª »ó°ü ¾øÀÌ Ç×»ó ÷ÀÚµéÀÌ "\limits" À§Ä¡¿¡ ³ªÅ¸³ª°Ô ÇÏ·Á¸é \DeclareMathOperator* ¸¦ ¾²¸é µË´Ï´Ù. °¡·É ÀÌÇ× ¿¬»ê ±âÈ£ÀÎ +, \times µîÀ» ¿¬»êÀÚ Ç¥½Ã(±âÈ£)·Î ¾²¸é¼­ ÷ÀÚµéÀÌ Ç×»ó "\limits" À§Ä¡¿¡ ³ªÅ¸³ª°Ô ÇÒ·Á¸é Preamble¿¡
\DeclareMathOperator*{\plus}{+} \DeclareMathOperator{\cprod}{\times}
µî°ú °°ÀÌ Á¤ÀÇÇÕ´Ï´Ù. º°Ç¥(*)¸¦ ¾ø¾Ö¸é "Variable-sized Math Opreator"°¡ µË´Ï´Ù. »ç¿ë ¿¹(¿¹1)¸¦ ¾Æ·¡¿¡ ¼Ò°³ÇÕ´Ï´Ù.

±×¸®°í Ç×»ó ÷ÀÚµéÀÌ "\nolimits" À§Ä¡¿¡ ³ªÅ¸³ª°Ô ÇÒ·Á¸é Preamble¿¡
\newcommand{\diag}{\mathop{\mathrm{diag}}\nolimits}
¿Í °°ÀÌ Á¤ÀÇÇÕ´Ï´Ù.

(./) AMSLaTeXÀÌ ¾Æ´Ò ¶§ \DeclareMathOperator ¶Ç´Â \DeclareMathOperator*¸¦ ¾µ·Á¸é Preamble¿¡ `\usepacakage{amsmath}'¸¦ ³ÖÀ¸¸é µË´Ï´Ù.

¿¹1 (From KTUGOperate:11016)

cheonjamun.png
\documentclass{article}
\usepackage{amsmath}
\usepackage{hfont}
\newcommand\dcbracket[1]{¡º#1¡»}%
\DeclareMathOperator{\dalmeum}{\text{\lower.2ex\hbox{\large ¡ï}
                                     }}%
\DeclareMathOperator*{\haneul}{\text{\LARGE ô¸}}%
\DeclareMathOperator*{\ddang}{\text{\LARGE ò¢}}%

\begin{document}
\begin{equation*}
 \triangle ABC \dalmeum \triangle DEF
\end{equation*}
\centering{\Large \dcbracket{ô¸ò¢}}
\begin{equation*}
 \haneul_{\text{õ}}^{\text{ÇÏ´Ã}} \quad
    \ddang_{\text{Áö}}^{\text{¶¥}}
\end{equation*}

\end{document}

(./) ¼ö½Ä ¸ðµå¿¡¼­ ÇÑ µÎ¹ø¸¸ ¾µ °ÍÀº ¾Æ·¡ ¿¹2ó·³ ¸í·É¾î \mathop¸¦ ÇÊ¿äÇÒ ¶§¸¶´Ù ¾²´Â ¹æ¹ýÀÌ ÆíÇÕ´Ï´Ù.
¿©±â ÀÖ´ø ¿¹2¸¦ WinEdtTip/±âÈ£ÀÔ·ÂÀÇ ¼ÒÇ׸ñ "»ó¼â(ßÓáí) Ç¥½Ã"ÀÇ ¿¹2·Î ¿Å±é´Ï´Ù.

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-11-16 17:52:26
Processing time 0.0388 sec