> 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/field-specific/06-knitting-patterns.md).

# 뜨개질 패턴

## 소개

LaTeX는 뜨개질 패턴과 그림이 있는 문서를 더 쉽게 조판할 수 있도록 특별한 문서 클래스를 제공합니다. 이 문서에서는 패키지를 사용하는 방법을 설명합니다 [`knittingpattern`](https://ctan.org/pkg/knittingpattern?lang=en).

뜨개질 패턴을 사용하는 것은 간단합니다. 올바른 문서 클래스를 선언하기만 하면 됩니다

```latex
\documentclass{knittingpattern}

\begin{document}

\title{Knitting patterns}
\author{Overleaf team}
\date{\today}
\maketitle

\cpyrght{Overleaf team}

\intro{
    여기에 소개 문구를 넣으세요. 옆의 이미지와
    같은 높이면 더 보기 좋습니다.
    여기에 소개 문구를 넣으세요. 옆의 이미지와
    옆의 이미지와 같은 높이면 더 보기 좋습니다...
}{lion-logo}
```

![KnittingPatternsEx1OverleafV2.png](/files/4f8c6b5b32d934404e45328afb4dec1616c171b3)

문서 맨 위의 명령은

```latex
\documentclass{knittingpattern}
```

몇몇 명령을 통해 일부 요소의 레이아웃을 더 쉽게 변경할 수 있게 해줍니다. 예를 들어

* `\cpyrght{...}` 페이지 번호를 제거하고 각주를 추가합니다. 저작권 표시에 사용됩니다.
* `\intro{}{}` 중괄호 안에 두 개의 인수를 받습니다. 첫 번째는 일부(소개) 텍스트이고, 두 번째는 이미지입니다. 텍스트는 왼쪽에, 이미지는 그 옆에 출력됩니다.

[Overleaf에서 `knitpattern` Overleaf의 패키지](https://www.overleaf.com/project/new/template/19507?id=65965453\&templateName=Knitting+Patterns+Demo\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

## 다이어그램

다이어그램이 포함된 이미지를 추가하려면 **knittingpattern** 특별한 명령을 제공합니다

```latex
\diagram{overleaf-logo}
```

![KnittingPatternsEx2OverleafV2.png](/files/7148d8630623c39a566ac1b3f5682fbdb077f604)

명령은 `\diagram` 가운데 정렬된 테두리 있는 이미지를 출력하며, 너비는 페이지의 절반입니다.

[Overleaf에서 `knitpattern` Overleaf의 패키지](https://www.overleaf.com/project/new/template/19507?id=65965453\&templateName=Knitting+Patterns+Demo\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

## 참고 및 주석

문서 안의 특정 텍스트 블록을 강조해야 한다면, 문서에 상자형 참고문과 주석을 추가하는 두 가지 명령이 있습니다.

```latex
\definecolor{colour0}{HTML}{000000}
\definecolor{colour2}{HTML}{97DE76}
\definecolor{colour4}{HTML}{EDB668}

\begin{document}

\note{colour0}{colour2}{Materials}{
    양모, 약간의 양모, 그리고 또한
    양모 부분을 위해 양모가 필요할 수도 있습니다.
}

이 특별한 명령도 있습니다

\important{colour0}{colour4}{이 주석은 매우 중요합니다.
그래서 강조되어 있습니다}
\end{document}
```

![KnittingPatternsEx3.png](/files/4ab9691c9b3a9f2604c45afaf2950e89ed20f15f)

명령은 `\note{}{}{}{}` 는 4개의 인수를 받습니다:

* 테두리 색,
* 배경색,
* 제목 그리고
* 상자 안에 출력할 텍스트입니다.

색상은 **xcolor** HTML 구문을 사용합니다. 참고하십시오 [LaTeX에서 색상 사용](/latex/ko/formatting/13-using-colors-in-latex.md) 를 참조하세요.

두 번째 명령은 `\important`는 기본적으로 `\note`와 같은 문법을 가지지만, 제목은 생략됩니다.

[Overleaf에서 `knitpattern` Overleaf의 패키지](https://www.overleaf.com/project/new/template/19507?id=65965453\&templateName=Knitting+Patterns+Demo\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

## 뜨개질 지침 추가하기

뜨개질에 관한 문서의 주된 목적은 실제로 뜨개질 패턴에 대한 지침을 제공하는 것입니다. 패키지 **knittingpatern** 은 지침 표를 출력하는 환경을 제공합니다.

```latex
\documentclass{knittingpatern}
\definecolor{colour3}{HTML}{99CCFF}
\definecolor{colour5}{HTML}{CCFFCC}

\begin{document}
\begin{pattern}{colour3}{colour5}
코를 꿰기 & (st)\\
지침 1 & (st)\\
지침 2 & (st)\\
지침 3 & (st)\\
지침 4 & (st)\\
지침 5 & (st)\\
지침 6 & (st)\\
지침 7 & (st)\\
지침 8 & (st)\\
지침 9 & (st)\\
지침 10 & (st)\\
\quad\vdots & \quad\vdots\\
\end{pattern}
\end{document}
```

![KnittingPatternsEx4.png](/files/27919a29dc5bedf98a3237814ef7296e5487ae47)

표의 가독성을 높이기 위해 번갈아 사용하는 색상을 결정하는 두 개의 매개변수를 받습니다. 자세한 내용은 [LaTeX에서 색상 사용](/latex/ko/formatting/13-using-colors-in-latex.md) 를 참고하여 LaTeX에서 색상 조작에 대한 자세한 정보를 확인하십시오.

[Overleaf에서 `knitpattern` Overleaf의 패키지](https://www.overleaf.com/project/new/template/19507?id=65965453\&templateName=Knitting+Patterns+Demo\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

## 추가 읽을거리

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

* [첫 번째 LaTeX 문서 만들기](/latex/ko/latex/01-learn-latex-in-30-minutes.md)
* [굵게, 이탤릭체 및 밑줄](/latex/ko/latex/03-bold-italics-and-underlining.md)
* [이미지 삽입](/latex/ko/more-topics/27-inserting-images.md)
* [이미지와 표 배치하기](/latex/ko/figures-and-tables/02-positioning-images-and-tables.md)
* [문단 서식](/latex/ko/formatting/04-articles-how-to-change-paragraph-spacing-in-latex.md)
* [LaTeX에서 색상 사용](/latex/ko/formatting/13-using-colors-in-latex.md)
* [글꼴 크기, 패밀리 및 스타일](/latex/ko/fonts/01-font-sizes-families-and-styles.md)
* [글꼴 서체](/latex/ko/fonts/02-font-typefaces.md)
* [다음 `knittingpattern` 패키지 문서](https://ctan.org/pkg/knittingpattern?lang=en)


---

# 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/field-specific/06-knitting-patterns.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.
