吳聰敏老師的討論區 首頁 吳聰敏老師的討論區
經濟學與 cwTeX 討論區
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入 

目錄編排

 
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
pei1012



註冊時間: 2020-03-06
文章: 3

發表發表於: 星期五 三月 06, 2020 5:09 pm    文章主題: 目錄編排 引言回覆

吳老師您好,我在編排文章時,目錄的章節一直出現重疊
這是我的目錄編排出來之後的樣子
https://imgur.com/8OmGAhV

以下是我的環境設定

\documentclass[12pt,a4paper]{article}
\usepackage[sf]{titlesec}
\usepackage{array,dcolumn,psfrag,graphicx}
\usepackage{booktabs,lscape}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\theoremstyle{plain}
\usepackage{url}
\def\UrlFont{\rm}
\usepackage{tabularx,booktabs}
\usepackage[T1]{fontenc}

\newtheorem{thm}{\ctxfbb 定理}
\newtheorem{definition}{\ctxfm 定義}
\ctxfdef{\section}[\ctxff]{\ctxfk}
\ctxfdef{\subsection}[\ctxff]{\ctxfk}
\ctxfdef{\subsubsection}[\ctxff]{\ctxfk}
\usepackage{appendix}
\renewcommand{\appendixpagename}{\Large\ctxfr 附錄}

\usepackage{rotating,threeparttable,booktabs}
\renewcommand{\tablename}{表}

\def \baselinestretch{1.1}
\setlength{\textwidth}{155mm} \setlength{\textheight}{220mm}
\setlength{\oddsidemargin}{5mm} \setlength{\evensidemargin}{5mm}
\setlength{\topmargin}{0mm}

\ctxfdef{\section}{\ctxfbb}
\ctxfdef{\subsection}{\ctxfbb}
\ctxfdef{\subsubsection}{\ctxfbb}

\renewcommand{\figurename}{圖}
\renewcommand{\contentsname}{\ctxfbb 目錄}
\setcounter{tocdepth}{3}
\addcontentsline{toc}{sec-name}{text}

\newcommand\laref{\smallskip\noindent%
\hangindent=\parindent}
\newenvironment{tab}
{\begin{tabular}}{\end{tabular}}

目錄的部分我寫的是這樣

\newpage
\tableofcontents
\renewcommand{\listfigurename}{\ctxfbb 圖次}
\listoffigures
\renewcommand{\listtablename}{\ctxfbb 表次}
\listoftables

請問要怎麼讓章節編號順利的出現呢?
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


註冊時間: 2003-03-03
文章: 1535

發表發表於: 星期六 三月 07, 2020 10:56 pm    文章主題: Re: 目錄編排 引言回覆

請給我 mwe (minimal working example)。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
pei1012



註冊時間: 2020-03-06
文章: 3

發表發表於: 星期一 三月 09, 2020 9:23 am    文章主題: 目錄編排 引言回覆

吳老師您好,
以下是mwe的檔案
https://reurl.cc/Aq1aaj

謝謝老師
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


註冊時間: 2003-03-03
文章: 1535

發表發表於: 星期一 三月 09, 2020 9:55 pm    文章主題: Re: 目錄編排 引言回覆

你原來的指令有些錯誤, 也有一些重覆。
請改用以下。


\documentclass[12pt]{article}
\usepackage[T1]{fontenc}

\usepackage[sf]{titlesec}
\usepackage{array,dcolumn,psfrag,graphicx}
\usepackage{lscape}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{rotating,threeparttable,booktabs}
\usepackage{tabularx}
\usepackage{appendix}

\usepackage[a4paper]{geometry}

\theoremstyle{plain}
\usepackage{url}
\def\UrlFont{\rm}


\newtheorem{thm}{\ctxfbb 定理}
\newtheorem{definition}{\ctxfm 定義}

\renewcommand{\appendixpagename}{\Large\ctxfr 附錄}

\ctxfdef{\section}{\ctxfbb}
\ctxfdef{\subsection}{\ctxfbb}
\ctxfdef{\subsubsection}{\ctxfbb}

\renewcommand{\tablename}{表}
\renewcommand{\figurename}{圖}
\renewcommand{\contentsname}{\ctxfbb 目錄}
\renewcommand{\abstractname}{\ctxfbb \Large 摘要}

\setcounter{tocdepth}{3}

\newcommand\laref{\smallskip\noindent%
\hangindent=\parindent}

\newenvironment{tab}
{\begin{tabular}}{\end{tabular}}

\title{行動支付與現金回饋}
\author{}
\date{}
\begin{document}
\maketitle
\fontsize{12}{20pt}\selectfont

\begin{abstract}
\fontsize{12}{20pt}\selectfont
本文建構具有現金與行動支付的貨幣搜尋模型,
探討政府給予買家現金回饋如何影響他們對支付工具的選擇,
進而改變賣家對不同支付工具的接受程度。

\bigskip
\noindent 關鍵詞Confused 現金回饋; 行動支付; 貨幣搜尋模型
\bigskip

\noindent JEL分類代號Confused E40; E42; E52
\end{abstract}

%%%%%%%%
\newpage
\renewcommand{\abstractname}{\ctxfbb \Large Abstract}
\begin{abstract}
This paper ...

\bigskip

\noindent Keywords: Cash rebate; Mobile payment; Monetary search model
\bigskip

\noindent JEL classification: E40; E42; E52

\end{abstract}

%%%%%%%%
\newpage
\begin{center}
\Large{\ctxfbb 致謝}
\end{center}


本篇碩士論文能如期完成, ....


%%%%%%%%
\newpage
\tableofcontents


%%%%%%%%
\newpage

\section{前言}
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
pei1012



註冊時間: 2020-03-06
文章: 3

發表發表於: 星期二 三月 10, 2020 9:49 am    文章主題: 目錄編排 引言回覆

吳老師您好:
問題解決了,謝謝老師! Very Happy Very Happy Very Happy
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區 所有的時間均為 台灣時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作