目錄頁 - 包含羅馬數字頁碼

目錄頁 - 包含羅馬數字頁碼

我正在使用 MiKTex 2.9。我想在我的內容頁面中包含“縮寫”頁面以及羅馬數字頁碼。但是,當我使用該\section{section name}命令時,它會為標題提供一個節號。當我使用 時\section*{section name},標題不會出現在內容頁面中。我也嘗試過來自的建議使用 scrbook,如何抑制目錄中除幾個章節之外的所有章節的頁碼?但我收到“未定義的控制錯誤”。

你能給些建議麼?我已附上我的 MWE。

    \documentclass[a4paper,11pt]{article}
\usepackage{color}
\usepackage{graphicx, epstopdf}
\usepackage{gensymb}
\usepackage{times}
\usepackage{adjustbox}
\usepackage{tabulary}
\usepackage{tabularx}
\usepackage{booktabs,caption, makecell}
\usepackage{pdflscape,afterpage,caption}
\usepackage[british]{babel}
\usepackage[backend=bibtex, citestyle=ieee, bibstyle=ieee]{biblatex}
\usepackage[section]{placeins}%Allows you to permanently fix figures. 

\begin{document}
\pagenumbering{roman}
\newpage
\tableofcontents
\newpage
\section*{Abbreviations}
\begin{table}[ht]
\setlength\tabcolsep{60pt}
\centering
  \small
 % your table
    \hspace*{-18mm}%
\begin{tabular}{cc}
\toprule
{Abbreviation}&{Explanation}\\ [0.5ex]
\midrule
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
Item1&Item1\\
\bottomrule
 \end{tabular}%
    \hspace*{-12mm}%
\label{table:ETD Raman}
\end{table}
\newpage
\pagenumbering{arabic}
\section{Test 1}
Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.

\end{document}

先致謝!

答案1

\addcontentsline{<file>}{<kind>}{<text>}在 as之後立即使用標準 LaTeX 指令\section*{Abbreviations}

\section*{Abbreviations}
\addcontentsline{toc}{section}{Abbreviations}

這會將未編號的章節樣式標題和頁碼放入.toc檔案中,以便在目錄中列印。

相關內容