TeX에 이제 막 입문한 대학생입니다.
MikTex2.9-kotex2011에 WinEdt6.0을 사용하고 있어요.
\documentclass{article}
\usepackage{hangul} %한글
\newcommand{\tab}{
\~~~~~} %탭 기능
\newcommand{\txt}[1]{
\textrm{#1}} %\textrm
\newcommand{\term}[4]{
TERM #1\{
\tab subterm :
#2
\tab condition :
#3
\tab symbol :
#4
\}
}
\usepackage[]{amssymb} %수학 기호
\begin{document}
\section{2.01}{
\subsection{정의 2.1.1(semigroup)}{
\term{semigroup,
\tab\tab set $A$\\\tab\tab binary operator(bin;) $* \in A^{2} \to A$ \\,
$\forall a, b, c \in A | (a*b)*c=a*(b*c)$,
$\langle A, * \rangle$}
}
}
\end{document}
코드는 위와 같구요. 에러는 그림으로 첨부했습니다. \n과 \par의 차이점을 알고 싶어요.ㅠㅠ