Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
    • 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
    • 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
    • 최소 예제는 "Minimal working example"을 읽어 보세요.
  • 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
  • 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 사용하는 편집기는 CKeditor입니다.
    • 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
    • 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
    • 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.

목차 생성 좀 도와주세요 ㅜ

2019.12.12 11:12

beginner! 조회 수:1559

안녕하세요, 끝까지 컴파일이 잘 되어서 다음에 목차를 생성하려 tableofcontents를 실행하니까

! undefined control sequence.

\reserved@a ->\@nil

 

1.280 \tableofcontents*

 

라고 하면서 에러가 뜨는데 도무지 어떻게 해결해야 하는지 모르겠네요..

부탁드립니다. 아래 메인화면 올려드려요.

 

 

% !Tex TS-program = XeLaTex

% !Tex encoding = UTF-8 Unicode

 

\documentclass[chapter,oldfontcommands,footnote,10pt,showtrims,openright]{oblivoir}

\usepackage{KMbook}

\usepackage{tabto}

\usepackage{mdframed}

\usepackage{amsmath,amsfonts}

\usepackage{epsfig}

\usepackage{xcolor}

\usepackage{pgfplots}

\pgfplotsset{width=7cm,compat=1.8}

\usepackage{tikz}

\usetikzlibrary{matrix}

\usetikzlibrary{decorations.markings}

\usetikzlibrary{shadows}

\usepackage{graphicx}

\usepackage{tablefootnote} % \tablefootnote -- footnote inside mdframe

\makeatletter

\AfterEndEnvironment{mdframed}{%

\tfn@tablefootnoteprintout%

\gdef\tfn@fnt{0}%

}

\makeatother

\usepackage{tikz-3dplot}

\usepackage{environ}

\usepackage{varwidth}

\usepackage[T1]{fontenc}

\usepackage{color}

\usepackage{booktabs}

\usepackage{kotex}

\usepackage{caption}

 

% allow mid arrow in tikz draw

\tikzset{->-/.style={decoration={

markings,

mark=at position #1 with {\arrow{>}}},postaction={decorate}}}

 

\newtheorem{definition}[theorem]{정의}[mybox4]

\newtheorem{theorem}{정리}[mybox2]

\newtheorem{example}[theorem]{예제}

\newtheorem{cor}{따름정리}[mybox2]

\newtheorem{lemma}{도움정리}[mybox2]

\newtheorem{example0}[theorem]{보기}

 

\definecolor{redbox}{cmyk}{.21,.97,.0,.0}

\definecolor{greenbox}{cmyk}{0.84,0.13,1,0.02}

\definecolor{redboxback}{cmyk}{0,0,0.2,0}

\definecolor{bluebox}{cmyk}{0.87,0.54,0,0}

 

 

\newenvironment{infobox}{\begin{mdframed}[linecolor=bluebox,linewidth=1.3pt,innertopmargin=10pt,innerbottommargin=10pt,

skipabove=10pt,skipbelow=10pt,backgroundcolor=color1-1!70]}{\end{mdframed}}

 

\newlength{\MyMdframedWidthTweak}

\NewEnviron{emphasis}[1][]{

\setlength{\MyMdframedWidthTweak}{\dimexpr

+\mdflength{innerleftmargin}

+\mdflength{innerrightmargin}

+\mdflength{leftmargin}

+\mdflength{rightmargin}

}

\savebox0{

\begin{varwidth}{\dimexpr\linewidth-\MyMdframedWidthTweak\relax}

\BODY

\end{varwidth}

}

\begin{mdframed}[

align=center,

backgroundcolor=blue!1,

shadow=true,

shadowsize=2pt,

roundcorner=3pt,

userdefinedwidth=\dimexpr\wd0+\MyMdframedWidthTweak\relax,

#1]

\usebox0

\end{mdframed}

}

 

 

\newcommand{\bx}{\mathbf{x}}

\newcommand{\Bigskip}{\vspace{1cm}}

\newcommand{\ds}{\displaystyle}

\newcommand{\abs}[1]{\left|#1\right|}

\newcommand{\set}[1]{\left\{#1\right\}}

\newcommand{\inte}[1]{\left[ #1 \right]}

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Figure

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

\graphicspath {{./figures/}}

\captionsetup[figure]{labelfont={bf},name={그림},labelsep=period}

 

 

 

 

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

\makeindex

 

\pagestyle{kmspagestyle4}

 

\begin{document}

 

%%----------------------------------------------------------------------------------------

%% TITLE PAGE

%%----------------------------------------------------------------------------------------

 

 

\thispagestyle{empty}

\begin{tikzpicture}[remember picture,overlay]

%\node[inner sep=0pt] (background) at (current page.center) {\includegraphics[width=\paperwidth]{background}};

\draw (current page.center) node [fill=yellow!5!blue,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\parbox[c][][t]{\paperwidth}{\centering 미적분학 }};

\end{tikzpicture}

\vfill

 

 

%%------------------------------------------------------------------------------------------

%% Table of Contents

%%------------------------------------------------------------------------------------------

 

 

 

\thispagestyle{empty}

 

\renewcommand{\contentsname}{\centering \textsf 목~차}

\setcounter{tocdepth}{1}

\tableofcontents*

 

\cleardoublepage

 

%\renewcommand{\chaptermark}[1]{ \markboth{#1}{} }

 

 

%%-------------------------------------------------------------------------------------------

%% Main contents

%%-------------------------------------------------------------------------------------------

 

\input{chapter01}

\input{chapter02}

\input{chapter03}

\input{chapter04}

\input{chapter05}

\input{chapter06}

\input{chapter07}

\input{chapter08}

\input{chapter09}

\input{chapter10}

\input{chapter11}

\input{chapter12}

\input{chapter13}

\input{chapter14}

\input{chapter15}

\input{chapter16}

\input{references}

 

\end{document}

 

 

 

 

{}

 

 

번호 제목 글쓴이 날짜 조회 수
공지 Minimal Working Example을 첨부해주세요 [4] nanim 2015.06.23 230524
2669 kotex-oblivoir 업데이트 후 책갈피 표시 관련 문의 드립니다. [2] file pinder 2022.03.04 620
2668 Tree / cases 관련 문의드립니다. [3] file ㅠㅠ 2022.02.24 613
2667 beamer의 metropolis 테마에서 블록 환경에 관한 질문이 있습니다. [2] file 이여현 2022.02.19 662
2666 texlive 설치 중 오류 어떻게 해결하나요? [1] file 텍초보 2022.02.19 652
2665 혹시 tag에 문자넣을 수 있나요? [4] 아랑우랑 2022.02.17 605
2664 비머를 이용한 발표자료에 동영상을 넣고 싶습니다. [5] 세모시 2022.02.09 692
2663 CMYK black 문제 [1] 판돌이 2022.02.09 617
2662 자동 줄 바꿈 관련&그래프 고정 [3] file 텍스초보 2022.02.09 620
2661 \end{ } 부분의 오류 문의 [2] jack.p78928 2022.02.07 808
2660 article class에서 Toc section number와 section 간 spacing 조정 [6] jack.p78928 2022.02.07 955
2659 vscode로 텍을 작성할 때 math preview 기능의 문제 [2] vscode 2022.01.30 671
2658 oblivoir에서 tabularray 사용시 버그 [2] file 초보 2022.01.28 636
2657 texlive2021를 설치후 runscript.tlu : 915 에러 [1] file 파랑새 2022.01.27 695
2656 texlive2021 설치 오류 관련입니다. (한글 사용자 이름) [2] file 텍라이브 2022.01.24 624
2655 한글문서를 작성할때의 답은 여전히 oblivoir인가요? [5] ksj 2022.01.17 709
2654 texlive 설치 오류 (한글 사용자 이름) [1] file 텍린이 2022.01.21 638
2653 참고 문헌을 작성할 때 날짜 관련 (accessed on) [1] ㅇㅇ 2022.01.19 840
2652 TeXLive 2021의 TeXworks에서 철자 검사 사용 [6] 이제텍 2022.01.11 746
2651 표에서 & 문제 [6] 하늘여니 2022.01.02 713
2650 ksminitex에서 텍포맷 선택 질문 [5] 텍사랑 2021.12.23 630



XE Login