= 텍스트 서식 Heywon Choi <heywon.choi@bankwareglobal.com> [abstract] .문서개요 -- 이 문서는 AsciiDoc 에서 {doctitle} 을 표현하는 방법에 대해 설명합니다. -- == Text Formatting 우리가 말할 때 특정 단어와 구를 강조하는 것처럼, 우리는 서식과 구두점을 사용하여 텍스트에서 단어와 구를 강조한다. 문서에서 텍스트 서식을 표현하기 위해서는 다양한 서식 표시를 사용하고 결과물은 다음과 같다. === 굵게 (*) 굵은 텍스트는 더 두껍거나 어두운 글꼴을 적용한다. ==== AsciiDoc 소스 텍스트 서식(Bold)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- A bold *word*, and a bold *phrase of text*. Bold c**hara**cter**s** within a word. ---- ==== 결과 텍스트 서식(Bold)을 사용하는 경우 본문 형태는 다음과 같다. **** A bold *word*, and a bold *phrase of text*. Bold c**hara**cter**s** within a word. **** === 기울임체 (_) 오른쪽으로 약간 기울어진다. ==== AsciiDoc 소스 텍스트 서식(Italic)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- An italic _word_, and an italic _phrase of text_. Italic c__hara__cter__s__ within a word. ---- ==== 결과 텍스트 서식(Italic)을 사용하는 경우 본문 형태는 다음과 같다. **** An italic _word_, and an italic _phrase of text_. Italic c__hara__cter__s__ within a word. **** === 고정 폭 (`) 명령 또는 소스 코드를 나타내는 방식으로 일반적으로 고정 너비(즉, 고정 폭) 글꼴을 사용하여 강조한다. ==== AsciiDoc 소스 텍스트 서식(Monospace)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- "`Wait!`" Indigo plucked a small vial from her desk's top drawer and held it toward us. The vial's label read: `E=mc^2^`; the `E` represents _energy_, but also pure _genius!_ ---- ==== 결과 텍스트 서식(Monospace)을 사용하는 경우 본문 형태는 다음과 같다. **** "`Wait!`" Indigo plucked a small vial from her desk's top drawer and held it toward us. The vial's label read: `E=mc^2^`; the `E` represents _energy_, but also pure _genius!_ **** === 강조 표시 (#) 텍스트에 배경색을 주어 텍스트를 강조한다. ==== AsciiDoc 소스 텍스트 서식(Highlight)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- Mark my words, #automation is essential#. Mark my words, auto##ma##tion is essential. ---- ==== 결과 텍스트 서식(Highlight)을 사용하는 경우 본문 형태는 다음과 같다. **** Mark my words, #automation is essential#. Mark my words, auto##ma##tion is essential. **** === 아래 첨자 (~), 위 첨자 (^) 아래 첨자와 위 첨자 텍스트는 수학 표현식과 화학 공식에서 일반적이다. ==== AsciiDoc 소스 텍스트 서식(Subscript, Superscript)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- "`Well the H~2~O formula written on their whiteboard could be part of a shopping list, but I don't think the local bodega sells E=mc^2^,`" Lazarus replied. ---- ==== 결과 텍스트 서식(Subscript, Superscript)을 사용하는 경우 본문 형태는 다음과 같다. **** "`Well the H~2~O formula written on their whiteboard could be part of a shopping list, but I don't think the local bodega sells E=mc^2^,`" Lazarus replied. **** === 밑줄 텍스트 아래에 선이 그려진다. ==== AsciiDoc 소스 텍스트 서식(Underline)을 사용하는 AsciiDoc 소스는 다음과 같다. [source,asciidoc] ---- The text [.underline]#underline me# is underlined. The text [.underline]##under##line me is underlined. ---- ==== 결과 텍스트 서식(Underline)을 사용하는 경우 본문 형태는 다음과 같다. **** The text [.underline]#underline me# is underlined. The text [.underline]##under##line me is underlined. ****