원 안에 숫자나 문자가 들어간 기호문자의 식자에 관한 사항
기본 명령/패키지 ¶
\textcircled ¶
\textcircled{5}
예제
\documentclass{minimal}
\usepackage{multido}
\usepackage{relsize}
\begin{document}
\multido{\i=1+1}{20}{%
\textcircled{\sffamily\relsize{-1}\i}
}
\end{document}
\usepackage{multido}
\usepackage{relsize}
\begin{document}
\multido{\i=1+1}{20}{%
\textcircled{\sffamily\relsize{-1}\i}
}
\end{document}
[PNG image (7.99 KB)]
kocircnum 패키지 ¶
- Dohyun Kim의 hcrnumbers, hoze의 wrapnum, Nova De Hi의 tikzcircnum을 합친 패키지이다.
- KTUG 사설 저장소로부터 설치한다.
# tlmgr install kocircnum
- 안내 문서는 texdoc으로 읽는다.
# texdoc kocircnum
\documentclass{article}
\usepackage{multido}
\usepackage[tikz]{kocircnum}
\begin{document}
\multido{\i=1+1}{20}{%
\circnum{\sffamily\i}
}
\end{document}
\usepackage{multido}
\usepackage[tikz]{kocircnum}
\begin{document}
\multido{\i=1+1}{20}{%
\circnum{\sffamily\i}
}
\end{document}
[PNG image (8.21 KB)]
pifont ¶
\usepackage{pifont} %%% preamble
\ding{172}, \ding{182}, \ding{192}, \ding{202}
\ding{173}, \ding{183}, \ding{193}, \ding{203}
\ding{174}, \ding{184}, \ding{194}, \ding{204}
\ding{175}, \ding{185}, \ding{195}, \ding{205}
\ding{173}, \ding{183}, \ding{193}, \ding{203}
\ding{174}, \ding{184}, \ding{194}, \ding{204}
\ding{175}, \ding{185}, \ding{195}, \ding{205}
[PNG image (7.52 KB)]
kotex의 \onum 카운터 수식자 ¶
1부터 15까지.
\newcounter{test}
\stepcounter{test}
\onum{test}
\stepcounter{test}
\onum{test}
\stepcounter{test}
\onum{test}
\stepcounter{test}
\onum{test}
\stepcounter{test}
\onum{test}
\stepcounter{test}
\onum{test}
[PNG image (2.07 KB)]
직접 입력 ¶
1에서 15까지 윈도우즈 "ㅇ"+한자키 (폰트가 지원해야 함)
①, ②, ..., ⑮
유니코드 U+2460,..., U+2473 (1.. 20), 괄호 알파벳숫자 영역
①, ② ... ⑳
유니코드 U+2776,... U+277F (1,.. 10), 장식 활자 영역
❶, ❷, ... ❿
유니코드 U+24EB, .., U+24F4 (11,... 20), 괄호 알파벳숫자 영역
⓫, ⓬, ..., ⓴
유니코드 U+2780,... U+2789 (1,... 10), 장식 활자 영역
➀, ➁, ..., ➉
유니코드 U+278A,... U+2793 (1,... 10), 장식 활자 영역
➊, ➋, ..., ➓
Combinumerals 폰트 ¶
Fontsite Combinumerals Ltd 폰트를 XeLaTeX 또는 LuaLaTeX에서 사용. 1에서 99까지.
\fontspec{CombiNumeralsLtd} 0 1 2 3 11 55 99
\fontspec[Altenate=1]{CombiNumeralsLtd} 0 1 2 3 11 55 99
\fontspec[Altenate=1]{CombiNumeralsLtd} 0 1 2 3 11 55 99
[PNG image (6.79 KB)]
응용례 ¶
\textcircled의 응용 ¶
hoze의 \circnum ¶
\makeatother
\newcommand{\cirnum}[1]{%
\textcircled{%
\ifthenelse{\equal{\f@size}{12}}{\small}{%
\ifthenelse{\equal{\f@size}{10}}{\scriptsize}{%
\ifthenelse{\equal{\f@size}{9}}{\tiny}{}%
}%
}%
#1%
}
\makeatletter
\newcommand{\cirnum}[1]{%
\textcircled{%
\ifthenelse{\equal{\f@size}{12}}{\small}{%
\ifthenelse{\equal{\f@size}{10}}{\scriptsize}{%
\ifthenelse{\equal{\f@size}{9}}{\tiny}{}%
}%
}%
#1%
}
\makeatletter
relsize를 사용하는 사례
\usepackage{relsize}
\newcommand\cirnum[1]{
\textcircled{\relsize{-3}\raisebox{.1ex}{#1}}
}
\newcommand\cirnum[1]{
\textcircled{\relsize{-3}\raisebox{.1ex}{#1}}
}
moosoy의 \mycirc ¶
\newlength{\temp}
\newcommand{\mycirc}[1]{%
\settowidth{\temp}{\Large$\bigcirc$}\makebox[\temp]{#1}\kern-\temp\Large$\bigcirc$}
\newcommand{\mycheck}[1]{%
\settowidth{\temp}{\Large$\checkmark$}\makebox[\temp]{#1}\kern-\temp\Large$\checkmark$}
\newcommand{\mycirc}[1]{%
\settowidth{\temp}{\Large$\bigcirc$}\makebox[\temp]{#1}\kern-\temp\Large$\bigcirc$}
\newcommand{\mycheck}[1]{%
\settowidth{\temp}{\Large$\checkmark$}\makebox[\temp]{#1}\kern-\temp\Large$\checkmark$}
pifont의 \ding과 enumerate ¶
dingautolist 환경 ¶
\begin{dingautolist}{202}
\item \ding{172}, \ding{173}, \ding{174}, \ding{175}
\item \ding{182}, \ding{183}, \ding{184}, \ding{185}
\item \ding{192}, \ding{193}, \ding{194}, \ding{195}
\item \ding{43}, \ding{51}, \ding{64}
\item \ding{33}, \ding{34}, \ding{35}
\item \ding{247}, \ding{248}, \ding{249}
\item \ding{51}, \ding{52}, \ding{52}
\item \ding{60}, \ding{61}, \ding{64}
\end{dingautolist}
\item \ding{172}, \ding{173}, \ding{174}, \ding{175}
\item \ding{182}, \ding{183}, \ding{184}, \ding{185}
\item \ding{192}, \ding{193}, \ding{194}, \ding{195}
\item \ding{43}, \ding{51}, \ding{64}
\item \ding{33}, \ding{34}, \ding{35}
\item \ding{247}, \ding{248}, \ding{249}
\item \ding{51}, \ding{52}, \ding{52}
\item \ding{60}, \ding{61}, \ding{64}
\end{dingautolist}
enumitem ¶
\begin{enumerate}[label={\protect\ding{\value*}},start=192]
\item ...
\end{enumerate}
\item ...
\end{enumerate}
enumerate package (or oblivoir) ¶
\def\Xding#1{\ding{\numexpr#1+191\relax}}
\begin{enumerate}[\expandafter\Xding1]
\item ...
\end{enumerate}
\begin{enumerate}[\expandafter\Xding1]
\item ...
\end{enumerate}
enumerate ¶
dhucs-enumerate (oblivoir) ¶
dhucs-enumerate 또는 oblivoir의 enumerate (U+2460)
\begin{enumerate}[①]
\item ...
\end{enumerate}
\item ...
\end{enumerate}