•  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
r16 vs r17
11
[[분류:알파위키의 도움말]]
2
[include(틀:회원 수정2)]
32
[include(틀:상위 문서, top1=알파위키:문법 도움말/심화)]
4
[include(틀:다중 토론 중, 토론주소=OverconfidentSpuriousNewWave, 토론사유=문법 도움말 최신화)]
53
[include(틀:알파위키)]
64
[include(틀:알파위키 도움말)]
75
[목차]
86
== 개요 ==
9
[[TeX]]을 이용한 [[수식]] 입력을 지원합니다. [[https://www.codecogs.com/latex/eqneditor.php|이곳]]에서 연습이 가능합니다. 이 문법 가이드에 없는 수식 입력 방법은 [[https://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:TeX_%EB%AC%B8%EB%B2%95|이곳]]을 참하십시오.
10
※'''[주의]''' [[모니위키]]에서 사용했던 {{{$ TeX $}}} 형태는 지원하지 않습니다.
11
※'''[주의2]''' {{{<math>...</math>}}}가 [[레거시]] 문법으로 남아 있으나 문법 내에서 다음과 같이 줄바꿈을 사용하는 경우 출력에 오류가 나며 후술할 경제적인 방향으로의 수식 작성을 위하여 사용을 권장하지 않습니다. 단, 토론이나 각주 내에서는 {{{[math(...)]}}}는 정상작동하지 않으므로 {{{<math>...</math>}}} 문법을 사용해야 합니다.
12
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''입력''' || '''출력''' ||
13
||{{{[math(}}}[br]{{{\begin{matrix}​}}}[br]{{{a & b \\}}}[br]{{{c & d}}}[br]{{{\end{matrix}​}}}[br]{{{)]}}} || [math(\begin{matrix} a & b \\ c & d\end{matrix})] ||
14
||{{{<math>}}}[br]{{{\begin{matrix}​}}}[br]{{{a & b \\}}}[br]{{{c & d}}}[br]{{{\end{matrix}}}}[br]{{{</math>}}} ||<math>
7
* 본 문서는 알파위키 문법 도움말 문서입니다. 본 문서를 편집하실 때 가급적 높임말을 사용하여 주십시오. 취소선 기능은 불가피할 때가 아니면, 장난식으로는 사용하지 않기 바랍니다.
8
9
알파위키는 [[TeX]]을 이용한 [[수식]] 입력을 지원합니다. [[https://editor.codecogs.com/|이곳]]에서 연습이 가능합니다. 이 문법 가이드에 없는 수식 입력 방법은 [[https://ko.wikipedia.org/wiki/위키백과:TeX_문법|이곳]]을 참하십시오.
10
11
[[KaTeX]] 기반으로 구현되므로, [[https://katex.org/docs/supported|여기]]에서 지원하는 기호나 수식을 확인할 수 있습니다.
12
13
'''{{{[math()]}}}''' 형태의 문법을 사용할 것을 권장하며, 레거시 문법인 {{{<math></math>}}}는 지원은 하지만 제약사항이 존재합니다.
14
15
'''[주의1]''' [[모니위키]]에서 사용했던 {{{$ TeX $}}} 형태는 지원하지 않습니다.
16
'''[주의2]''' {{{<math>...</math>}}}가 [[레거시]] 문법으로 남아 있으나 문법 내에서 다음과 같이 줄바꿈을 사용하는 경우 출력에 오류가 나며 후술할 경제적인 방향으로의 수식 작성을 위하여 사용을 권장하지 않습니다. 단, 토론에서는 {{{[math(...)]}}}는 정상작동하지 않으므로 {{{<math>...</math>}}} 문법을 사용해야 합니다.
17
18
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''입력''' || '''출력''' || '''비고''' ||
19
||{{{[math(\begin{matrix} a & b \\ c & d \\ \end{matrix})]
20
}}}||[math(\begin{matrix} a & b \\ c & d \\ \end{matrix})]||권장 문법 ||
21
||{{{[math(
1522
\begin{matrix}
1623
a & b \\
17
c & d
24
c & d \\
1825
\end{matrix}
19
</math> ||
26
)]
27
}}}||[math(
28
\begin{matrix}
29
a & b \\
30
c & d \\
31
\end{matrix}
32
)]||줄바꿈이 있어도 문제 없음. ||
33
||{{{<math>\begin{matrix} a & b \\ c & d \\ \end{matrix}</math>
34
}}}||<math>\begin{matrix} a & b \\ c & d \\ \end{matrix}</math>||레거시 문법은 한줄인 경우는 문제 없음 ||
35
||{{{<math>
36
\begin{matrix}
37
a & b \\
38
c & d \\
39
\end{matrix}
40
</math>
41
}}}||<bgcolor=#eaeaea,#191919><math>
42
\begin{matrix}
43
a & b \\
44
c & d \\
45
\end{matrix}
46
</math>||<bgcolor=#eaeaea,#191919>'''[주의2]''' 레거시 문법에서 줄바꿈이 있으면 문제 발생 ||
2047
2148
== 숙지 사항 ==
22
기본 커맨드 {{{[math(내용)]}}}를 이용해서 입력합니다.
23
* {{{[math(}}}{{{#red y=ax+b}}}{{{)]}}} [math(\Rightarrow\,\color{red}y=ax+b)]
49
기본 커맨드 {{{[math(내용)]}}}를 이용해서 입력합니다. 이후 나오는 모든 내용은 그 내용을 {{{[math[(내용)]]}}}의 "'''{{{#green 내용}}}'''" 부분에 넣어주시기 바랍니다.
50
* {{{[math(}}}{{{#green y=ax+b}}}{{{)]}}} [math(\Rightarrow\,\color{green}y=ax+b)]
2451
'''수식 모드'''라 불리는 이 커맨드 내에서는 수식을 출력하는 데에 최적화되어있으며 별도의 공백 문법을 쓰지 않는 한 공백을 출력할 수 없기 때문에 문장을 쓰는 데에는 적합하지 않습니다. 문장 입력은 '''[[#텍스트 모드|텍스트 모드]]''' 이용을 권장합니다(항목 참조). 알파위키의 수식 입력법은 '''수식 모드 내에서 텍스트 모드를 일시적으로 활성화하는 방식으로 사용'''하며 기본적으로는 수식 모드입니다.
2552
* {{{This is not suitable to write text}}} [math(\Rightarrow This is not suitable to write text)]
2653
아라비아 숫자, 로마자, 아래 표의 기호를 제외한 각종 기호는 그대로 입력합니다. 다음 기호들은 단순히 알파위키 수식 모드에서 출력을 지원하지 않거나 TeX내에서 특별한 기능을 담당하는 커맨드이기 때문에 기호 자체를 출력하려면 별도의 입력 방법을 써야 합니다.
......
2956
|| # || {{{\def}}} 문법 내에서 인수 출력에 사용 || {{{\#}}} || [math(\#)] ||
3057
|| $ || 없음[* 원래는 TeX에서 수식 커맨드의 양끝을 $로 감싸서 텍스트 모드와 수식 모드를 구분짓는 데에 쓰이나 알파위키에서는 별도의 커맨드가 존재하므로 기능하지 않게 되었습니다.] || {{{\$}}} || [math(\$)] ||
3158
|| & || {{{\begin}}}, {{{\end}}} 문법 내에서 단 생성 || {{{\&}}} || [math(\&)] ||
32
|| % || % 이후의 내용 출력 무효화 || {{{\%}}} || [math(\%)] ||
59
|| % || % 이후의 내용 [[각주|주석]] 처리 || {{{\%}}} || [math(\%)] ||
3360
|| ^ || 위 첨자 문법 || {{{^\wedge}}} || [math(^\wedge)] ||
3461
|| _ || 아래 첨자 문법 || {{{\_}}} || [math(\_)] ||
3562
|| { ||<|2> 문법 적용 범위 설정 || {{{\{}}} || [math(\{)] ||
3663
|| } || {{{\}​}}} || [math(\})] ||
3764
|| ~ || 공백 || {{{\sim}}} || [math(\sim)] ||
3865
|| \\ || 각종 문법 시작 커맨드[br]공백[* {{{\}}}로 공백을 출력하기 위해서는 {{{\}}} 이후에 반각 공백 {{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}을 넣어야 합니다.] || {{{\backslash}}} || [math(\backslash)] ||
39
수식 모드 내에서의 개행은 개행 문법 {{{\\}}}를 이용합니다.
40
* {{{ABC\\abc}}} [math(\Rightarrow ABC\\abc)]
66
'''한글 폰트는 지원하지 않으며''' 알파위키의 문서를 출력하는 애플리케이션의 디폴트 폰트로 출력되므로 '''TeX에서의 한글의 사용은 권장되지 않습니다.'''[* 달리 표현하자면 사용하는 웹 브라우저 혹은 앱의 설정에 따라 '''출력이 달라질 도 있음'''을 의미합니다. 반면 로마자, 그리스 문자 등은 사용 기기에 상관 없이 항상 출력이 일정합니다.] 크롬 브라우저를 예시로 한글의 디폴트 폰트는 다음과 같습니다.
67
* 로만체, 로만 볼드, 이탤릭: Serif폰트[* 따라서, 이를테면 Serif폰트를 휴먼매직체(Magic R)로 설정하면 세 폰트가 휴먼매직체로 출력됩니다.]
68
* 산세리프, 타자기: 표준 폰트[* 역시 마찬가지로 표준 폰트를 특정 한글 폰트로 변경하면 산세리프, 타자기로 설정했음에도 표준 폰트로 출력됩니다.]
69
식 모드 내에서의 개행은 개행 문법 {{{\\}}}를 이용합니다.[* 아래 예시에서는 해당 명령어를 그대로 적용해서 출력 시[br]{{{ABC\\abc}}} [math(\Rightarrow ABC\\abc)][br]처럼 일반 텍스트와 섞인 꼴로 나타나기에 부득이하게 aligned 행렬 문법을 병기하였음을 밝힙니다.]
70
* {{{ABC\\abc}}} [math(\Rightarrow \begin{aligned}&ABC\\&abc\end{aligned})]
4171
문법을 적용할 내용이 문자로 시작하며 중괄호로 감싸지 않는 경우, 문법과 내용을 구분 짓기 위해 공백({{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}})을 반드시 넣어야 합니다. 내용이 숫자나 기호로 시작할 경우 공백이 필요 없지만, 수식 문법 편집 시의 가독성을 위해 적절하게 공백을 넣는 것을 권장합니다.
4272
* {{{\sqrt2}}} [math(\Rightarrow\sqrt2)]
4373
* {{{\displaystyle\sum}}}{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}{{{a_n}}} [math(\Rightarrow\displaystyle\sum a_n)]
......
5686
문법 이후의 모든 글자에 적용되기 때문에 복수의 글자로 구성된 내용이라 하더라도 중괄호로 감쌀 필요가 없습니다. 단, [[#수식 색상|색상 문법]]처럼 수식 일부에만 적용하고 싶을 때에는 '''해당 문법과 내용 전체를 중괄호로 감싸야 합니다'''.
5787
* [math({\color{red}\rm arccsc}\,x \Leftarrow)] {{{#red {}}}{{{\rm arccsc}}}{{{#red }​}}}{{{\,x}}}
5888
* [math(\dfrac{{\color{red}\rm d}y}{{\color{red}\rm d}x} \Leftarrow)] {{{\dfrac{}}}{{{#red {}}}{{{\rm d}}}{{{#red }​}}}{{{y}{}}}{{{#red {}}}{{{\rm d}}}{{{#red }​}}}{{{x}​}}}
89
90
=== 속성 ===
91
특정 기호 또는 함수 이름을 출력하는 문법들은 8종류의 속성(class)으로 구분지어져 있으며 속성에 따라 자동으로 공백이 생성되기도 합니다. 공백이 생기는 구체적인 위치와 크기는 속성 종류에 따라 결정됩니다.
92
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a><|2> '''속성명''' ||<|2> '''특징''' ||<-2> '''예시''' ||
93
||<rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' ||
94
|| 일반 ||<|3> 공백 없음[br] || [math(a\mathord{\color{red}/}b)] ||{{{a}}}{{{#red /}}}{{{b}}} ||
95
|| 여는 괄호 || [math(a\mathopen{\color{red}(}b) )] ||{{{a}}}{{{#red (}}}{{{b)}}} ||
96
|| 닫는 괄호 || [math((a\mathclose{\color{red})}b)] ||{{{(a}}}{{{#red )}}}{{{b}}} ||
97
|| 구두점 || 기호 오른쪽에 작은 공백 삽입 || [math(a\mathpunct{\color{red},}b)][br][math(a\mathpunct{\color{red};}b)] ||{{{a}}}{{{#red ,}}}{{{b}}}[br]{{{a}}}{{{#red ;}}}{{{b}}} ||
98
|| 대형 연산자 || 기호 양쪽에 큰 공백 삽입[br][[알파위키:문법 도움말/심화/TeX#첨자 위치 문법|첨자 위치 문법]]을 이용하여 오른쪽 위 아래 첨자의 위치가 상하 위치로 이동 || [math(a\mathop{\color{red}\sum}b)] ||{{{a}}}{{{#red \\sum}}}{{{ b}}} ||
99
|| 내부 수식 ||<|2> 기호 양쪽에 작은 공백 삽입 || [math(a\mathinner{\color{red}\left(b\right)}c)] ||{{{a}}}{{{#red \\left(b\\right)}}}{{{c}}} ||
100
|| 이항 연산 기호 || [math(a\mathbin{\color{red}+}b)][br][math(a\mathbin{\color{red}-}b)][br][math(a\mathbin{\color{red}\cup}b)] ||{{{a}}}{{{#red +}}}{{{b}}}[br]{{{a}}}{{{#red -}}}{{{b}}}[br]{{{a}}}{{{#red \\cup}}}{{{ b}}} ||
101
|| 이항 관계 기호 || 기호 양쪽에 큰 공백 삽입 || [math(a\mathrel{\color{red}=}b)] ||{{{a}}}{{{#red =}}}{{{b}}} ||
102
103
속성에 따른 성질은 중괄호 문법 양끝에서 무효화됩니다. 아래 예시에서 [math(\sum)]와 [math(a)], [math(b)] 사이의 공백을 비교하여 보십시오.
104
* [math(a{\color{blue}\sum b} \Rightarrow)] {{{a}}}{{{#red {}}}{{{\color{blue}\sum b}}}{{{#red }​}}}
105
[math(a\sum b \Rightarrow)] {{{a\sum b}}}
106
107
==== 속성 재지정 문법 ====
108
속성은 각종 일시 적용 문법을 이용하여 재지정할 수 있습니다.
109
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a><|2> '''속성명[br]문법''' ||<-2> '''예시 비교''' ||<|2> '''재지정된 속성''' ||
110
||<rowbgcolor=#eaeaea,#33353a> '''속성 재지정 문법[br]통상 문법''' || '''속성 재지정 출력[br]통상 출력''' ||
111
|| 일반[br]{{{\mathord}}}[br]{{{{}​}}} ||{{{a}}}{{{#red \\mathord\\sum}}}{{{b}}}[br]{{{a}}}{{{#red {\\sum}​}}}{{{b}}}[br]{{{a}}}{{{#blue \\sum}}}{{{b}}} || [math(a\mathord{\color{red}\sum}b \\ a{\color{red}\sum}b \\ a\mathop{\color{blue}\sum}b)] || 대형 연산자 → 일반 ||
112
|| 여는 괄호[br]{{{\mathopen}}} ||{{{a}}}{{{#red \\mathopen{\\left(\\right)}​}}}{{{b}}}[br]{{{a}}}{{{#blue \\left(\\right)}}}{{{b}}} || [math(a\mathopen{\color{red}\left(\right)}b \\ a\mathinner{\color{blue}\left(\right)}b)] || 내부 수식 → 여는 괄호 ||
113
|| 닫는 괄호[br]{{{\mathclose}}} ||{{{a}}}{{{#red \\mathclose+}}}{{{b}}}[br]{{{a}}}{{{#blue +}}}{{{b}}} || [math(a\mathclose{\color{red}+}b \\ a\mathbin{\color{blue}+}b)] || 이항 연산 기호 → 닫는 괄호 ||
114
|| 구두점[br]{{{\mathpunct}}} ||{{{a}}}{{{#red \\mathpunct\\cup }}}{{{b}}}[br]{{{a}}}{{{#blue \\cup }}}{{{b}}} || [math(a\mathpunct{\color{red}\cup} b \\ a\mathbin{\color{blue}\cup}b)] || 이상 연산 기호 → 구두점 ||
115
|| 대형 연산자[br]{{{\mathop}}} ||{{{a}}}{{{#red \\mathop/}}}{{{b}}}[br]{{{a}}}{{{#blue /}}}{{{b}}} || [math(a\mathop{\color{red}/}b \\ a\mathord{\color{blue}/}b)] || 일반 → 대형 연산자 ||
116
|| 내부 수식[br]{{{\mathinner}}} ||{{{a}}}{{{#red \\mathinner t}}}{{{b}}}[br]{{{a}}}{{{#blue t}}}{{{b}}} || [math(a\mathinner{\color{red}t}b \\ a\mathord{\color{blue}t}b)] || 일반 → 내부 수식 ||
117
|| 이항 연산 기호[br]{{{\mathbin}}} ||{{{a}}}{{{#red \\mathbin=}}}{{{b}}}[br]{{{a}}}{{{#blue =}}}{{{b}}} || [math(a\mathbin{\color{red}=}b \\ a\mathrel{\color{blue}=}b)] || 이항 관계 기호 → 이항 연산 기호 ||
118
|| 이항 관계 기호[br]{{{\mathrel}}} ||{{{a}}}{{{#red \\mathrel.}}}{{{b}}}[br]{{{a}}}{{{#blue .}}}{{{b}}} || [math(a\mathrel{\color{red}.}b \\ a\mathord{\color{blue}.}b)] || 일반 → 이항 관계 기호 ||
119
120
속성 재지정 문법은 다음과 같은 경우에 활용할 수 있습니다.
121
* [math(123,456,789 \Leftarrow)] {{{123,456,789}}}[br][math(123{,}456{,}789 \Leftarrow)] {{{123}}}{{{#red {,}​}}}{{{456}}}{{{#red {,}​}}}{{{789}}}
122
* [math(f\left(\dfrac 12\right) \Leftarrow)] {{{f\left(\dfrac 12\right)}}}[br][math(f{\left(\dfrac 12\right)} \Leftarrow)] {{{f}}}{{{#red {}}}{{{\left(\dfrac 12\right)}}}{{{#red }​}}}
123
59124
== 텍스트 모드 ==
60
'ab12+-'를 예로 아래 표에 정리한 문법을 이용하여 단어나 문장을 쓰는데 최적화 되어있는 텍스트 모드를 적용할 수 있습니다. 이 문법 안에서는 '''수식을 출력할 수 없으며''' 아래와 같이 출력 결과에서 에러가 납니다.
125
'ab12+-'를 예로 아래 표에 정리한 문법을 이용하여 단어나 문장을 쓰는데 최적화 되어있는 텍스트 모드를 적용할 수 있습니다. 이 문법 안에서는 '''수식을 출력할 수 없으며''' 아래와 같이 출력 결과에서 에러가 납니다.
61126
* {{{\text{\displaystyle e=\sum_{n=0}^\infty\frac1{n!}}​}}} [math(\Rightarrow)] [math(\text{\displaystyle e=\sum_{n=0}^\infty\frac1{n!}})][* 참고로 수식 모드에서의 정상적인 출력은 [math(\displaystyle e=\sum_{n=0}^\infty\frac1{n!})]입니다.]
127
62128
알파위키의 수식 텍스트 모드에서는 중간 굵기의 로만 폰트(직립체)가 디폴트이기 때문에 {{{\text{}​}}}(디폴트), {{{\textrm{}​}}}(로만), {{{\textmd{}​}}}(중간 굵기), {{{\textup{}​}}}(직립체) 모두 출력이 동일합니다.
63129
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''폰트''' || '''출력''' || '''문법''' ||
64130
|| '''로만''' || [math(\text{ab12+-})] ||{{{\text{ab12+-}​}}}[br]{{{\textrm{ab12+-}​}}}[br]{{{\textmd{ab12+-}​}}}[br]{{{\textup{ab12+-}​}}} ||
......
67133
|| '''산세리프''' || [math(\textsf{ab12+-})] ||{{{\textsf{ab12+-}​}}} ||
68134
|| '''타자기''' || [math(\texttt{ab12+-})] ||{{{\texttt{ab12+-}​}}} ||
69135
'''개행 문법({{{\\}}}) 역시 무시'''[* 당연히 알파위키의 {{{[br]}}}매크로도 적용되지 않으며 엔터 키를 이용한 직접 개행 역시 먹히지 않습니다.]되므로 번거롭지만 개행을 하는 지점에서 텍스트 모드를 종료하고 수식 모드에서 개행을 한 뒤 다시 텍스트 모드를 작성해야합니다.
70
* {{{#red \\text{}}}{{{This is text mode}}}{{{#blue \\\​\\\}}}​{{{where the line break is not available.}}}{{{#red }​}}}[br][math(\Rightarrow\text{This is text mode where the line break is not available.})] ({{{+1 ×}}})[br]{{{#red \\text{}}}{{{This is text mode}}}{{{#red }​}}}{{{#blue \\\​\\\}}}​{{{#red \\text{}}}{{{where the line break is not available.}}}{{{#red }​}}}[br][math(\Rightarrow \text{This is text mode}\\\text{where the line break is not available.})] ({{{+1 ○}}})
136
* {{{#red \\text{}}}{{{This is text mode}}}{{{#blue \\\​\\\}}}​{{{where the line break is not available.}}}{{{#red }​}}}[br][math(\Rightarrow\text{This is text mode where the line break is not available.})] ({{{+1 ×}}})[br]{{{#red \\text{}}}{{{This is text mode}}}{{{#red }​}}}{{{#blue \\\​\\\}}}​{{{#red \\text{}}}{{{where the line break is not available.}}}{{{#red }​}}}[br][math(\Rightarrow \text{This is text mode}\\\text{where the line break is not available.})] ({{{+1 ○}}})
71137
단, 텍스트 모드 내에서 [[#수식 폰트|수식 폰트의 일괄 적용 문법]], [[#수식 색상|색상 문법]], [[#수식 크기|크기 문법]] 및 [[#공백|공백 문법]]은 적용할 수 있습니다.
72138
* [math(\text{\tt This is }\text{\LARGE text }\text{\tiny\color{purple}mode} \Leftarrow)] {{{\text{}}}{{{#red \\tt }}}{{{This is }\text{}}}{{{#blue \\LARGE }}}{{{text }\text{}}}{{{#blue \\tiny}}}{{{#green \\color{purple}​}}}{{{mode}​}}}
73139
수식 모드에서 별도의 문법으로 출력해야했던 #, $, &, %, _, {, }는 텍스트 모드에서도 출력 문법이 동일합니다. ^, ~, \\는 출력하려면 텍스트 모드 내에서 다음과 같이 입력해야 합니다.
......
104170
|| '''위 링''' || [math(\text{\r a})] || {{{\r a}}} ||
105171
106172
== 공백 ==
107
=== 일반 ===
108
수식 모드에서 띄어쓰기를 출력 하려면 별도의 띄어쓰기 문법을 써야 합니다. 아래 표의 두 번째 예처럼 스페이스바를 이용한 단순 반각 공백은 각종 문법을 구분 지어주는 역할을 할 뿐 출력 상으로는 공백 능이 습니다. 문법에서 {{{#!html <span style="background-color: #FF0000">&nbsp;</span>}}}는 출력하고자 할 때 반각 공백이 필수임을 의미합니다.
173
수식 모드에서 띄어쓰기를 출력하려면 별도의 띄어쓰기 문법을 써야 합니다. 아래 표의 두 번째 예처럼 스페이스바를 이용한 단순 반각 공백은 각종 문법을 구분주는 역할을 할 뿐 출력상으로는 띄어쓰 적용되지 않습니다. 문법에서 {{{#!html <span style="background-color: #FF0000">&nbsp;</span>}}}는 출력하고자 할 때 반각 공백이 필수임을 의미합니다.
109174
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' || '''상대 길이'''[br](반각 공백 {{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}} 기준)|| '''비율''' ||
110175
||[math(a\!b)] || {{{a}}}{{{#red \\!}}}{{{b}}} || [math(-\dfrac23)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}|| [math(-6)]||
111176
||[math(ab)] || {{{ab}}}[br]{{{a b}}} || [math(0\,)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}|| [math(0)]||
......
118183
{{{\!}}}는 문자 사이의 간격을 줄여주는 문법으로, 해당 문법을 반복해서 쓰면 두 문자를 겹치게 나타내는 것도 가능합니다.
119184
* {{{p}}}{{{#red \\!\\!\\!}}}{{{/}}}[math(\Rightarrow p\!\!\!/)][* 해당 표현은 {{{\cancel}}} 문법이 존재하므로 이쪽을 권장합니다.]
120185
또한 복수의 공백을 중복 조합함으로써 위 표에 없는 상대 길이를 만들어낼 수도 있습니다.
121
* [math(a\!\!\!\!\;~b \Leftarrow)] {{{a}}}{{{#red \\!\\!\\!\\!\\;~}}}{{{b}}} (상대 길이 [math(-\dfrac59)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}})
122
* [math(a\!~b \Leftarrow)] {{{a}}}{{{#red \\!~}}}{{{b}}} (상대 길이 [math(\dfrac13)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}})
186
* [math(a\!\!\!\!\;~b \Leftarrow)] {{{a}}}{{{#red \\!\\!\\!\\!\\;~}}}{{{b}}} (상대 길이 [math(-\dfrac59)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}, 비율 [math(-5)])
187
* [math(a\!\!\!\:~b \Leftarrow)] {{{a}}}{{{#red \\!\\!\\!\\:~}}}{{{b}}} (상대 길이 [math(-\dfrac19)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}, 비율 [math(-1)])
188
* [math(a\!\!\!\;~b \Leftarrow)] {{{a}}}{{{#red \\!\\!\\!\\;~}}}{{{b}}} (상대 길이 [math(\dfrac19)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}, 비율 [math(1)])
189
* [math(a\!~b \Leftarrow)] {{{a}}}{{{#red \\!~}}}{{{b}}} (상대 길이 [math(\dfrac13)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}, 비율 [math(3)])
123190
124
=== 속성 재지정 ===
125
각 명령어는 속성(class)이 있으며 속성에 따라 자동으로 공백이 생성됩니다. 속성에 따라 공백 생성의 여부와 공백의 크기가 결정됩니다.
126
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a><|2> '''속성 번호''' ||<|2> '''속성명''' ||<-2> '''예시''' ||
127
||<rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' ||
128
|| 0 || 일반 || [math(a\mathord{\color{red}/}b)] ||{{{a}}}{{{#red /}}}{{{b}}} ||
129
|| 1 || 대형 연산자 || [math(a\mathop{\color{red}\sum}b)] ||{{{a}}}{{{#red \\sum}}}{{{ b}}} ||
130
||<|3> 2 ||<|3> 이항 연산 기호 || [math(a\mathbin{\color{red}+}b)] ||{{{a}}}{{{#red +}}}{{{b}}} ||
131
|| [math(a\mathbin{\color{red}-}b)] ||{{{a}}}{{{#red -}}}{{{b}}} ||
132
|| [math(a\mathbin{\color{red}\cup}b)] ||{{{a}}}{{{#red \\cup}}}{{{ b}}} ||
133
|| 3 || 관계 || [math(a\mathrel{\color{red}=}b)] ||{{{a}}}{{{#red =}}}{{{b}}} ||
134
|| 4 || 열기 || [math(a\mathopen{\color{red}(}b) )] ||{{{a}}}{{{#red (}}}{{{b)}}} ||
135
|| 5 || 닫기 || [math((a\mathclose{\color{red})}b)] ||{{{(a}}}{{{#red )}}}{{{b}}} ||
136
|| 6 || 구두점 || [math(a\mathpunct{\color{red},}b)] ||{{{a}}}{{{#red ,}}}{{{b}}} ||
137
|| 7 || variable family || [math(a\mathord{\color{red}t}b)] ||{{{a}}}{{{#red t}}}{{{b}}} ||
138
|| 8 || eighth classification || [math(a\mathinner{\color{red}\left(b\right)}c )] ||{{{a}}}{{{#red \\left(b\\right)}}}{{{c}}} ||
139191
140
속성이 이항 연산 기호와 관계인 명령어는 양끝에 공백생기고, 일열기, 닫기 속성명령어공백생기지 않습니다. 구두점 속성의 경우 뒤쪽 공백생깁니다.
192
== 수식 폰트 ==
193
'ab12+-'를 예시로 다음과 폰트를 적용할 수 있는데, 일시 적용 문법'''[[#일괄 적용 문법|일괄 적용 문법]]'''이 모두 존재합니다. 주사항으로서, 폰트 문법 내에서개행 문법({{{\\}}})먹히지 않습니다. 개행을 적용할 경우 해당 문법이 적용되는 범위를 중괄호로 감싸서 효과를 끝내고 그 바깥 개행하며 개행 후에 적용하고자 했던 폰트 문법을 다시 적용하는 방식으로 써야 합니다.
194
* {{{\bf abc }}}{{{#red \\\\}}}{{{ abc}}} [math(\Rightarrow \bf abc \\ abc)] (×)
195
{{{#blue {\\bf }}}{{{abc}}}{{{#blue }​}}}{{{#red \\\\}}}{{{#blue {\\bf }}}{{{abc}}}{{{#blue }​}}} [math(\Rightarrow \begin{aligned} {\bf abc}\\{\bf abc}\end{aligned})] (○)
196
* {{{\mathsf{abc}}}{{{#red \\\\}}}{{{abc}​}}} [math(\Rightarrow \mathsf{abc\\abc})] (×)
197
{{{#blue \\mathsf{}}}{{{abc}}}{{{#blue }​}}}{{{#red \\\\}}}{{{#blue \\mathsf{}}}{{{abc}}}{{{#blue }​}}} [math(\Rightarrow \begin{aligned} \mathsf{abc}\\ \mathsf{abc}\end{aligned})] (○)
141198
142
* [math(a{\color{red}\sum b} \Rightarrow)] {{{a}}}{{{#red {}}}{{{\color{red}\sum b}}}{{{#red }​}}}
143
144
속성에 따른 성질은 중괄호 문법 양끝에서 무효화됩니다. [math(\sum)]와 [math(a)], [math(b)] 사이의 공백을 비교하여 보십시오.
145
146
속성은 일시 적용 문법인 {{{\mathord}}}(일반), {{{\mathbin}}}(이항 연산 기호) {{{\mathop}}}(대형 연산자), {{{\mathrel}}}(관계), {{{\mathpunct}}}(구두점), {{{\mathopen}}}(열기), {{{\mathclose}}}(닫기), {{{\mathinner}}}(8th classification)문법들을 이용하여 재지정할 수 있습니다.
147
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' || '''재지정된 속성''' ||
148
|| [math(a\mathop{\color{red}/}b)] ||{{{a}}}{{{#red \\mathop/}}}{{{b}}} || 대형 연산자 ||
149
|| [math(a\mathord{\color{red}\sum}b)] ||{{{a}}}{{{#red \\mathord\\sum}}}{{{b}}} || 일반 ||
150
|| [math(a\mathopen{\color{red}+}b)] ||{{{a}}}{{{#red \\mathopen+}}}{{{b}}} || 열기 ||
151
|| [math(a\mathclose{\color{red}-}b)] ||{{{a}}}{{{#red \\mathclose-}}}{{{b}}} || 닫기 ||
152
|| [math(a\mathpunct{\color{red}\cup} b)] ||{{{a}}}{{{#red \\mathpunct{\\cup}​}}}{{{b}}} || 구두점 ||
153
|| [math(a\mathbin{\color{red}=}b)] ||{{{a}}}{{{#red \\mathbin=}}}{{{b}}} || 이항 연산자 ||
154
|| [math(a\mathinner{\color{red}t}b)] ||{{{a}}}{{{#red \\mathinner t}}}{{{b}}} || 8th classification ||
155
156
속성 재지정 문법은 다음과 같은 경우에 활용할 수 있습니다.
157
* [math(123,456,789 \Leftarrow)] {{{123,456,789}}}[br][math(123\mathord,456\mathord,789 \Leftarrow)] {{{123}}}{{{#red \\mathord,}}}{{{456}}}{{{#red \\mathord,}}}{{{789}}}
158
* [math(f\left(\dfrac 12\right) \Leftarrow)] {{{f\left(\dfrac 12\right)}}}[br][math(f\mathord{\left(\dfrac 12\right)} \Leftarrow)] {{{f}}}{{{#red \\mathord}}}{{{{\left(\dfrac 12\right)}​}}}
159
160
== 수식 폰트 ==
161
'ab12+-'를 예시로 다음과 같이 폰트를 적용할 수 있는데, 일시 적용 문법과 '''[[#일괄 적용 문법|일괄 적용 문법]]'''이 모두 존재합니다.
162199
* '''일괄 적용 문법'''
163200
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''폰트''' || '''출력''' || '''문법''' ||
164201
|| '''기본''' || [math(ab12+-)] ||{{{ab12+-}}} ||
......
169206
|| '''타자기체''' || [math(\tt ab12+-)] ||{{{\tt ab12+-}}} ||
170207
* '''일시 적용 문법'''
171208
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''폰트''' || '''출력''' || '''문법''' ||
172
|| '''로만''' || [math(\mathrm{ab12+-})] ||{{{\mathrm{ab12+-}​}}} ||
173
|| '''로만 볼드''' || [math(\mathbf{ab12+-})] ||{{{\mathbf{ab12+-}​}}} ||
209
|| '''로만''' || [math(\mathrm{ab12+-})] ||{{{\mathrm{ab12+-}​}}}[br]{{{\operatorname{ab12+-}}}}[* {{{\operatorname}}} 문법은 {{{\mathrm}}}과 미묘한 차이가 있습니다. {{{\mathrm}}}은 일반적인 경우, {{{\operatorname}}}은 함수 이름자에 사용하는 경우에 적합합니다.[[https://tex.stackexchange.com/questions/48459/whats-the-difference-between-mathrm-and-operatorname/48463|#]]] ||
210
|| '''로만 볼드''' || [math(\bold{ab12+-})][br][math(\mathbf{ab12+-})] ||{{{\bold{ab12+-}​}}}[br]{{{\mathbf{ab12+-}​}}} ||
174211
|| '''이탤릭''' || [math(\mathit{ab12+-})] ||{{{\mathit{ab12+-}​}}} ||
175212
|| '''산세리프''' || [math(\mathsf{ab12+-})] ||{{{\mathsf{ab12+-}​}}} ||
176213
|| '''타자기체''' || [math(\mathtt{ab12+-})] ||{{{\mathtt{ab12+-}​}}} ||
......
180217
|| '''칠판체''' || [math(\mathbb{ABCDEFG})] ||{{{\mathbb{ABCDEFG}​}}} ||
181218
|| '''흘림체''' || [math(\mathcal{ABCDEFG})] ||{{{\mathcal{ABCDEFG}​}}} ||
182219
|| '''필기체''' || [math(\mathscr{ABCDEFG})] ||{{{\mathscr{ABCDEFG}​}}} ||
183
각종 수식을 포함한 전체를 볼드체로 나타내고 싶은 경우 {{{\boldsymbol}}} 문법을 사용합니다.
184
* [math(f(x)=x^2+4x+2 \Leftarrow)] {{{f(x)=x^2+4x+2}}}[br][math(\boldsymbol{f(x)=x^2+4x+2} \Leftarrow)] {{{#red \\boldsymbol{}}}{{{f(x)=x^2+4x+2}}}{{{#red }​}}}
185
220
기본 서체를 유지채로 전체를 볼드체로 나타내고 싶은 경우 {{{\bm}}} 또는 {{{\boldsymbol}}} 문법을 사용합니다.
221
* [math(f(x)=x^2+4x+2 \Leftarrow)] {{{f(x)=x^2+4x+2}}}[br][math(\bm{f(x)=x^2+4x+2} \Leftarrow)] {{{#red \\bm{}}}{{{f(x)=x^2+4x+2}}}{{{#red }​}}}
222
다른 서체를 적용하면서 전체를 볼드체로 나타내고 싶은 경우 {{{\pmb}}}[* poor man's bold의 준말로 같은 글자를 3번 겹쳐 써서 볼드체로 보이게끔 하는 효과입니다.] 문법를 사용합니다. 아래 첫 번째 예시는 일괄 산세리프체 + 볼드체이고 두 번째는 흑자체 + 볼드체입니다.
223
* [math({\bf L} = {\sf\pmb I}\bm\omega \Leftarrow)] {{{{\bf L} = {\sf}}}{{{#red \\pmb }}}{{{I}\bm\omega}}}
224
* [math(\mathfrak{\pmb{ABC}} \Leftarrow)] {{{\mathfrak{}}}{{{#red \\pmb{}}}{{{ABC}}}{{{#red }​}}}{{{}​}}}
225
=== 별도 명령어가 있는 폰트 문자 ===
226
특정 폰트로 적용된 수학적 대상은 전용 명령어가 있는 경우가 있습니다.
227
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' || '''설명''' ||
228
|| [math(\Re)] || {{{\Re}}} ||복소수의 실수부 ||
229
|| [math(\Im)] || {{{\Im}}} ||복소수의 허수부 ||
230
|| [math(\wp)] || {{{\wp}}} ||[[바이어슈트라스 타원 함수]] ||
231
|| [math(\hbar)] || {{{\hbar}}} ||디랙 상수 ||
232
|| [math(\partial)] || {{{\partial}}} ||편미분 ||
233
|| [math(\complement)] || {{{\complement}}} ||여집합 ||
186234
== 수식 크기 ==
187235
다음 두 가지 방법을 이용할 수 있으며, 병용하는 것도 가능합니다.
188236
* 수식 전체에 [[알파위키]]의 텍스트 크기 설정 방법 적용. 단, 이 방법으로는 분수나 첨자 등 문법 도중의 일부만 바꾸는 것이 불가능합니다.
......
206254
수식의 색상 조절은 {{{\color{색상 이름}내용}}}의 '''[[#일괄 적용 문법|일괄 적용 문법]]'''을 이용합니다.
207255
* [math({\color{blue}ab1}{\color{red}2+-} \Leftarrow)] {{{#red {}}}{{{\color{blue}ab1}}}{{{#red }{}}}{{{\color{red}2+-}}}{{{#red }​}}}
208256
지원하는 색상은 다음과 같습니다.
209
=== CSS 색상명 ===
210257
||<table bgcolor=white><bgcolor=gray> [math(\rm\color{aquamarine}aquamarine)] || [math(\rm\color{black}black)] || [math(\rm\color{blue}blue)] || [math(\rm\color{blueviolet}blueviolet)] ||
211258
|| [math(\rm\color{brown}brown)] || [math(\rm\color{cadetblue}cadetblue)] || [math(\rm\color{cornflowerblue}cornflowerblue)] ||<bgcolor=gray> [math(\rm\color{cyan}cyan)] ||
212259
|| [math(\rm\color{darkorchid}darkorchid)] || [math(\rm\color{forestgreen}forestgreen)] || [math(\rm\color{fuchsia}fuchsia)] || [math(\rm\color{goldenrod}goldenrod)] ||
......
238285
전부 일시 적용 문법으로 중괄호를 이용하여 복수의 문자에 적용할 수도 있으나 {{{wide}}}가 붙은 문법을 제외한 것은 기호의 길이가 늘어나지 않으며 가운데 정렬로 출력되는 점에 주의하십시오.
239286
* {{{\acute{aa}​}}} [math(\Rightarrow\acute{aa})]
240287
특히 분음 기호 첨가에 따라 점이 삭제되는 [math(i)], [math(j)]의 경우 {{{\imath}}} [math(\Rightarrow\imath)], {{{\jmath}}} [math(\Rightarrow\jmath)]를 이용합니다.
241
* {{{\hat\imath}}} [math(\Rightarrow\hat\imath)], {{{\acute\jmath}}} [math(\Rightarrow\acute\jmath)]
288
* {{{\hat{\imath}}}} [math(\Rightarrow\hat{\imath})], {{{\acute{\jmath}}}} [math(\Rightarrow\acute{\jmath})]
242289
기타 분음 기호는 다음과 같은 대체 표현을 쓸 수 있습니다. 특히 호의 경우 문자 길이에 따라 길게 늘어나지 않기 때문에 폰트 크기 문법을 이용하여 글자수에 따라 수동으로 조절해야합니다.
243290
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' ||
244291
|| [math(\overset\mathbf{...}x)] || {{{\overset\mathbf{...}x}}} ||
245
|| [math(\overset{\Large\frown}{AB})][br][math(\overset{\huge\frown}{ABC})] || {{{\overset{\Large\frown}{AB}}}}[br][br]{{{\overset{\huge\frown}{ABC}}}} ||
292
|| [math(~~\:\overset{\Large\mathclap\frown}{\phantom{\scriptsize{;}\!}}\clap{AB}~~\:)][br][math(~~\;\;\overset{\huge\mathclap\frown}{\phantom{\scriptsize{;}\!}}\clap{ABC}~~\;\;)] || {{{~~\:\overset{\Large\mathclap\frown}{\phantom{\scriptsize;\!}}\clap{AB}~~\:}}}[br][br]{{{~~\;\;\overset{\huge\mathclap\frown}{\phantom{\scriptsize{;}\!}}\clap{ABC}~~\;\;}}} ||
246293
247294
== 그리스 문자, 히브리 문자 ==
248295
[[그리스 문자]] 문서에 나온 각 문자의 영어명을 토대로, 그리스 소문자는 모두 소문자로, 그리스 대문자는 첫 글자만 대문자로 기입하면 됩니다.
249296
* [math(\sigma \Leftarrow)] {{{\sigma}}}, [math(\Sigma \Leftarrow)] {{{\Sigma}}}
250297
그리스 소문자는 이탤릭체로 고정되어있어 텍스트 모드에서처럼 특수 기호 또는 외국어 타자기를 통해 직접 입력해도 '''다른 폰트가 적용되지 않습니다'''.[* 텍스트 모드 로만 폰트({{{\text}}}) 및 텍스트 모드 로만 볼드 폰트({{{\textbf}}}) 상에서 외국어를 직접 입력하는 방식으로 대체할 수는 있습니다.] 대문자 역시 '''대부분이 로만으로 고정'''되어있으나 다음 [math(11)]개 문자에 한하여 '''[[#수식 폰트|수식 폰트의 일괄 적용 문법]]'''을 적용할 수 있습니다. '''기타 대문자는 출력이 사실상 같은 로마자 대문자로 대용'''합니다. 특히 이탤릭 폰트에 한하여, {{{\varGamma}}} [math(\Rightarrow \varGamma)] 처럼 {{{var}}}를 글자 앞에 붙임으로써 개별적으로 적용할 수도 있습니다.
251
* [math(\varGamma)], [math(\varDelta)], [math(\varTheta)], [math(\varLambda)], [math(\varXi)], [math(\varPi)], [math(\varSigma)], [math(\varPhi)], [math(\varUpsilon)], [math(\varOmega)], , [math(\varOmega)]
298
문자별로 출력하면 아래와 같습니다.
299
* 대문자: [math(\Alpha, \Beta, \Gamma, \Delta, \Epsilon, \Zeta, \Eta, \Theta, \Iota, \Kappa, \Lambda, \Mu, \Nu, \Xi, \Omicron, \Pi, \Rho, \Sigma, \Tau, \Upsilon, \Phi, \Chi, \Psi, \Omega )]
300
* 소문자: [math(\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \omicron, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega )]
301
위의 각 문자의 영어명은 다음과 같습니다.
302
* alpha, beta, gamma, delta, epsilon, zeta, eta, theta, iota, kappa, lambda, mu, nu, xi, omicron, pi, rho, sigma, tau, upsilon, phi, chi, psi, omega
303
자세한 내용은 [[그리스 문자]] 문서를 참조하십시오.
304
위의 각 문자 중 일부의 변형은 다음과 같습니다.
305
* 변형: [math(\varGamma)], [math(\varDelta)], [math(\varTheta)], [math(\varLambda)], [math(\varXi)], [math(\varPi)], [math(\varSigma)], [math(\varPhi)], [math(\varUpsilon)], [math(\varPsi)], [math(\varOmega)]
252306
일부 옛글자 및 이형자의 출력도 지원하며 그리스 소문자와 마찬가지로 다른 폰트를 적용할 수 없습니다.
253307
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' || '''비고''' ||
254308
||[math(\digamma)] || {{{\digamma}}} || 옛글자 ||
......
276330
|| '''대형''' || [math(\biggl(a\biggr))], [math(\biggl({V_{\max}}^2\biggr))], [math(\biggl(\dfrac12\biggr))] || {{{#red \\biggl}}}{{{(a}}}{{{#red \\biggr}}}{{{)}}}, {{{#red \\biggl}}}{{{({V_{\max}}^2}}}{{{#red \\biggr}}}{{{)}}}, {{{#red \\biggl}}}{{{(\dfrac12}}}{{{#red \\biggr}}}{{{)}}} || 부정적분 식을 감쌀 때,[br]정적분 계산식[* [math(\left[\dfrac{x^2}2\right]_0^1)] 같은 식]의 대괄호 ||
277331
|| '''초대형''' || [math(\Biggl(a\Biggr))], [math(\Biggl({V_{\max}}^2\Biggr))], [math(\Biggl(\dfrac12\Biggr))] || {{{#red \\Biggl}}}{{{(a}}}{{{#red \\Biggr}}}{{{)}}}, {{{#red \\Biggl}}}{{{({V_{\max}}^2}}}{{{#red \\Biggr}}}{{{)}}}, {{{#red \\Biggl}}}{{{(\dfrac12}}}{{{#red \\Biggr}}}{{{)}}} || 위아래 첨자가 있는 대형 연산자[* [math(\displaystyle \sum_{n=0}^\infty)], [math(\displaystyle \int_a^b)] 등]를 감쌀 때[* 참고로 [math(\displaystyle\int\limits_a^b)]가 포함된 식을 감싸면 '''초대형보다 더 큰 괄호로 출력됩니다.''' 이 크기는 근호 안에 정적분이 있는 식을 감쌌을 때의 크기와 똑같습니다.] ||
278332
|| '''가변형''' || [math(\left(a\right))], [math(\left({V_{\max}}^2\right))], [math(\left(\dfrac12\right))] || {{{#red \\left}}}{{{(a}}}{{{#red \\right}}}{{{)}}}, {{{#red \\left}}}{{{({V_{\max}}^2}}}{{{#red \\right}}}{{{)}}}, {{{#red \\left}}}{{{(\dfrac12}}}{{{#red \\right}}}{{{)}}} || ||
333
가변형 문법은 내부 수식 속성에 속하기 때문에 사용시 좌우로 작은 공백이 삽입되는 특징이 있습니다. 일반 속성으로 재지정하여 공백을 제거하고 싶다면 가변형 문법을 적용한 괄호 전체를 중괄호로 감싸거나 일시 재지정 문법 {{{\mathord}}}를 적용하면 됩니다.([[알파위키:문법 도움말/심화/TeX#속성 재지정 문법|속성 재지정 문법]] 참조)
334
가변형 문법은 분수나 적분, 합의 기호 등 대형 연산자에만 사용할 것을 권합니다. 지수나 루트, 괄호가 본래 있었던 항 등에 처리할 경우 크기가 다른 괄호가 우후죽순 생겨 전체적으로 난잡한 느낌이 들기 때문입니다.
279335
280
가변형 문법은 분수나 적분, 합의 기호 등 대형 연산자에만 사용할 것을 권합니다. 그 이유는 아래와 같습니다.
281
* 괄호 밖으로 공백이 생겨 함수(예를 들어 [math(f(x))]) 등을 입력할 때 함수 문자와 변수 문자 사이에 불필요한 공백이 생깁니다.(해당 예시 참조: [math( f \left( x \right) )])
282
* 지수나 루트, 괄호가 본래 있었던 항 등에 처리할 경우 크기가 다른 괄호가 우후죽순 생겨 전체적으로 난잡한 느낌이 듭니다.
283
284336
크기는 문법 미사용<소형<중형<대형<초대형 순이며 위 표에서 알 수 있듯이 '''가변형 괄호 문법만 내용에 맞춰 세로 폭이 자동으로 조정'''[* 단, 최소 크기는 디폴트인 [math(10\,{\rm pt})]이며 [[#수식 크기|폰트 크기 조절 문법]]의 영향을 받지 않기 때문에 이보다 작게 출력하려면 [[#크기 조절 문법|크기 조절 문법]]을 이용해야 합니다.]되므로 기본적으로는 {{{\left}}}, {{{\right}}} 세트를 이용합니다. [[#정적분 계산|정적분 계산식]]처럼 항상 큰 세로 폭으로 출력하고 싶을 때에는 큰 폭의 괄호를 이용합니다. 특히 대형 괄호의 세로 폭이 대형 연산자의 세로 폭과 동일하므로 {{{\biggl}}}, {{{\biggr}}} 세트를 이용합니다.
285
'''반드시 같은 크기가 세트로 들어가야 하며''' 둘 중 하나라도 누락되거나 다른 크기를 조합하면 출력에서 에러가 납니다.
337
'''가변형은 반드시 {{{\left}}}와 {{{\right}}}가 세트로 들어가야 하며''' 둘 중 하나라도 누락되거나 다른 크기를 조합하면 출력에서 에러가 납니다.
286338
* {{{f}}}{{{#red \\left}}}{{{(x)=x^2}}} [math(\Rightarrow)] [math(f\left(x)=x^2)] ({{{+1 ×}}})
287339
* {{{#red \\left}}}{{{[0,\,1}}}{{{#blue \\biggr}}}{{{]}}} [math(\Rightarrow)] [math(\left[0,\,1\biggr])] ({{{+1 ×}}})
288
다른 크기로 조합해서 출력하려면 같은 크기의 괄호 쓰되 아래 표의 괄호 삭제 기능을 이용하여 한쪽 괄호를 제거하는 방식으로 써야 합니다. 이 때 공백 문법을 통해 간격을 조정해야하며 복잡한데다 번거로우므로 '''이와 같은 표현은 권장하지 않습니다'''.
289
* [math(\left[\!\!\!\!\!\;~\right.0,\,1\biggl.\biggr] \Leftarrow)] {{{\left[}}}{{{#blue \\!\\!\\!\\!\\!\\;~}}}{{{#red \\right.}}}{{{0,\,1}}}{{{#red \\biggl.}}}{{{\biggr]}}}
340
다른 크기로 조합해서 출력하려면 가변형 이외의 괄호 문법을 이용합니다.
341
* [math([0,\,1\biggr] \Leftarrow)] {{{#red [}}}{{{0,\,1}}}{{{#blue \biggr]}}}
290342
단, 괄호의 종류는 변경할 수 있습니다.
291343
* [math({\color{red}\left[\!\!\:\right.}0,\,1{\color{blue}\left.\!\!\!\!\;~\right)} \Leftarrow)] {{{\left}}}{{{#red [}}}{{{0,\,1\right}}}{{{#blue )}}}
292344
알파위키의 수식 모드에서는 다음과 같은 괄호의 출력을 지원합니다.(단, 괄호 문법은 적용하지 않았으며, 대형 연산자를 감쌀 경우 가변 문법을 적용해주시기 바랍니다.)
......
302354
|| '''[[슬래시]]''' || [math({\color{red}/}a{\color{red}\backslash})] || {{{#red /}}}{{{a}}}{{{#red \\backslash}}} ||
303355
|| '''[[화살표]]''' || [math({\color{red}\uparrow}a{\color{red}\Updownarrow})] || {{{#red \\uparrow}}}{{{a}}}{{{#red \\Updownarrow}}} ||
304356
|| '''괄호 삭제'''[br](괄호 문법 전용) || [math(\left.a\right.)] || {{{#red \\left.}}}{{{a}}}{{{#red \\right.}}}[* 가변형뿐만 아니라 다른 {{{\big}}}, {{{\Bigg}}} 등에도 적용됩니다.] ||
305
[[겹화살괄호]]는 지원하지 않으나 홑화살괄호 공백 문법을 이용해서 다음과 같은 대체 표현을 쓸 수 있습니다. 단, 괄호 세로 폭이 클 경우 괄호 문법과 공백을 일일이 적용해야한다는 문제점있습니다.[* 게다가 가변형 초대형 괄호보다 크게 출력되는 경우가 있는만큼, 이 방법으로 표현할 수 없는 수 존재한다는 한계점도 있습니다.]
357
[[겹화살괄호]]는 지원하지 않으나 홑화살괄호, 공백 문법을 이용해서 다음과 같은 대체 표현을 쓸 수 있습니다. 이때 외부에 가변형을 사 경우 내부 홑화살괄호 가변형의 사용 유무에 관계 전체를 중괄호로 감싸야 합니다. 감싸지 않을 경우 외부 가변형 괄호 짝이 맞지 않은 으로 되어 에러가 니다.
306358
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''종류''' || '''출력''' || '''문법''' ||
307
||<|2> '''[[겹화살괄호]]''' || [math({\color{red}\langle\!\!\!\;\langle}a{\color{red}\rangle\!\!\!\;\rangle})] || {{{#red \\langle\\!\\!\\!\\;\\langle}}}{{{a}}}{{{#red \\rangle\\!\\!\\!\\;\\rangle}}} ||
308
|| [math(\biggl<\!\!\!\!\!\!\;\biggr.\left<\dfrac12\right>\biggl.\!\!\!\!\!\!\;\biggr>)] || {{{#red \\biggl<}}}{{{#blue \\!\\!\\!\\!\\!\\!\\;}}}{{{#red \\biggr.}}}{{{#green \\left<}}}{{{\dfrac12}}}{{{#green \\right>}}}{{{#red \\biggl.}}}{{{#blue \\!\\!\\!\\!\\!\\!\\;}}}{{{#red \\biggr>}}} ||
309
359
||<|2> '''[[겹화살괄호]]''' || [math({\color{red}\langle\!}{\color{blue}\langle}a{\color{blue}\rangle}{\color{red}\!\rangle})] || {{{#red \\langle}}}{{{#green \\!}}}{{{#blue {\\langle}}}{{{a}}}{{{#blue \\rangle}​}}}{{{#green \\!}}}{{{#red \\rangle}}} ||
360
|| [math({\color{red}\biggl<\!\!\!}{\color{blue}\biggl<}\dfrac12{\color{blue}\biggr>}{\color{red}\!\!\!\biggr>})] || {{{#red \\left<}}}{{{#green \\!\\!\\!}}}{{{#blue {\\left<}}}{{{\dfrac12}}}{{{#blue \\right>}}}}{{{#green \\!\\!\\!}}}{{{#red \\right>}}} ||
361
가변형 괄호 문법 {{{\left}}}와 {{{\right}}} 사이에 {{{\middle}}}을 사용하여 괄호 크기를 맞출 수 있습니다.
362
* {{{\left\{\dfrac{1}{n}}}}{{{#red \\middle|}}}{{{n\in\mathbb{N}\right\}}}} [math(\Rightarrow \left\{\dfrac{1}{n}\color{red}\middle|\color{default}n\in\mathbb{N}\right\})]
310363
== 대형 연산자 출력 관련 ==
311364
분수, 조합, 적분, 합의 기호 등 대형 연산자의 크기를 조절하는 문법과, 적분, 극한, 합의 기호 등 첨자를 수반하는 연산자의 첨자 위치에 관한 문법이 있습니다.
312365
......
353406
* [math(\displaystyle \sum\nolimits_{\color{red}k=1}^{\color{red}n}a_k \Leftarrow)] {{{\displaystyle \sum}}}{{{#red \\nolimits}}}{{{_{k=1}^n a_k}}}
354407
이 문법은 첨자 표기를 수반하는 연산자들에 한해서만 적용되기 때문에 분수나 조합에 적용하면 설령 첨자가 있다 하더라도 에러가 납니다.
355408
409
== 화살표 문법 ==
410
화살표의 방향에 따라 다음과 같은 종류의 화살표 문법을 사용할 수 있습니다.
411
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
412
||{{{\leftarrow}}}[br]{{{\gets}}} || [math(\leftarrow)] ||
413
||{{{\rightarrow}}}[br]{{{\to}}}[* 극한 등의 표기에서 씁니다.] || [math(\rightarrow)] ||
414
||{{{\leftrightarrow}}} || [math(\leftrightarrow)] ||
415
||{{{\leftleftarrows}}} || [math(\leftleftarrows)] ||
416
||{{{\rightrightarrows}}} || [math(\rightrightarrows)] ||
417
||{{{\leftrightarrows}}} || [math(\leftrightarrows)] ||
418
||{{{\uparrow}}} || [math(\uparrow)] ||
419
||{{{\downarrow}}} || [math(\downarrow)] ||
420
||{{{\updownarrow}}} || [math(\updownarrow)] ||
421
||{{{\upuparrows}}} || [math(\upuparrows)] ||
422
||{{{\downdownarrows}}} || [math(\downdownarrows)] ||
423
||{{{\nearrow}}} || [math(\nearrow)] ||
424
||{{{\searrow}}} || [math(\searrow)] ||
425
||{{{\nwarrow}}} || [math(\nwarrow)] ||
426
||{{{\swarrow}}} || [math(\swarrow)] ||
427
||{{{\mapsto}}} || [math(\mapsto)] ||
428
429
좌우 화살표에 한하여, 시점에 갈고리를 달고 싶은 경우, {{{\}}}바로 다음에 hook을 삽입합니다.
430
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
431
||{{{\hookleftarrow}}} {{{\hookrightarrow}}} || [math(\hookleftarrow \quad \hookrightarrow)] ||
432
433
작살표는 arrow 대신 harpoon을 쓰며 문법 마지막에 up, down, left, right로 작살이 튀어나온 방향을 씁니다. 좌우 겹작살표는 지원하는 반면 '''상하 겹작살표는 지원하지 않으므로''' 공백 문법을 조합해서 일일이 입력해야 합니다.
434
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
435
|| {{{\leftharpoonup \rightharpoonup}}}[br]{{{\leftharpoondown \rightharpoondown}}} || [math(\leftharpoonup \quad \rightharpoonup \\ \leftharpoondown \quad \rightharpoondown)] ||
436
|| {{{\leftrightharpoons}}}[br]{{{\rightleftharpoons}}} || [math(\leftrightharpoons \\ \rightleftharpoons)] ||
437
|| {{{\upharpoonleft \upharpoonright}}}[br]{{{\downharpoonleft \downharpoonright}}} || [math(\upharpoonleft \quad \upharpoonright \\ \downharpoonleft \quad \downharpoonright)] ||
438
|| {{{\upharpoonleft\!\!\!\!\:~\downharpoonright}}}[br]{{{\downharpoonleft\!\!\!\!\:~\upharpoonright}}} || [math(\upharpoonleft\!\!\!\!\:~\downharpoonright \\ \downharpoonleft\!\!\!\!\:~\upharpoonright)] ||
439
화학의 평형 반응 등에서 쓰이는, 위아래의 길이가 다른 좌우 작살표는 지원하지 않습니다. 그러나 후술할 화살표 위아래에 텍스트를 입력하는 문법을 써서 어느 한쪽 작살표 아래에 반대 방향 작살표를 쓰는 방식으로 대체할 수는 있습니다.
440
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
441
|| {{{\xrightharpoonup[\normalsize\leftharpoondown]{}}​}}} || [math(\xrightharpoonup[\normalsize\leftharpoondown]{})] ||
442
443
겹화살표는 첫글자를 대문자로 씁니다. '''대각선 및 대응 관계 화살표는 지원하지 않습니다.'''
444
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
445
||{{{\Leftarrow}}} {{{\Rightarrow}}} || [math(\Leftarrow \quad \Rightarrow)] ||
446
||{{{\Leftrightarrow}}} || [math(\Leftrightarrow)] ||
447
||{{{\Uparrow}}} || [math(\Uparrow)] ||
448
||{{{\Downarrow}}} || [math(\Downarrow)] ||
449
||{{{\Updownarrow}}} || [math(\Updownarrow)] ||
450
451
삼겹화살표는 각 문법 첫글자의 대문자를 한번 더 씁니다. '''좌우 화살표만 지원합니다.'''
452
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
453
||{{{\Lleftarrow}}} || [math(\Lleftarrow)] ||
454
||{{{\Rrightarrow}}} || [math(\Rrightarrow)] ||
455
456
표준 길이보다 좀 더 긴 화살표를 쓰고 싶은 경우 기본 문법의 {{{\}}} 다음에 {{{long}}}을 삽입합니다. '''상하 화살표는 지원하지 않으며''' 괄호 크기 문법으로 대체할 수는 있습니다. 겹화살표로 나타내고 싶으면 {{{Long}}}을 삽입합니다. '''표준 길이보다 긴 삼겹화살표는 지원하지 않습니다.'''
457
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
458
||{{{\longleftarrow}}} || [math(\longleftarrow)] ||
459
||{{{\longrightarrow}}} || [math(\longrightarrow)] ||
460
||{{{\longleftrightarrow}}} || [math(\longleftrightarrow)] ||
461
||{{{\longmapsto}}} || [math(\longmapsto)] ||
462
||{{{\Longleftarrow}}} || [math(\Longleftarrow)] ||
463
||{{{\Longrightarrow}}} || [math(\Longrightarrow)] ||
464
465
화살표 위아래로 코멘트를 입력할 경우 기본 문법의 {{{\}}} 다음에 {{{x}}}를 삽입하고 아래에 쓸 내용을 대괄호로, 위에 넣을 내용을 중괄호로 감싸서 표기합니다. 둘 다 쓸 경우 반드시 대괄호 → 중괄호 순으로 써야하며 어느 한쪽만 기입할 경우 대괄호는 생략해도 문제가 없으나 '''중괄호를 생략하면 에러'''가 납니다. 화살표의 길이는 내용에 맞춰 자동으로 조절되므로 {{{long}}} 문법을 쓴 화살표는 지원하지 않습니다.
466
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''문법''' || '''출력''' ||
467
|| {{{\xleftarrowp[def]{abc}​}}} {{{\xrightarrow[def]{}​}}} || [math(\xleftarrow[def]{abc} \quad \xrightarrow[def]{})] ||
468
|| {{{\xleftrightarrow{abc}​}}} || [math(\xleftrightarrow{abc})] ||
469
|| {{{\xmapsto}}} || [math(\xmapsto[def]{abc})] ||
470
|| {{{\xhookleftarrow[def]{abc}​}}} {{{\xhookrightarrow[def]{abc}​}}} || [math(\xhookleftarrow[def]{abc} \quad \xhookrightarrow[def]{abc})] ||
471
|| {{{\xleftharpoonup[def]{abc} \xrightharpoonup[def]{abc}​}}} || [math(\xleftharpoonup[def]{abc} \quad \xrightharpoonup[def]{abc})] ||
472
|| {{{\xleftrightharpoons[def]{abc}​}}} {{{\xrightleftharpoons[def]{abc}​}}} || [math(\xleftrightharpoons[def]{abc} \quad \xrightleftharpoons[def]{abc})] ||
473
|| {{{\xLeftarrow[def]{abc}​}}} {{{xRightarrow[def]{abc}​}}} || [math(\xLeftarrow[def]{abc} \quad \xRightarrow[def]{abc})] ||
474
|| {{{\xLeftrightarrow[def]{abc}​}}} || [math(\xLeftrightarrow[def]{abc})] ||
475
|| {{{\xlongequal[def]{abc}​}}} || [math(\xlongequal[def]{abc})] ||
476
356477
== 함수 문법 ==
357478
일부 지원되지 않는 함수들(후술)을 제외하고 로마자로 표현되는 각종 함수들은 {{{\함수 이름}}}으로 간단히 쓸 수 있습니다. 단 [[MOD#s-1|[math(\bmod)]]]는 {{{\bmod}}}로 써야 합니다.
358479
* [math(\sin x \Leftarrow)] {{{\sin x}}}, [math(\cos x \Leftarrow)] {{{\cos x}}}, [math(\tan x \Leftarrow)] {{{\tan x}}}, [math(\sin^2x \Leftarrow)] {{{\sin^2x}}}
......
360481
* [math(\exp(x) \Leftarrow)] {{{\exp(x)}}}, [math(\ln x \Leftarrow)] {{{\ln x}}}, [math(\log_ab \Leftarrow)] {{{\log_ab}}}
361482
* [math(\gcd(m,\,n)\Leftarrow)] {{{\gcd(m,\,n)}}}, [math(\arg z \Leftarrow)] {{{\arg z}}}, [math(\sup A \Leftarrow)] {{{\sup A}}}, [math(\inf S \Leftarrow)] {{{\inf S}}}
362483
363
일부 함수는 로마자가 아닌 [[블랙 레터]]로 표현됩니다.
484
일부 함수는 로마자가 아닌 [[블랙 레터]] 혹은 필기체로 표현됩니다.
364485
* [math(\Re(x) \Leftarrow)] {{{\Re(x)}}}, [math(\Im(x) \Leftarrow)] {{{\Im(x)}}}, [math(\wp(z;\,\tau) \Leftarrow)] {{{\wp(z;\,\tau)}}}
365
아래에 제시된 함수는 이 기능을 지원하지 않으로 수식 로만 폰트를 이용해 직접 입력 후 최소 공백 만큼({{{\,}}}) 띄워서[* 정상적으로 출력되는 함수들을 로만 폰트로 표현할 경우 최소 공백만큼 띄운 것과 출력이 같기 때문입니다. 아래 예를 비교해보십시오.[br][math(\sin30\degree \Leftarrow)] {{{\sin30\degree}}}[br][math({\rm sin}\,30\degree \Leftarrow)] {{{{\rm sin}\,30\degree}}}] 변수 혹은 수를 입력합니다. (괄호를 사용할 경우 띄우지 않습니다. 예: [math(f(x))] vs [math(f\,(x))])
486
아래에 제시된 함수는 이 기능을 지원하지 않아 다음 두가지 방법으로 입력해야 합니다.
487
* 수식 로만 폰트를 이용해 직접 입력 후 최소 공백 만큼({{{\,}}}) 띄워서[* 정상적으로 출력되는 함수들을 로만 폰트로 표현할 경우 최소 공백만큼 띄운 것과 출력이 같기 때문입니다. 아래 예를 비교해보십시오.[br][math(\sin30\degree \Leftarrow)] {{{\sin30\degree}}}[br][math({\rm sin}\,30\degree \Leftarrow)] {{{{\rm sin}\,30\degree}}}] 변수 혹은 수를 입력합니다. (괄호를 사용할 경우 띄우지 않습니다. 예: [math(f(x))] vs [math(f\,(x))])
488
* {{{\operatorname}}} 문법을 이용할 수도 있습니다. 해당 문법은 사용하면 변수와 함수간 띄어쓰기를 자동으로 처리해주기 때문에 편리합니다. 예: [math(\operatorname{arccot}x \Leftarrow)] {{{\operatorname{arccot}x}}}, [math(a\operatorname{Log}(b+c) \Leftarrow)] {{{a\operatorname{Log}(b+c)}}}
489
366490
1. 최소공배수: lcm[* 최대공약수 {{{\gcd}}}는 정상적으로 출력됩니다.]
367491
1. 역삼각함수: arccot, arcsec, arccsc
368492
1. 쌍곡선 함수: sech, csch
369
1. '''모든''' 역쌍곡선 함수[* asinh, [[쌍곡선 함수#s-2.3|arcsinh]] 등 기타 다른 표현 역시 모두 먹히지 않습니다.]: arsinh, arcosh, artanh, arcoth, arsech, arcsch
493
1. '''모든''' 역쌍곡선 함수[* asinh, [[쌍곡선 함수#s-3.3|arcsinh]] 등 기타 다른 표현 역시 모두 먹히지 않습니다.]: arsinh, arcosh, artanh, arcoth, arsech, arcsch
494
1. [[복소로그함수]]: Log[* 소문자인 {{{\log}}}는 정상적으로 출력됩니다.]
370495
1. 상당수의 특수함수: [[부호 함수|sgn]], [[지수 적분 함수|Ei]], [[로그 적분 함수|li]], [[삼각 적분 함수|Si, Ci]], [[쌍곡선 적분 함수|Shi, Chi]], [[오차함수|erf]] 등
371496
1. 선형대수학의 연산자: rank, tr, null[* {{{\dim}}}, {{{\ker}}}, {{{\det}}}는 정상적으로 출력됩니다.]
372497
* [math({\rm csch}\,x \Leftarrow)] {{{{\rm csch}\,x}}}
......
391516
* [math(\begin{pmatrix}a_1&a_2&a_3\\b_1&b_2&b_3\end{pmatrix} \Leftarrow)] {{{\begin{pmatrix}a_1}}}{{{#red &}}}{{{a_2}}}{{{#red &}}}{{{a_3\\b_1}}}{{{#red &}}}{{{b_2}}}{{{#red &}}}{{{b_3\end{pmatrix}​}}}
392517
이 때 한 '종류'의 문법 내에서는 물론, 개행 문법과 복수 '종류'의 {{{\begin}}}, {{{\end}}} 문법을 사용해도 단 경계선 위치는 왼쪽부터 차례대로 정렬되므로 행간에 다르게 적용하려면 '''하나의 {{{\begin}}}, {{{\end}}} 문법 안에 복수의 {{{\begin}}}, {{{\end}}} 문법을 감싸는 식으로 사용'''해야 합니다(아래 참조).
393518
* {{{\begin{pmatrix}a_1}}}{{{#red &}}}{{{a_2}}}{{{#red &}}}{{{a_3\\b_1}}}{{{#red &}}}{{{b_2}}}{{{#red &}}}{{{b_3\\c_1}}}{{{#blue &}}}{{{c_2\end{pmatrix}​}}} [math(\Rightarrow \begin{pmatrix}a_1&a_1&a_3\\b_1&b_2&b_3\\c_1&c_2\end{pmatrix})] ({{{+1 ×}}})
394
{{{#red \\begin{matrix}​}}}{{{a_1&a_1&a_3\\b_1&b_2&b_3}}}{{{#red \\end{matrix}​}}}{{{#blue \\\​\\\​}}}{{{#red \begin{matrix}​}}}{{{c_1&c_2}}}{{{#red \\end{matrix}​}}} [math(\Rightarrow \begin{matrix}a_1&a_1&a_3\\b_1&b_2&b_3\end{matrix}\\\begin{matrix}c_1&c_2\end{matrix})][* 참고로 이 상태에서 양끝을 괄호 문법으로 감쌀 경우 [br][math(\left(\begin{matrix}a_1&a_1&a_3\\b_1&b_2&b_3\end{matrix}\\\begin{matrix}c_1&c_2\end{matrix}\right))][br]처럼 '''행렬간 개행 문법이 무시'''됩니다.] ({{{+1 ×}}})
519
{{{#red \\begin{matrix}​}}}{{{a_1&a_1&a_3\\b_1&b_2&b_3}}}{{{#red \\end{matrix}​}}}{{{#blue \\\​\\\ ​}}}{{{#red \\begin{matrix}​}}}{{{c_1&c_2}}}{{{#red \\end{matrix}​}}} [math(\Rightarrow \begin{matrix}a_1&a_1&a_3\\b_1&b_2&b_3\end{matrix}\\\begin{matrix}c_1&c_2\end{matrix})][* 참고로 이 상태에서 양끝을 괄호 문법으로 감쌀 경우 [br][math(\left(\begin{matrix}a_1&a_1&a_3\\b_1&b_2&b_3\end{matrix}\\\begin{matrix}c_1&c_2\end{matrix}\right))][br]처럼 '''행렬간 개행 문법이 무시'''됩니다.] ({{{+1 ×}}})
395520
{{{#red \\begin{pmatrix}​}}}{{{#blue \\begin{matrix}​}}}{{{a_1&a_1&a_3\\b_1&b_2&b_3}}}{{{#blue \\end{matrix}​}}}{{{#red \\\​\\\​}}}{{{#green \\begin{matrix}​}}}{{{c_1&c_2}}}{{{#green \\end{matrix}​}}}{{{#red \\end{pmatrix}​}}} [math(\Rightarrow \begin{pmatrix}\begin{matrix}a_1&a_1&a_3\\b_1&b_2&b_3\end{matrix}\\\begin{matrix}c_1&c_2\end{matrix}\end{pmatrix})] ({{{+1 ○}}})
396
{{{aligned}}} 정렬 이외의 종류에서는 {{{&}}}가 단의 경계선이 되지만, {{{aligned}}} 정렬에서는 '''{{{&}}} 바로 다음 한 글자'''[* 즉 중괄호로 묶어서 {{{&{AB}​}}}와 같 써도 {{{A}}}가 있는 열이 기준이 되어 정렬됩니다.]가 단의 선이 됩니다. 그러나 {{{&}}}를 여러 개 사용할 경우 다음과 같문제생길 수 있습니다. [* 단의 폭을 하는 알고리즘다른 종류와 다르때문입니다.]
397
* {{{\begin{aligned}x^2+4x+5y}}}{{{#red &=}}}{{{1\\x}}}{{{#red &=}}}{{{2y+7\end{aligned}​}}} [math(\Rightarrow \begin{aligned}x^2+4x+5y&{\color{red}=}1\\x&{\color{red}=}2y+7\end{aligned})]
398
* {{{\begin{aligned}x^2+4}}}{{{#red &x}}}{{{+5y}}}{{{#blue &=}}}{{{1\\}}}{{{#red &x}}}{{{#blue &=}}}{{{2y+7\end{aligned}​}}} [math(\Rightarrow \begin{aligned}x^2+4&{\color{red}x}+5y&{\color{blue}=}1\\&{\color{red}x}&{\color{blue}=}2y+7\end{aligned})] ({{{+1 ×}}})
399
{{{aligned}}} 문법에서 {{{&}}}를 여러 번 사용경우 다음과 같이 두 개의 행이 짝지어집니다. {{{#red 빨간색 &}}}는 두 행을 붙이고 있고 {{{#blue 파란색 &}}}는 두 행을 띄우고 있습니다.
400
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''입력''' ||
401
|| [math(\begin{aligned} M_{{\rm max}_1} & i_2 & M_{{\rm max}_3} & i_4 & M_{{\rm max}_5}\\ i_1 & M_{{\rm max}_2} & i_3 & M_{{\rm max}_4} & i_5 \end{aligned})] ||{{{\begin{aligned}M_{{\rm max}_1}​}}}{{{#red &}}}{{{i_2}}}{{{#blue &}}}{{{M_{{\rm max}_3}​}}}{{{#red &}}}{{{i_4}}}{{{#blue &}}}{{{M_{{\rm max}_5}}}}[br]{{{\\i_1}}}{{{#red &}}}{{{M_{{\rm max}_2}​}}}{{{#blue &}}}{{{i_3}}}{{{#red &}}}{{{M_{{\rm max}_4}​}}}{{{#blue &}}}{{{i_5\end{aligned}​}}} ||
402
각 종류마다 단 내용의 정렬 방식에 차이가 있습니다. 행렬 계열은 가운데 정렬이고, 연립 표기는 왼쪽 정렬로 출력됩니다.
521
종류마다 내용의 정렬 방식이가 있니다. 행렬은 가운데고, 연립 왼쪽 정렬로 출력되며, '''정렬 방식을 임의로 수정 습니다'''. 정렬 방식을 수동으로 지정하려면 {{{aligned}}} 혹은 {{{array}}} 니다.
403522
* [math(\begin{pmatrix}a&b+1\\c+1&d\end{pmatrix} \Leftarrow)] {{{\begin{pmatrix}a&b+1\\c+1&d\end{pmatrix}​}}}
404523
* [math(\begin{cases}a&b+1\\c+1&d\end{cases} \Leftarrow)] {{{\begin{cases}a&b+1\\c+1&d\end{cases}​}}}
524
525
{{{aligned}}}에서는 '''한 행에 들어간 {{{&}}}의 개수에 따라 왼쪽 정렬과 오른쪽 정렬이 적용'''됩니다. 홀수 번째 {{{&}}}는 그 다음 {{{&}}} 전까지의 내용을 왼쪽으로 정렬하고, 짝수 번째 {{{&}}}는 그 다음 {{{&}}} 전까지의 내용을 오른쪽으로 정렬합니다. 이 기능을 잘 이용하면 특정 문자를 기준으로 여러 개의 수식을 정렬할 수 있습니다.
526
* {{{\begin{aligned}x^2+4x+5y}}}{{{#red &=}}}{{{1\\x}}}{{{#red &=}}}{{{2y+7\end{aligned}​}}} [math(\Rightarrow \begin{aligned}x^2+4x+5y&\mathrel{\color{red}=}1\\x&\mathrel{\color{red}=}2y+7\end{aligned})]
527
여러 행 중 왼쪽 정렬, 오른쪽 정렬 내용이 가장 긴 것들 사이에 [math(10\rm\,pt)] 기준으로 반각 공백 {{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}의 [math(\dfrac{40}9)]배만큼의 공백이 삽입되기 때문에 정렬된 단의 폭은 하나의 {{{aligned}}} 정렬에 쓰인 내용에 따라 다릅니다. 아래 예시에서 {{{alinged}}} 문법 이후에 수동으로 공백을 맞춘 수식을 비교하십시오. 각 예시에서 {{{#red 빨간 글씨}}} ~ {{{#blue 파란 글씨}}}가 단의 폭입니다.
528
* [math(\begin{matrix} \begin{aligned} &1 &6 &{\color{red}78} &0 \\ &{\color{red}123} &6 &7 &{\color{blue}90} \\ &1 &{\color{blue}456} &{\color{red}78} &{\color{blue}90} \end{aligned} \\ \hline {\color{red}123} \;\;\;\; {\color{blue}456} {\color{red}78} \;\;\;\; {\color{blue}90} \end{matrix} \Leftarrow)] {{{\begin{aligned} &1 &6 }}}{{{#red &78 }}}{{{&0 \\ }}}{{{#red &123}}}{{{ &6 &7 }}}{{{#blue &90}}}{{{ \\ &1 }}}{{{#blue &456 }}}{{{#red &78 }}}{{{#blue &90}}}{{{ \end{aligned} \\ }}}{{{#red 123 }}}{{{#green \\;\\;\\;\\; }}}{{{#blue 456​ }}}{{{#red 78 }}}{{{#green \\;\\;\\;\\; }}}{{{#blue 90}}}
529
* [math(\begin{matrix} \begin{aligned}x^2+4&{\color{red}x+5y}&{\color{blue}\mathrel=1}\\&{\color{red}x}&{\color{blue}\mathrel=2y+7}\end{aligned} \\ \hline x^2+4{\color{red}x+5y}\;\;\;\;{\color{blue}\mathrel=2y+7}\end{matrix} \Leftarrow )] {{{\begin{aligned}x^2+4}}}{{{#red &x+5y}}}{{{#blue &=1}}}{{{\\}}}{{{#red &x}}}{{{#blue &=2y+7}}}{{{\end{aligned} \\ x^2+4}}}{{{#red x+5y }}}{{{#green \\;\\;\\;\\; }}}{{{#blue =2y+7}}}
530
405531
{{{array}}} 정렬에서는 디폴트가 가운데 정렬이지만 '''각 단마다 정렬 방식을 지정할 수 있습니다'''. {{{array}}} 정렬 선언 후 {{{l}}}(왼쪽 정렬), {{{c}}}(가운데 정렬), {{{r}}}(오른쪽 정렬)을 이용하여 왼쪽부터 차례대로 쓴 뒤 중괄호로 묶어서 나타냅니다. 꼭 단의 개수만큼 쓸 필요는 없으며 생략한 경우 해당 단은 디폴트 상태가 되지만, '''정렬 지정 문법이 아예 없으면 출력에 에러가 납니다'''. 또한 단을 건너뛰어서 적용할 수 없으므로, 건너뛰고자 하는 단은 디폴트 정렬인 {{{c}}}로 지정해야 합니다. 아래 예에서는 전체 [math(5)]개의 단 중 제[math(1)]단을 건너뛰고({{{c}}}) 제[math(2)]단({{{#skyblue l}}}), 제[math(3)]단({{{#purple r}}})만 정렬을 지정하였습니다.
406532
* [math(\begin{array}{clr}2x&{\color{skyblue}+3y}&{\color{purple}+5z}&=&11\\&{\color{skyblue}2y}&{\color{purple}-z}&=&1\end{array} \Leftarrow)] {{{\begin{array}​}}}{{{#red {}}}{{{c}}}{{{#skyblue l}}}{{{#purple r}}}{{{#red }​}}}{{{2x}}}{{{#blue &}}}{{{+3y}}}{{{#blue &}}}{{{+5z}}}{{{#blue &}}}={{{#blue &}}}{{{3\\}}}{{{#green &}}}{{{2y}}}{{{#green &}}}{{{-5z}}}{{{#green &}}}{{{=}}}{{{#green &}}}{{{1\end{array}​}}}
407533
정렬 지정 문법 둘레와 사이사이에 바(|)를 입력하면, 바의 수만큼 단 경계에 세로줄이 만들어집니다. 또한 {{{\hline}}}을 입력하면 가로줄이 형성되므로 이를 응용하면 표를 만들 수 있습니다.
......
409535
|| [math(\begin{array}{|c||c|c|c|c|c|c|c|}\hline x&\cdots&a&\cdots&\alpha&\cdots&b&\cdots\\\hline f'\left(x\right)&+&0&-&-&-&0&+\\f''\left(x\right)&-&-&-&0&+&+&+\\f\left(x\right)&\nearrow&\cdots&\searrow&\cdots&\searrow&\cdots&\nearrow\\\hline\end{array})] ||{{{\begin{array}{}}}{{{#red |}}}{{{c}}}{{{#red ||}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |}}}{{{c}}}{{{#red |​}}}{{{}}}}[br]{{{#blue \\hline }}}[br]{{{x&\cdots&a&\cdots&\alpha&\cdots&b&\cdots\\}}}[br]{{{#blue \\hline }}}[br]{{{f'\left(x\right)&+&0&-&-&-&0&+\\}}}[br]{{{f''\left(x\right)&-&-&-&0&+&+&+\\}}}[br]{{{f\left(x\right)&\nearrow&\cdots&\searrow&\cdots&\searrow&\cdots&\nearrow\\}}}[br]{{{#blue \\hline}}}[br]{{{\end{array}​}}} ||
410536
411537
== 입력 팁 ==
412
수식 모드에서 반점([math(,)]과 세미콜론([math(;)])에 대해, '''해당 기호로 수식이 끝나지 않는다면 이후에 자동적으로 최소 공백({{{\,}}})이 삽입되는 기능이 있습니다.'''(텍스트 모드는 해당되지 않습니다.)아래 예시를 비교해보십시오.
538
수식 모드에서 반점([math(,)])과 세미콜론([math(;)])은 구두점 속성포함되므로, '''해당 기호로 수식이 끝나지 않는다면 이후에 자동적으로 최소 공백이 삽입'''됩니다.'''(디폴트 폰트 크기의 [math(10\rm\,pt)] 기준. 텍스트 모드는 해당되지 않습니다.) 아래 예시를 비교해보십시오.
413539
* [math(3{\color{red},}\,141592 \Leftarrow)] {{{3}}}{{{#red ,}}}{{{141592}}}
414540
[math(\text{3{\color{red},}\,141592} \Leftarrow)] {{{\text{3}}}{{{#red ,}}}{{{#blue \\,}}}{{{141592}​}}} (텍스트 모드에서 최소 공백만큼 띄움)
415541
[math(\text{3{\color{red},}141592} \Leftarrow)] {{{\text{3}}}{{{#red ,}}}{{{141592}​}}}
......
426552
[math((x,\!~y) \Leftarrow)] {{{(x,}}}{{{#blue \\!~}}}{{{y)}}}
427553
[math((x,\,y) \Leftarrow)] {{{(x,}}}{{{#red \\,}}}{{{y)}}}
428554
429
괄호 문법을 씀과 동시에 괄호에만 색을 입히고 싶은 경우, {{{{\color{red}\left(}내용{\color{red}\right)}​}}}처럼 입력하면 색상 문법 내에서 괄호가 불완전하게 종료된 것으로 인식되기 때문에 출력에서 에러가 납니. 따라서 일일이 다한쪽 괄호 삭제 문법으로 채워넣어야 하며 공백 문법으로 간격도 조정해야합니다. 아래 예에서는 괄호 문법을 쓰지 않았을 때와 등가로 만들기 위해[* 비교[br][math({\color{red}(}a+b{\color{red})}^2 \Leftarrow)] {{{{\color{red}}}}{{{#red (}}}{{{}a+b{\color{red}​}}}{{{#red )}}}{{{}^2}}}(괄호 문법 미사용)[br][math({\color{red}\left(\!\!\:\right.}a+b{\color{red}\left.\!\!\!\!\;~\right)}^2 \Leftarrow)] {{{{\color{red}​}}}{{{#red \\left(}}}{{{#blue \\!\\!\\:}}}{{{#red \\right.}}}{{{}a+b{\color{red}​}}}{{{#red \\left.}}}{{{#blue \\!\\!\\!\\!\\;~}}}{{{#red \\right)}}}{{{}^2}}}(괄호 문법 사용)] 왼쪽, 오른쪽에 각각 상대 길이 [math(-\dfrac49)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}, [math(-\dfrac59)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}}의 공백을 썼지만 '''이 간격 조정 수치는 괄호의 크기에 따라 달라집니다'''.[*대형 괄호는[br][math(\left(\dfrac12\right) \Leftarrow)] {{{\left(\dfrac12\right)}}}[br][math({\color{red}\bigg(\bigg.}\dfrac12{\color{red}\bigg.\bigg)} \Leftarrow)] {{{{\color{red}\bigg(\bigg.}\dfrac12{\color{red}\bigg.\bigg)}​}}}[br]처럼 공백 문법이 필요 없습니다.]
430
* {{{{\color{red}\left(}a+b{\color{red}\right)}^2}}} [math(\Rightarrow)] [math({\color{red}\left(}a+b{\color{red}\right)}^2)] ({{{+1 ×}}})
431
{{{{\color{red}\left(}}}{{{#blue \\!\\!\\:}}}{{{#red \\right.}}}{{{}a+b{\color{red}​}}}{{{#red \\left.}}}{{{#blue \\!\\!\\!\\!\\;~}}}{{{\right)}^2}}} [math(\Rightarrow {\color{red}\left(\!\!\:\right.}a+b{\color{red}\left.\!\!\!\!\;~\right)}^2)] ({{{+1 ○}}})
555
괄호 문법을 씀과 동시에 괄호에만 색을 입히고 싶은 경우, '''가변형 문법 아닌 다른 괄호 문법 사용을 권장'''합니다. 가변형 괄호 반드시 {{{\left}}}, {{{\right}}} 짝이 세트로 쓰여야 하며 문법을 구분짓는 괄호 삽입될 경우 세트가 불완전한 것으로 인식되어 에러가 나기 때문입니다. 괄호 삭제 문법과 공백 문법을 이용해서 간격 조정있으나 매우 번거로운 작업이며 공백의 크기 역시 괄호의 크기에 따라 변하기 때문에 괄적으간단하게 적용하기도 어렵습니다.
556
* {{{{\color{red}\left(}a+b{\color{red}\right)}^2}}} [math(\Rightarrow {\color{red}\left(}a+b{\color{red}\right)}^2)] ({{{+1 ×}}})
557
{{{{\color{red}(}}}}{{{a+b}}}{{{{\color{red})}​}}}{{{^2}}} [math(\Rightarrow {\color{red}(}a+b{\color{red})}^2)] ({{{+1 ○}}})
432558
433
적분을 쓸 때, [math({\rm d}x)], [math({\rm d}y)] 등 무한소(엄밀히 말하면 [[미분형식]])의 좌우는 최소 공백 만큼({{{\,}}}) 띄워야 합니다. 그러나 무한소 전후로 괄호 문법을 쓴 괄호가 올 경우 자동으로 최소 공백이 적용되므로 넣지 않아도 됩니다. (아래 3,4번째 예시를 비교해보십시오)
559
적분을 쓸 때, [math({\rm d}x)], [math({\rm d}y)] 등 무한소(엄밀히 말하면 [[미분형식]])의 좌우는 최소 공백 만큼({{{\,}}}) 띄워야 합니다. 그러나 무한소 전후로 가변형 괄호 문법을 쓴 괄호가 올 경우 자동으로 최소 공백이 적용되므로 넣지 않아도 됩니다. (아래 3,4번째 예시를 비교해보십시오)
434560
* [math(\displaystyle \int x \,{\rm d}x \Leftarrow)] {{{\displaystyle \int x}}}{{{#red \\,}}}{{{{\rm d}x}}}
435561
* [math(\displaystyle \iint_S A \,{\rm d}x \,{\rm d}y \Leftarrow)] {{{\displaystyle \iint_S A}}}{{{#red \\,}}}{{{{\rm d}x}}}{{{#red \\,}}}{{{{\rm d}y}}}
436562
* [math(\displaystyle \int f(x)\,{\rm d}x \Leftarrow)] {{{\displaystyle \int f(x)\,{\rm d}x}}}
......
446572
|| [math(\overline{\rm AB})] ||{{{\overline{\rm AB}​}}} ||
447573
|| [math(\overrightarrow{\rm OP})] ||{{{\overrightarrow{\rm OP}​}}} ||
448574
|| [math(\angle\rm ABC)] ||{{{\angle\rm ABC}}} ||
449
단위는 수에서 최소 공백({{{\,}}})만큼 띄우고, 로만 폰트로 쓰는 것이 원칙입니다. 아울러 [[가운뎃점]]({{{\cdot}}})은 전각 기호 출력되므로 공간을 차지합니다. 따라서 [[내적]]의 의미로 쓴 것이 아니라면 전후로 최소 공백({{{#red \\!}}})만큼 제거하는 문법을 쓰는 것을 권장합니다.
575
단위는 수에서 최소 공백({{{\,}}})만큼 띄우고, 로만 폰트로 쓰는 것이 원칙입니다. 아울러 [[가운뎃점]]({{{\cdot}}})은 이항 연산 기호 속성이기 때문에, 기호 전후작은 백이 삽입되는 특징있습니다. 따라서 [[내적]]의 의미로 쓴 것이 아니라면 속성이 재지정된 문법 {{{{\cdot}}}}으로 쓰는 것을 권장합니다.
450576
||<table bgcolor=#fff,#1f2023><rowbgcolor=#eaeaea,#33353a> '''출력''' || '''문법''' ||
451
|| [math(5\,\rm kg\!\cdot\!m/s^2)] ||{{{5\,\rm kg}}}{{{#red \\!}}}{{{\cdot}}}{{{#red \\!}}}{{{m/s^2}}} ||
577
|| [math(5\,\rm kg{\cdot}m/s^2)] ||{{{5\,\rm kg}}}{{{#red {\\cdot}}}}{{{m/s^2}}} ||
452578
|| [math(5\,\Omega)] ||{{{5\,\Omega}}} ||
453579
슬래시를 이용하여 분수를 표현할 경우에는 분모·분자의 위치에 주의합니다. [math(\dfrac ab = a/b)]로 [math(b)]가 분모이고 [math(a)]가 분자입니다. 다만, 이 경우엔 괄호를 잘 활용하여, 분모 분자를 잘 밝혀 적어야 한다는 것에 유의합니다.
454580
* 우리는 [math(1/2)]을 양변에 곱함으로써 식을 간단히 정리할 수 있다.
......
461587
|| [math(a_x)], [math(a_{ij})] || {{{a_x}}}, {{{a_{ij}​}}} || 오른쪽 아래 첨자 ||
462588
|| [math(a_x^y)], [math(A_{\nu}^{\mu})] || {{{a_x^y}}}, {{{A_{\nu}^{\mu}​}}} || 오른쪽 위·아래 첨자 혼용(1) ||
463589
|| [math({a_1}^2)], [math({V_{\max}}^{-1})] || {{{{a_1}^2}}}, {{{{V_{\max}}^{-1}​}}} || 오른쪽 위·아래 첨자 혼용(2)[* 특히 지수 표기에서, 첨자를 붙이고자 하는 문자 전체를 중괄호로 감싸야 합니다.] ||
464
|| [math({}_1^2{\rm H})], [math({}_{~~6}^{12}{\rm C})] || {{{{}_1^2{\rm H}​}}}, {{{{}_{~~6}^{12}{\rm C}​}}}[* 왼쪽 첨자를 사용할 때 처음에 중괄호를 쓰지 않으면 앞에 쓴 글자에 첨자를 붙이는 것으로 인식되어 제대로 출력되지 않습니다. ex): {{{6=_3{\rm P}_3}}}[math(\Rightarrow 6=_3{\rm P}_3)]][* 원소의 질량수와 원자 번호는 오른쪽 정렬로 표기하는 것이 원칙이나 현재 알파위키에서 정렬 문법이 지원되지 않습니다. 대신 반각 공백 문법 두 번(상대 길이 [math(2)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}})으로 숫자 하나 분량의 칸을 메워서 나타낼 수 있습니다.] || 왼쪽 위·아래 첨자 혼용 ||
590
|| [math({}_1^2{\rm H})], [math({}_{~~6}^{12}{\rm C})] || {{{{}_1^2{\rm H}​}}}, {{{{}_{~~6}^{12}{\rm C}​}}}[*주의 왼쪽 첨자를 사용할 때 처음에 중괄호를 쓰지 않으면 앞에 쓴 글자에 첨자를 붙이는 것으로 인식되어 제대로 출력되지 않습니다. (예시: {{{6=_3{\rm P}_3}}}[math(\Rightarrow 6=_3{\rm P}_3)])][* 원소의 질량수와 원자 번호는 오른쪽 정렬로 표기하는 것이 원칙이나 현재 알파위키에서 정렬 문법이 지원되지 않습니다. 대신 반각 공백 문법 두 번(상대 길이 [math(2)]{{{#!html <span style="background-color: #00FF00">&nbsp;</span>}}})으로 숫자 하나 분량의 칸을 메워서 나타낼 수 있습니다.] || 왼쪽 위·아래 첨자 혼용 ||
465591
|| [math(\times)] || {{{\times}}} || 곱셈 및 외적 기호 ||
466592
|| [math(\cdot)] || {{{\cdot}}} || 곱셈 및 내적 기호 ||
467593
|| [math(\div)] || {{{\div}}} || 나눗셈 기호 ||
468594
|| [math(\sqrt2)], [math(\sqrt x)], [math(\sqrt{x^2-1})][br][math(\sqrt[n]x)], [math(\sqrt[3]{27})] || {{{\sqrt2}}}, {{{\sqrt x}}}, {{{\sqrt{x^2-1}​}}}[br]{{{\sqrt[n]x}}}, {{{\sqrt[3]{27}​}}} || 근호 ||
469595
|| [math(\sim)] || {{{\sim}}} || 점근 표시 및 비례 표시, [br] 국제적으로 통용되는 [[닮음]]기호 ||
470596
|| [math(\backsim)] || {{{\backsim}}} || 한국 및 일본에서 쓰이는 [[닮음]]기호 ||
597
|| [math(\nsim)] || {{{\nsim}}} || 점근할 수 없음, [[닮음]]이 아님 기호 ||
471598
|| [math(\propto )] || {{{\propto}}} || 비례 표시 ||
472599
|| [math(|x|)] || {{{|x|}}} = {{{\lvert x\rvert}}} || 절댓값 ||
473600
|| [math(\|x\|)] || {{{\|x\|}}} = {{{\lVert x\rVert}}} || 노름 ||
474
|| [math(\left< x \right>)] || {{{\left< x \right>}}} = {{{\langle x\rangle}}} || 평균값 ||
601
|| [math(\left< x \right>)][br][math(\left< \psi \right| \hat{A} \left| \psi \right>)] || {{{\left< x \right>}}} = {{{\langle x\rangle}}}[br]{{{\left< \psi \right| \hat{A} \left| \psi \right>}}} || 평균값[br]브라-켓 표기 ||
475602
|| [math(\le \\ \ge)] || {{{\le}}} = {{{\leq}}}[br]{{{\ge}}} = {{{\geq}}} || 부등호(이상 및 이하) ||
603
|| [math(\nless \\ \ngtr \\ \nleq \\ \ngeq)] || {{{\nless}}}[br]{{{\ngtr}}}[br]{{{\nleq}}}[br]{{{\ngeq}}} || 부등호(이상 및 이하)의 부정 ||
476604
|| [math(\ne)] || {{{\ne}}} = {{{\neq}}} || 부등호(다름) ||
477605
|| [math(\simeq)], [math(\cong)][br][math(\approx )][br][math(\fallingdotseq)], [math(\risingdotseq)] || {{{\simeq}}}, {{{\cong}}}[br]{{{\approx}}}[br]{{{\fallingdotseq}}}, {{{\risingdotseq}}} || 근사 ||
478606
|| [math(\equiv \\ \not\equiv)] || {{{\equiv}}}[br]{{{\not\equiv}}} || 합동 혹은 정의[br]합동이 아님 ||
479
|| [math({}_n{\rm P}_r)], [math({}_{12}{\rm P}_{11})][br][math({}_n{\rm C}_r)], [math({}_{12}{\rm C}_{10})][br][math({}_n{\rm H}_r)], [math({}_{11}{\rm H}_{13})] || {{{{}_n{\rm P}_r}}}, {{{{}_{12}{\rm P}_{11}​}}}[*][br]{{{{}_n{\rm C}_r}}}, {{{{}_{12}{\rm C}_{10}​}}}[br]{{{{}_n{\rm H}_r}}}, {{{{}_{11}{\rm H}_{13}​}}} || 순열·조합 기호 ||
607
|| [math({}_n{\rm P}_r)], [math({}_{12}{\rm P}_{11})][br][math({}_n\Pi_r)], [math({}_{11}\Pi_{12})][br][math({}_n{\rm C}_r)], [math({}_{12}{\rm C}_{10})][br][math({}_n{\rm H}_r)], [math({}_{11}{\rm H}_{13})] || {{{{}_n{\rm P}_r}}}, {{{{}_{12}{\rm P}_{11}​}}}[*주의][br]{{{{}_n\Pi_r}}}, {{{{}_{11}\Pi_{12}​}}}[br]{{{{}_n{\rm C}_r}}}, {{{{}_{12}{\rm C}_{10}​}}}[br]{{{{}_n{\rm H}_r}}}, {{{{}_{11}{\rm H}_{13}​}}} || 순열·조합 기호 ||
480608
|| [math(\dbinom nr)][br][br][math(\binom nr)][br][br][math(\dbinom{12}3)], [math(\dbinom{12}{10})][br][br][math(\left(\!\!\dbinom nk\!\!\right))] || {{{\dbinom nr}}}[br][br][br]{{{\binom nr}}} = {{{\tbinom nr}}}[br][br][br]{{{\dbinom{12}3}}}, {{{\dbinom{12}{10}​}}}[br][br][br]{{{\left(\!\!\dbinom nk\!\!\right)}}} || 국제적으로 통용되는 조합 기호 ||
481609
|| [math((f\circ g)(x))] || {{{ (f\circ g)(x)}}} || 함수 합성 ||
482610
|| [math(\triangle \\ \square)] || {{{\triangle}}}[br]{{{\square}}} || 삼각형[br]사각형 및 달랑베르시안 ||
......
492620
|| [math(A^\dagger)] || {{{A^\dagger}}} || 켤레 전치(복소 공액) ||
493621
|| [math(\hbar)] || {{{\hbar}}} || [[플랑크 상수]]를 [math(2 \pi)]로 나눈 값 ||
494622
|| [math(\nabla \\ \nabla^{2})] || {{{\nabla}}}[br]{{{\nabla^2}}} || 델 연산자[br]라플라시안 ||
495
|| [math(\leftarrow \\ \rightarrow \\ \leftrightarrow \\ \longleftarrow \\ \longrightarrow \\ \longleftrightarrow)] || {{{\leftarrow}}}[br]{{{\rightarrow}}}[br]{{{\leftrightarrow}}}[br]{{{\longleftarrow}}}[br]{{{\longrightarrow}}}[br]{{{\longleftrightarrow}}} || 화살표 ||
623
|| [math(\leftarrow \\ \rightarrow \\ \leftrightarrow \\ \longleftarrow \\ \longrightarrow \\ \longleftrightarrow)] || {{{\leftarrow}}}[br]{{{\rightarrow}}} 또는 {{{\to}}}[br]{{{\leftrightarrow}}}[br]{{{\longleftarrow}}}[br]{{{\longrightarrow}}}[br]{{{\longleftrightarrow}}} || 화살표 ||
496624
|| [math(\Leftarrow \\ \Rightarrow \\ \Leftrightarrow \\ \Longleftarrow \\ \Longrightarrow \\ \Longleftrightarrow)] || {{{\Leftarrow}}}[br]{{{\Rightarrow}}}[br]{{{\Leftrightarrow}}}[br]{{{\Longleftarrow}}}[br]{{{\Longrightarrow}}}[br]{{{\Longleftrightarrow}}} || 겹화살표 ||
497625
|| [math(\Lleftarrow \\ \Rrightarrow)][br] || {{{\Lleftarrow}}}[br]{{{\Rrightarrow}}} || 삼겹화살표 ||
498626
|| [math(\xleftarrow[a]b \\ \xLeftarrow[a]{b+c} \\ \xleftrightarrow[a]{} \\\xrightarrow{b+c+d+e})] || {{{\xleftarrow[a]b}}}[br]{{{\xLeftarrow[a]{b+c}​}}}[br]{{{\xleftrightarrow[a]{}​}}}[br]{{{\xrightarrow{b+c+d+e}​}}} || 설명문이 있는 화살표 ||
499627
|| [math(\rightleftharpoons \\ \leftrightharpoons)] || {{{\rightleftharpoons}}}[br]{{{\leftrightharpoons}}} || 화학 평형에 쓰이는 화살표 ||
628
|| [math(\mapsto \\ \longmapsto)] || {{{\mapsto}}}[br]{{{\longmapsto}}} || 사상을 나타내는 화살표 ||
500629
|| [math(\overrightarrow A \\ \overleftarrow{\rm AB} \\ \overrightarrow{\rm XY})] || {{{\overrightarrow A}}}[br]{{{\overleftarrow{\rm AB}​}}}[br]{{{\overrightarrow{\rm XY}​}}} || 반직선 혹은 벡터 ||
501630
|| [math(\overleftrightarrow{\rm AB})] || {{{\overleftrightarrow{\rm AB}​}}} || 직선 ||
502631
|| [math(\overline z \\ \overline{\rm AB} \\ \underline{AB} \\ x^{\underline n})] || {{{\overline z}}}[br]{{{\overline{\rm AB}​}}}[br]{{{\underline{AB}​}}}[br]{{{x^{\underline n}​}}} || 윗줄(켤레복소수 또는 선분 등)[br][br]밑줄(하강 계승 등) ||
......
510639
|| [math(\displaystyle \int_a^b f(x) \,{\rm d}x)][br][br][math(\displaystyle \iint_S f(x,\,y) \,{\rm d}x\,{\rm d}y)][br][br][math(\displaystyle \iiint_V f(x,\,y,\,z) \,{\rm d}x\,{\rm d}y\,{\rm d}z)][br][br][math(\displaystyle \int_a^b \int_c^d f(x,\,y) \,{\rm d}x\,{\rm d}y)][br][br][math(\displaystyle \oint_C {\bf F} \cdot {\rm d}{\bf r})][br][br][math(\displaystyle \oiint_S {\bf F} \cdot {\rm d}{\bf a})] || {{{\displaystyle \int_a^b f(x) \,{\rm d}x}}}[br][br][br]{{{\displaystyle \iint_S f(x,\,y) \,{\rm d}x\,{\rm d}y}}}[br][br][br]{{{\displaystyle \iiint_V f(x,\,y,\,z) \,{\rm d}x\,{\rm d}y\,{\rm d}z}}}[br][br][br]{{{\displaystyle \int_a^b \int_c^d f(x,\,y) \,{\rm d}x\,{\rm d}y}}}[br][br][br]{{{\displaystyle \oint_C {\bf F} \cdot {\rm d}{\bf r}​}}}[br][br][br]{{{\displaystyle \oiint_S {\bf F} \cdot {\rm d}{\bf a}​}}} || 적분 ||
511640
|| [anchor(정적분 계산)][math(\biggl[ \dfrac{x^2}2+x \biggr]_a^b)][br][br][math(\biggl. \biggl( x^2+2x \biggr) \biggr|_a^b)] || {{{\biggl[ \dfrac{x^2}2+x \biggr]_a^b}}}[br][br][br]{{{\biggl. \biggl( x^2+2x \biggr) \biggr|_a^b}}} || 정적분 계산 ||
512641
|| [math(\begin{matrix} a & b \\ c & d \end{matrix})][br][br][math(\begin{pmatrix} a & b \\ c & d \end{pmatrix})][br][br][math(\begin{bmatrix} a & b \\ c & d \end{bmatrix})][br][br][math(\begin{Bmatrix} a & b \\ c & d \end{Bmatrix})][br][br][math(\begin{vmatrix} a & b \\ c & d \end{vmatrix})][br][br][math(\begin{Vmatrix} a & b \\ c & d \end{Vmatrix})] || {{{\begin{matrix} a & b \\ c & d \end{matrix}​}}}[br][br][br]{{{\begin{pmatrix} a & b \\ c & d \end{pmatrix}​}}}[br][br][br]{{{\begin{bmatrix} a & b \\ c & d \end{bmatrix}​}}}[br][br][br]{{{\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}​}}}[br][br][br]{{{\begin{vmatrix} a & b \\ c & d \end{vmatrix}​}}}[br][br][br]{{{\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}​}}} || 행렬[* 행렬같은 대형 수식은 [[https://www.codecogs.com/latex/eqneditor.php|이곳]]에서 입력 후 붙이는 것이 낫습니다.] ||
513
|| [math(\begin{cases} x+y=5 \\ x-y=3 \end{cases})] || {{{\begin{cases} x+y=5 \\ x-y=3 \end{cases}​}}} || 연립 방정식 ||
642
|| [math(\begin{cases} x+y=5 \\ x-y=3 \end{cases})][br][br][math({\bold 1}_{\mathbb Q}(x) \equiv \begin{cases} 1 & (x \in \mathbb{Q}) \\ 0 & (x \notin \mathbb{Q}) \end{cases} )] || {{{\begin{cases} x+y=5 \\ x-y=3 \end{cases}​}}}[br][br][br]{{{{\bold 1}_{\mathbb Q}(x) \equiv \begin{cases} 1 & (x \in \mathbb{Q}) \\ 0 & (x \notin \mathbb{Q}) \end{cases}​}}} || [[연립방정식]][br][br][br][[조각적 정의]] ||
514643
515
[각주][include(틀:문서 가져옴/나무위키, title=나무위키:문법 도움말/심화/TeX, version=67)]
644
[각주][include(틀:문서 가져옴, title=알파위키:문법 도움말/심화, version=1969)]