질문 하나 더 드립니다. 저술하다 보면 그림을 박스 안에 넣는 경우가 상당히 많은 데 요 며칠 사이 그걸 해결하려고 하는 데 잘 안되는군요. 아시는 분 있으면 해결책 부탁합니다. 예제는 다음과 같습니다. 여러 가지 테스트해 보느라 아무말 잔치를 했습니다.
xelatex으로 컴파일 했습니다.
\documentclass[11pt]{article}
\usepackage[hangul]{kotex}
\usepackage{latexsym, amsthm}
\usepackage{amssymb, amsbsy, amsfonts}
\usepackage{amsmath, multicol}
\usepackage{graphicx, enumerate}
\usepackage{ccaption, makeidx}
\usepackage{times}
\usepackage{framed}
\newtheorem{theorem}{정리}
\renewcommand\proofname{증명}
\newcommand{\ig}[1]{\centering\includegraphics{#1}}
\begin{document}
경영$\cdot$경제학 이론의 \textbf{중심 목표는} {\addhangulfontfeature{FakeSlant=0.2} 경제학}, {\bfseries 중심 목표는 경제학}, {\bf 중심 목표는 경제학}, \textsf{\small 좋든 싫든}
$$그러니까^2 우리는 \;\; 우리나라는, Y=C+I$$
\begin{framed}
\begin{theorem}
경영$\cdot$경제학 이론의 \textbf{중심 목표는} {\addhangulfontfeature{FakeSlant=0.2} 경제학}, {\bfseries 중심 목표는 경제학}, {\bf 중심 목표는 경제학}, \textsf{\small 좋든 싫든}
\end{theorem}
\end{framed}
\begin{proof}
경영$\cdot$경제학 이론의 \textbf{중심 목표는} {\addhangulfontfeature{FakeSlant=0.2} 경제학}, {\bfseries 중심 목표는 경제학}, {\bf 중심 목표는 경제학}, \textsf{\small 좋든 싫든}
\begin{figure}[h]
\ig{fig1-1}
%\centering{\resizebox{5cm}{!}{\ig{fig1-1}}}
\caption{\protect\footnotesize 데카르트 좌표계에서 점의 표시와 사분면}
\label{fig:1-1}
\end{figure}
\end{proof}
\end{document}
그림 삽입 부분을 박스 안에 넣으면 그림이 안 나옵니다. xelatex으로 컴파일하면 나오는 에러는 "Not in outer par mode \begin{figure}[h]" 입니다. 그림이 밖에 없다는 것이지요. 이 파일 포함하여 파일들과 결과들을 첨부했습니다.
KTUG 한국 텍 사용자 그룹