경고 : 최신판이 아닙니다. 이 문서의 오래된 판을 편집하고 있습니다. 이것을 저장하면, 이 판 이후로 바뀐 모든 편집이 사라집니다. 로그인하고 있지 않습니다. 편집하면 당신의 IP 주소가 공개적으로 기록됩니다. 계정을 만들고 로그인하면 편집 시 사용자 이름만 보이며, 위키 이용에 여러 가지 편의가 주어집니다.스팸 방지 검사입니다. 이것을 입력하지 마세요!리브레 위키에서는 수학 공식을 간편하게 입력하기 위해, {{TeX}}문법을 지원합니다. 이 기능을 사용하려면 <code><nowiki><math> ... </math></nowiki></code> 사이에 {{TeX}}문법을 쓰면 됩니다. 이 태그 내에서의 줄바꿈은 처리되지 않습니다. {{TeX}}문법 수식을 편집할 때는 [http://ko.numberempire.com/texequationeditor/equationeditor.php 이곳] 혹은 [http://www.codecogs.com/latex/eqneditor.php 이곳]이 도움이 될 수 있습니다. {| class="wikitable" ! colspan="3" | TeX 문법 도움말 항목 |- | [[도움말:TeX 문법/특수문자|특수 문자]] | [[도움말:TeX 문법/글꼴|글꼴]] | [[도움말:TeX 문법#위, 아래 첨자|위, 아래 첨자]] |- | [[도움말:TeX 문법#분수, 행렬, 여러행|분수, 행렬, 여러행]] | [[도움말:TeX 문법#괄호 쓰기|괄호 쓰기]] | [[도움말:TeX 문법#빈칸조정|빈칸조정]] |- | [[도움말:TeX 문법#수식 꾸미기|수식꾸미기]] | | |} == 특수 문자 == {{참조|도움말:TeX 문법/특수문자}} 특수 문자에는 * 구별부호 (<math>\hat{a}</math>) * 산술 함수 (지수, 로그, 삼각 함수) * 상한/하한 (min, max) * 투영 (<math>\Pr j, \hom l</math>) * 미분 (<math> \dfrac{ \partial }{\partial x } </math>) * 유사 문자기호 * 모듈러 연산 * 근호 (제곱근, n제곱근) * 연산자 / 집합 / 관계 / 기하 / 논리 / 화살표 / 특수문자 등등이 있습니다. == 글꼴 == {{참조|도움말:TeX 문법/글꼴}} 글꼴에는 그리스어/로마자/볼드체 등등이 있습니다. == 위, 아래 첨자 == {| class="wikitable" style="background-color:white" |----- ! 기능 ! 문법 ! 문서에 나타나는 식 |----- | 위 [[첨자]] | <code>a^2</code> | <math>a^2</math> |----- | rowspan="2" |아래 첨자 | <code>a_2</code> | <math>a_2</math> |- | <code>x_s-x_D</code> | <math>x_s-x_D</math> |----- | rowspan="2" | 다문자 첨자 | <code>a^{2+2}</code> | <math>a^{2+2}</math> |----- | <code>a_{i,j}</code> | <math>a_{i,j}</math> |----- | 위 아래 첨자 동시에 | <code>x_2^3</code> | <math>x_2^3</math> |----- | [[미분]] (옳음) | <code>x'</code> | <math>x'</math> |----- | 미분 (HTML의 경우 틀림) | <code>x^\prime</code> | <math>x^\prime</math> |----- | 미분 (PNG의 경우 틀림) | <code>x\prime</code> | <math>x\prime</math> |----- | [[시그마]] | <code>\sum_{k=1}^N k^2</code> | <math>\sum_{k=1}^N k^2</math> |----- | [[곱기호]] | <code>\prod_{i=1}^N x_i</code> | <math>\prod_{i=1}^N x_i</math> |----- | [[극한]] | <code>\lim_{n \to \infty}x_n</code> | <math>\lim_{n \to \infty}x_n</math> |----- | [[적분]] | <code>\int_{-N}^{N} e^x\, \operatorname{d}\!x</code> | <math>\int_{-N}^{N} e^x\, \operatorname{d}\!x</math> |----- | [[선적분]] | <code>\oint_{C} x^3\, \operatorname{d}\!x + 4y^2\, \operatorname{d}\!y</code> | <math>\oint_{C} x^3\, \operatorname{d}\!x + 4y^2\, \operatorname{d}\!y</math> |----- | 이중 선적분 | [[틀:oiint]]를 사용합니다. <ref><code><nowiki>{{oiint|앞=적분기호 앞에 쓸 내용|첨자= 적분기호에 적용할 밑첨자|뒤= 적분할 수식}}</nowiki></code>로 사용합니다.</ref> |{{oiint|앞=3|첨자= C|뒤= (x+y)dx}} |} == 분수, 행렬, 여러행 == {| class="wikitable" <!--style="background-color:white"--> |----- ! 기능 ! 문법 ! 문서에서 보이는 식 |----- | 분수 | <code>\frac{2}{4}</code> or <code>{2 \over 4}</code> | <math>\frac{2}{4}</math> |----- | 이항<br/>계수 | <code>{n \choose k}</code> | <math>{n \choose k}</math> |----- | rowspan="6" | 행렬 | <code>\begin{pmatrix} x & y \\ z & v \end{pmatrix}</code> | <math>\begin{pmatrix} x & y \\ z & v \end{pmatrix}</math> |----- | \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} | <math>\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix} </math> |----- | <code>\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}</code> | <math>\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}</math> |----- | <code>\begin{vmatrix} x & y \\ z & v \end{vmatrix}</code> | <math>\begin{vmatrix} x & y \\ z & v \end{vmatrix}</math> |----- | <code>\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}</code> | <math>\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}</math> |----- | <code>\begin{matrix} x & y \\ z & v \end{matrix}</code> | <math>\begin{matrix} x & y \\ z & v \end{matrix}</math> |----- | 경우<br/>나누기 | f(n)= \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} | <math>f(n)=\begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases}</math> |----- | 두줄<br/>이상의<br/>방정식 | \begin{align} f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align} | <math>\begin{align}f(n+1)&= (n+1)^2 \\ \ & = n^2 + 2n + 1\end{align}</math> |} == 괄호 쓰기 == {| class="wikitable" |----- ! 기능 ! 문법 ! 나타나는 모양 |----- | 좋지 않음. | <code>( \frac{1}{2} )</code> | <math>( \frac{1}{2} )</math> |----- | 좋음. | <code>\left( \frac{1}{2} \right)</code> | <math>\left ( \frac{1}{2} \right )</math> |} <code>\left</code> 와 <code>\right</code>를 사용하여, 여러 가지 괄호를 사용할 수 있습니다. {| class="wikitable" style="background-color:white" |----- ! 기능 ! 문법 ! 나타나는 모양 |----- | [[괄호]] | <code>\left( A \right)</code> | <math>\left( A \right)</math> |----- | 사각 괄호 | <code>\left[ A \right]</code> | <math>\left[ A \right]</math> |----- | [[집합]]괄호 | <code>\left<font color="red">'''\'''</font>{ A \right<font color="red">'''\'''</font>}</code><br/>(주의: '''\''' 필요) | <math>\left\{ A \right\}</math> |----- | [[부등호]] 괄호 | <code>\left\langle A \right\rangle</code> | <math>\left\langle A \right\rangle</math> |----- | 바 | <code>\left<nowiki>|</nowiki> A \right<nowiki>|</nowiki></code> | <math>\left| A \right|</math> |----- | <code>\left.</code> 혹은 <code>\right.</code> 라고 쓰면, 그 쪽 괄호는 나타나지 않습니다. | <code>\left. {A \over B} \right\} \to X</code> | <math>\left. {A \over B} \right\} \to X</math> |} == 빈칸조정 == {{TeX}}은 빈칸의 크기를 자동으로 조정합니다. 특별히 조정이 필요한 경우는 다음을 사용하면 됩니다. {| class="wikitable" |----- ! 기능 ! 문법 ! 나타나는 모양 |----- | double quad space | <code>a \qquad b</code> | <math>a \qquad b</math> |----- | quad space | <code>a \quad b</code> | <math>a \quad b</math> |----- | text space | <code>a\ b</code> | <math>a\ b</math> |----- | large space | <code>a\;b</code> | <math>a\;b</math> |----- | medium space | <code>a\>b</code> || [not supported] |----- | small space | <code>a\,b</code> | <math>a\,b</math> |----- | no space | <code>ab</code> | <math>ab\,</math> |----- | negative space | <code>a\!b</code> | <math>a\!b</math> |} == 수식 꾸미기 == === 수식에 색 넣기 === <code><nowiki><math>\color{#색의 RGB코드}{수식}</math></nowiki></code><br/> 색의 RGB코드에는 특정색의 #RGB 코드를 입력하면 됩니다.간단한것 가령 red나 blue 등은 그냥 입력하시면 됩니다.<br/> {| class="wikitable" ! style="text-align: center;" | 입력 ! 결과 |- | ! style="text-align: center;" | <code><nowiki><math>\color{#0909D9}{\lim_{x\rightarrow 0^{+}} x^{x}=1}</math></nowiki></code> | ! style="text-align: center;" |<math>\color{#0909D9}{\lim_{x\rightarrow 0^{+}} x^{x}=1}</math> |} === 수식에 슬래시 넣기 === <code><nowiki><math>\require{cancel},cancel{수식}</math></nowiki></code>.<br/> <code><nowiki><math>...</math></nowiki></code>의 ...에 먼저 <code><nowiki>\require{cancel}</nowiki></code><br/>을 넣고 슬래시를 넣고자 하는 수식에 <code><nowiki>cancel{수식}</nowiki></code> 혹은 <code><nowiki>bcancel{수식}</nowiki></code> 혹은 <code><nowiki>xcancel{수식}</nowiki></code>을 넣습니다.<br/> 또는 <code><nowiki>cancelto{화살표 취소가 향하고자 하는 곳}{화살표 취소를 할 수식}</nowiki></code>이렇게<br/> 입력합니다. {| class="wikitable" ! style="text-align: center;" | 입력 ! 결과 |- | ! style="text-align: center;" | <code><nowiki><math>\require{cancel},yes\cancel{{x}^{2}}</math></nowiki></code> | ! style="text-align: center;" |<math>\require{cancel},yes\cancel{{x}^{2}}</math> |- | ! style="text-align: center;" |<code><nowiki><math>\require{cancel} rr \bcancel{2x}</math></nowiki></code> | ! style="text-align: center;" |<math>\require{cancel} rr \bcancel{2x}</math> |- | ! style="text-align: center;" |<code><nowiki><math>\require{cancel} rr \xcancel{{x}^{x}}</math></nowiki></code> | ! style="text-align: center;" |<math>\require{cancel} rr \xcancel{{x}^{x}}</math> |- | ! style="text-align: center;" |<code><nowiki><math>\require{cancel},\cancelto{a}{{x}^{2}}</math></nowiki></code> | ! style="text-align: center;" |<math>\require{cancel},\cancelto{a}{{x}^{2}}</math> |} === 수식 줄바꿈 === <code><nowiki><math>줄바꿈하고자 하는 수식\\</math></nowiki></code> {| class="wikitable" ! style="text-align: center;" | 입력 ! 결과 |- | ! style="text-align: center;" | <code><nowiki><math>a\\b\\c\\d</math></nowiki></code> | ! style="text-align: center;" |<math>a\\b\\c\\d</math>. |} == 가환 다이어그램 == AMSmath와 AMSsymbols를 불러온 후, array를 이용하여 object, category, arrow를 모두 씁니다. <code><nowiki><math> \require{AMSmath} \require{AMSsymbols} \newcommand\mapright[2][]{\xrightarrow[#1]{ #2 }} \newcommand\mapleft[2][]{\xleftarrow[#1]{ #2 }} \newcommand\mapdown[2][]{\llap{\raise2pt{\scriptstyle{ #1 }}}\Big\downarrow\rlap{\raise2pt{\scriptstyle{ #2 }}}} \newcommand\mapup[2][]{\llap{{\scriptstyle{ #1 }}}\Big\uparrow\rlap{{\scriptstyle{ #2 }}}} \newcommand\mapdownright[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-2pt\diagdown\kern-.42em\lower.63em{\searrow}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapdownleft[2][]{\vcenter{\kern9pt\rlap{\lower6pt{\scriptstyle#1}}\kern-14pt\kern1em\diagup\kern-1.6em\lower.63em{\swarrow}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \newcommand\mapupleft[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-4pt\nwarrow\kern-.64em\lower.63em{\diagdown}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapupright[2][]{\vcenter{\kern6pt\rlap{\lower6pt{\scriptstyle#1}}\kern-18pt\kern1em\nearrow\kern-1.9em\lower.63em{\diagup}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \begin{array}{ccc} [[[[[[[[[[여기에 이것저것 입력]]]]]]]]]] \end{array}</math></nowiki></code> :<math>\require{AMSmath} \require{AMSsymbols} \newcommand\mapright[2][]{\xrightarrow[#1]{ #2 }} \newcommand\mapleft[2][]{\xleftarrow[#1]{ #2 }} \newcommand\mapdown[2][]{\llap{\raise2pt{\scriptstyle{ #1 }}}\Big\downarrow\rlap{\raise2pt{\scriptstyle{ #2 }}}} \newcommand\mapup[2][]{\llap{{\scriptstyle{ #1 }}}\Big\uparrow\rlap{{\scriptstyle{ #2 }}}} \newcommand\mapdownright[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-2pt\diagdown\kern-.42em\lower.63em{\searrow}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapdownleft[2][]{\vcenter{\kern9pt\rlap{\lower6pt{\scriptstyle#1}}\kern-14pt\kern1em\diagup\kern-1.6em\lower.63em{\swarrow}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \newcommand\mapupleft[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-4pt\nwarrow\kern-.64em\lower.63em{\diagdown}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapupright[2][]{\vcenter{\kern6pt\rlap{\lower6pt{\scriptstyle#1}}\kern-18pt\kern1em\nearrow\kern-1.9em\lower.63em{\diagup}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \begin{array}{ccc} TM & \mapright{T\varphi = \mathrm d \varphi} & TN \\[3pt] \mapdown[\pi_M]{} & & \mapdown{\pi_N} \\[3pt] M& \mapright{ \varphi} & N \end{array}</math> 이때, object, category, arrow들은 다음과 같이 입력합니다. # 행렬을 입력하듯 대상들을 배치합니다. # 화살표들은 다음과 같이 입력합니다. #: (array 부분만) <code><nowiki>\begin{array}{ccc} \mapright{a} & \mapright[b]{a} & \mapleft{a} & \mapleft[b]{a} \\[3pt] \mapdown{a} & \mapdown[b]{a} & \mapup{a} & \mapup[b]{a} \\[3pt] \mapupright{a} & \mapupright[b]{a} & \mapupleft{a} & \mapupleft[b]{a} \\[3pt] \mapdownright{a} & \mapdownright[b]{a} & \mapdownleft{a} & \mapdownleft[b]{a} \\[3pt] \end{array}</nowiki></code> #:<math>\require{AMSmath} \require{AMSsymbols} \newcommand\mapright[2][]{\xrightarrow[#1]{ #2 }} \newcommand\mapleft[2][]{\xleftarrow[#1]{ #2 }} \newcommand\mapdown[2][]{\llap{\raise2pt{\scriptstyle{ #1 }}}\Big\downarrow\rlap{\raise2pt{\scriptstyle{ #2 }}}} \newcommand\mapup[2][]{\llap{{\scriptstyle{ #1 }}}\Big\uparrow\rlap{{\scriptstyle{ #2 }}}} \newcommand\mapdownright[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-2pt\diagdown\kern-.42em\lower.63em{\searrow}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapdownleft[2][]{\vcenter{\kern9pt\rlap{\lower6pt{\scriptstyle#1}}\kern-14pt\kern1em\diagup\kern-1.6em\lower.63em{\swarrow}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \newcommand\mapupleft[2][]{\vcenter{\kern3pt\raise.5pt\rlap{\lower6pt{\scriptstyle#1}}\kern-4pt\nwarrow\kern-.64em\lower.63em{\diagdown}\raise-.5pt\kern-2pt\llap{\raise1.5pt{\scriptstyle#2 \kern4pt}}}} \newcommand\mapupright[2][]{\vcenter{\kern6pt\rlap{\lower6pt{\scriptstyle#1}}\kern-18pt\kern1em\nearrow\kern-1.9em\lower.63em{\diagup}\llap{\raise2pt{\scriptstyle #2\kern2pt}}}} \begin{array}{ccc} \mapright{a} & \mapright[b]{a} & \mapleft{a} & \mapleft[b]{a} \\[3pt] \mapdown{a} & \mapdown[b]{a} & \mapup{a} & \mapup[b]{a} \\[3pt] \mapupright{a} & \mapupright[b]{a} & \mapupleft{a} & \mapupleft[b]{a} \\[3pt] \mapdownright{a} & \mapdownright[b]{a} & \mapdownleft{a} & \mapdownleft[b]{a} \\[3pt] \end{array}</math> ==같이 보기 == * [[위키백과:위키 문법|위키 문법]] == 바깥 고리 == * [http://www.ktug.or.kr/xe/index.php?mid=documents 한글 텍 사용자 그룹(KTUG): 문서와 자료] {{주석}} [[분류:도움말]] 요약: 리브레 위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포됩니다(자세한 내용에 대해서는 리브레 위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요. 글이 직접 작성되었거나 호환되는 라이선스인지 확인해주세요. 리그베다 위키, 나무위키, 오리위키, 구스위키, 디시위키 및 CCL 미적용 사이트 등에서 글을 가져오실 때는 본인이 문서의 유일한 기여자여야 하고, 만약 본인이 문서의 유일한 기여자라는 증거가 없다면 그 문서는 불시에 삭제될 수 있습니다. 취소 편집 도움말 (새 창에서 열림) | () [] [[]] {{}} {{{}}} · <!-- --> · [[분류:]] · [[파일:]] · [[미디어:]] · #넘겨주기 [[]] · {{ㅊ|}} · <onlyinclude></onlyinclude> · <includeonly></includeonly> · <noinclude></noinclude> · <br /> · <ref></ref> · {{각주}} · {|class="wikitable" · |- · rowspan=""| · colspan=""| · |} {{lang|}} · {{llang||}} · {{인용문|}} · {{인용문2|}} · {{유튜브|}} · {{다음팟|}} · {{니코|}} · {{토막글}} {{삭제|}} · {{특정판삭제|}}(이유를 적지 않을 경우 기각될 가능성이 높습니다. 반드시 이유를 적어주세요.) {{#expr:}} · {{#if:}} · {{#ifeq:}} · {{#iferror:}} · {{#ifexist:}} · {{#switch:}} · {{#time:}} · {{#timel:}} · {{#titleparts:}} __NOTOC__ · __FORCETOC__ · __TOC__ · {{PAGENAME}} · {{SITENAME}} · {{localurl:}} · {{fullurl:}} · {{ns:}} –(대시) ‘’(작은따옴표) “”(큰따옴표) ·(가운뎃점) …(말줄임표) ‽(물음느낌표) 〈〉(홑화살괄호) 《》(겹화살괄호) ± − × ÷ ≈ ≠ ∓ ≤ ≥ ∞ ¬ ¹ ² ³ ⁿ ¼ ½ ¾ § € £ ₩ ¥ ¢ † ‡ • ← → ↔ ‰ °C µ(마이크로) Å °(도) ′(분) ″(초) Α α Β β Γ γ Δ δ Ε ε Ζ ζ Η η Θ θ Ι ι Κ κ Λ λ Μ μ(뮤) Ν ν Ξ ξ Ο ο Π π Ρ ρ Σ σ ς Τ τ Υ υ Φ φ Χ χ Ψ ψ Ω ω · Ά ά Έ έ Ή ή Ί ί Ό ό Ύ ύ Ώ ώ · Ϊ ϊ Ϋ ϋ · ΐ ΰ Æ æ Đ(D with stroke) đ Ð(eth) ð ı Ł ł Ø ø Œ œ ß Þ þ · Á á Ć ć É é Í í Ĺ ĺ Ḿ ḿ Ń ń Ó ó Ŕ ŕ Ś ś Ú ú Ý ý Ź ź · À à È è Ì ì Ǹ ǹ Ò ò Ù ù · İ Ż ż ·  â Ĉ ĉ Ê ê Ĝ ĝ Ĥ ĥ Î î Ĵ ĵ Ô ô Ŝ ŝ Û û · Ä ä Ë ë Ï ï Ö ö Ü ü Ÿ ÿ · ǘ ǜ ǚ ǖ · caron/háček: Ǎ ǎ Č č Ď ď Ě ě Ǐ ǐ Ľ ľ Ň ň Ǒ ǒ Ř ř Š š Ť ť Ǔ ǔ Ž ž · breve: Ă ă Ğ ğ Ŏ ŏ Ŭ ŭ · Ā ā Ē ē Ī ī Ō ō Ū ū · à ã Ñ ñ Õ õ · Å å Ů ů · Ą ą Ę ę · Ç ç Ş ş Ţ ţ · Ő ő Ű ű · Ș ș Ț ț 이 문서에서 사용한 틀: 틀:Oiint (편집) 틀:Skin (원본 보기) (준보호됨)틀:TeX (편집) 틀:각주 (원본 보기) (준보호됨)틀:둘러보기 상자 (원본 보기) (보호됨)틀:둘러보기 상자/핵심 (원본 보기) (보호됨)틀:리브레 위키 도움말 (편집) 틀:주석 (편집) 틀:참고 (원본 보기) (준보호됨)틀:틀바 (원본 보기) (준보호됨)