> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ko/mathematics/07-operators.md).

# 연산자

수학 모드의 문자는 보통 이탤릭체로 표시되지만, 때로는 특정 함수 이름에 다른 서식이 필요하며, 이는 LaTeX에 정의된 연산자를 사용하여 구현할 수 있습니다.

## 소개

삼각함수, 로그함수 및 기타 함수들은 다음 예시에서 보이듯이 몇 가지 특수 명령을 통해 문서에 작성할 수 있습니다:

```latex
수학 연산자의 예:
\[
    \sin(a + b) = \sin a \cos b + \cos a \sin b
.\]
```

[이 예제를 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Mathematical+operators+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0AExamples+of+mathematical+operators%3A%0A%5C%5B%0A++++%5Csin%28a+%2B+b%29+%3D+%5Csin+a+%5Ccos+b+%2B+%5Ccos+a+%5Csin+b%0A.%5C%5D%0A%5Cend%7Bdocument%7D)

이 예제는 다음 출력을 생성합니다:

![Newsincos.png](/files/f419e3f520407237bdda53ce4bb2beff6cd2f6b3)

이 명령은 함수 이름을 이탤릭체 대신 직립체(로만체)로 출력합니다.

## 다양한 맥락에서의 연산자

일부 연산자는 특별한 방식으로 처리되는 매개변수를 취할 수 있습니다. 예를 들어, 극한값이 그렇습니다.

```latex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
극한 표기법 테스트
\[
    \lim_{h \to 0 } \frac{f(x+h)-f(x)}{h}
.\]
이 연산자는 다음과 함께 사용할 때 달라집니다
text \( \lim_{h \to 0} (x-h) \).
\end{document}
```

[이 예제를 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Mathematical+operators+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5Cbegin%7Bdocument%7D%0ATesting+notation+for+limits%0A%5C%5B%0A++++%5Clim_%7Bh+%5Cto+0+%7D+%5Cfrac%7Bf%28x%2Bh%29-f%28x%29%7D%7Bh%7D%0A.%5C%5D%0AThis+operator+changes+when+used+alongside+%0Atext+%5C%28+%5Clim_%7Bh+%5Cto+0%7D+%28x-h%29+%5C%29.%0A%5Cend%7Bdocument%7D)

이 예제는 다음 출력을 생성합니다:

![OperatorsEx2.png](/files/8f644692c740ed8777c8d454edf69f284fd138e9)

패키지 `amsmath` 매크로에는 필요합니다 `\to`; 이 패키지가 없으면, `\rightarrow` 를 사용해야 합니다.

극한 선언에 아래첨자를 포함할 수 있다는 점에 주목하세요. 사용 가능한 연산자의 전체 목록은 [참조 안내서](#reference-guide) 를 참조하세요.

일부 언어에서는 일부 명령이 추가되거나 변경될 수 있으니, [메인 페이지](/latex/ko/readme.md) 에서 언어별 문서를 확인하세요.

## 자체 연산자 정의하기

이탤릭체 대신 로만체로 표시할 사용자 지정 연산자를 추가해야 한다면 다음을 사용하세요 `\DeclareMathOperator`

```latex
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator{\arctg}{arctg}
\begin{document}
아크탄젠트에 대한 사용자 정의 연산자:
\[
    \arctg \frac{\pi}{3} = \sqrt{3}
.\]
\end{document}
```

[이 예제를 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+defining+an+operator\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5CDeclareMathOperator%7B%5Carctg%7D%7Barctg%7D%0A%5Cbegin%7Bdocument%7D%0AUser-defined+operator+for+arctangent%3A%0A%5C%5B%0A++++%5Carctg+%5Cfrac%7B%5Cpi%7D%7B3%7D+%3D+%5Csqrt%7B3%7D%0A.%5C%5D%0A%5Cend%7Bdocument%7D)

이 예제는 다음 출력을 생성합니다:

![OperatorsEx3.png](/files/e9dfbf3922f77292184bb563aad8c70b414bc758)

명령은 `\DeclareMathOperator` 는 두 개의 매개변수를 받으며, 첫 번째는 새 연산자의 이름이고 두 번째는 표시될 텍스트입니다. 이 명령이 작동하려면 패키지를 가져와야 합니다 **amsmath** 를 프리앰블에 다음과 함께

```latex
\usepackage{amsmath}
```

정의한 연산자가 아래첨자를 사용해야 하는 경우에는 명령을 약간 수정할 수 있습니다. 예를 들어 `\lim` 연산자처럼, 이 경우 다음을 사용하세요 `\DeclareMathOperator*`.

## 참조 안내서

**수학 연산자 전체 목록**

| 연산자       | 다음과 같이 렌더링됨 |
| --------- | ----------- |
| `\cos`    | $$\cos$$    |
| `\csc`    | $$\csc$$    |
| `\exp`    | $$\exp$$    |
| `\ker`    | $$\ker$$    |
| `\limsup` | $$\limsup$$ |
| `\min`    | $$\min$$    |
| `\sinh`   | $$\sinh$$   |
| `\arcsin` | $$\arcsin$$ |
| `\cosh`   | $$\cosh$$   |
| `\deg`    | $$\deg$$    |
| `\gcd`    | $$\gcd$$    |
| `\lg`     | $$\lg$$     |
| `\ln`     | $$\ln$$     |
| `\Pr`     | $$\Pr$$     |
| `\sup`    | $$\sup$$    |
| `\arctan` | $$\arctan$$ |
| `\cot`    | $$\cot$$    |
| `\det`    | $$\det$$    |
| `\hom`    | $$\hom$$    |
| `\lim`    | $$\lim$$    |
| `\log`    | $$\log$$    |
| `\sec`    | $$\sec$$    |
| `\tan`    | $$\tan$$    |
| `\arg`    | $$\arg$$    |
| `\coth`   | $$\coth$$   |
| `\dim`    | $$\dim$$    |
| `\liminf` | $$\liminf$$ |
| `\max`    | $$\max$$    |
| `\sin`    | $$\sin$$    |
| `\tanh`   | $$\tanh$$   |

## 추가 읽을거리

자세한 내용은 다음을 참조하세요

* [수학 표현식](/latex/ko/mathematics/01-mathematical-expressions.md)
* [아래첨자와 위첨자](/latex/ko/mathematics/02-subscripts-and-superscripts.md)
* [분수와 이항식](/latex/ko/mathematics/05-fractions-and-binomials.md)
* [수학 모드에서의 간격](/latex/ko/mathematics/08-spacing-in-math-mode.md)
* [적분, 합계 및 한계](/latex/ko/mathematics/09-integrals-sums-and-limits.md)
* [수학 모드의 표시 스타일](/latex/ko/mathematics/10-display-style-in-math-mode.md)
* [LaTeX2ε에 대한 그다지 짧지 않은 소개](http://www.ctan.org/tex-archive/info/lshort/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ko/mathematics/07-operators.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
