
저는 LaTeX를 처음 사용합니다. 현재 뒷면으로 논문을 작성 중인데 무슨 이유에서인지 자동으로 생성된 북마크가 해당 섹션으로 연결되지 않습니다. 내 논문 형식과 표준 논문 형식 사이의 몇 가지 주요 차이점은 다음과 같습니다.
우리 대학에는 표지/제목 페이지에 대한 특별한 형식이 있습니다. Verdana 글꼴입니다. 라텍스가 자동으로 생성하도록 하는 대신 표지와 제목 페이지의 PDF를 수동으로 생성하여 논문에 삽입했습니다.
요약, 감사의 글, 목차, 그림 등의 경우 우리 대학에서는 로마자 페이지 번호를 요구하는 반면, 본문의 경우 아랍어 페이지 번호를 요구합니다.
본문이 아닌 부분의 경우 우리 대학에서는 연속 제목을 허용하지 않지만 본문에는 연속 제목이 필요합니다.
그렇기 때문에 다른 페이지 형식을 번갈아 사용하기 위해 fancyhf를 사용했습니다. 하지만 불행하게도 내 결과 섹션을 제외하고 내 파일의 다른 모든 섹션은 어떤 이유로든 내 표지로 연결됩니다.
나는 의 답변을 바탕으로 \phantomsection
\addcontentsline{toc}{section}{Summary}
문제 를 해결해 보았습니다.\renewcommand{\summaryname}{Summary}
링크가 올바른 페이지로 연결되지 않습니다그리고잘못된 페이지에 연결된 북마크, 북마크를 사용하면 올바른 섹션으로 연결될 수 있지만 섹션 제목이 누락되었습니다. 게다가 이 방법이 하위 섹션과 단락에 효과가 있는지도 모르겠습니다.
이것에 당신의 두뇌를 사용해도 될까요? 결과 섹션의 북마크가 유일한 기능인 이유는 무엇입니까? 매우 감사합니다!
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=magenta,
urlcolor=black,
citecolor=black,
}
\usepackage{bookmark}
\usepackage[english]{babel}
\usepackage[ansinew]{inputenc}
\usepackage{csquotes}
\usepackage[tocbib,bibnewpage]{apacite}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage[table,xcdraw]{xcolor}
\usepackage{fancyhdr}
\usepackage{lineno}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{geometry}
\usepackage{pdfpages}
\usepackage{rotating} % <-- HERE
\usepackage{lscape}
\usepackage{caption}
\usepackage{ltablex}
\usepackage[referable]{threeparttablex}
\usepackage{threeparttable}[normal]
\usepackage{tabularx}
%\documentclass{article}
\usepackage{fontspec}%déjà chargé par luatextra
\defaultfontfeatures{Ligatures=TeX} % to have the automatics ligatures of TeX
\pagestyle{fancy}
\fancyhf{}
\rhead{\thepage}
\lhead{}
\fancypagestyle{main}{
\fancyhf{}
\lhead{\small\small THESIS}
\rhead{\thepage}
}
\geometry{
left=2.5cm,
right=2.5cm,
top=2.5cm,
bottom=2.5cm
}
% only necessary to change shorttitle as it is part of the header
\title{title}
\shorttitle{THESIS}
\author{name}
\affiliation{XXX UNIVERSITY}
\course{Masterthesis}
\professor{professor}
\duedate{\today}
\usepackage{titlesec}
\titlespacing\section{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titlespacing\subsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titlespacing\subsubsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\begin{document}
\setstretch{1.5} % 1.5 line spacing
\setromanfont{Verdana}
% --------------COVER------------------------
\thispagestyle{empty}
% --------------COVER PAGE------------------------
\begin{coverpage}
\includepdf{cover}
\end{coverpage}
%\vspace*{0cm}
% --------------BLANK PAGE------------------------
\clearpage\null\thispagestyle{empty}\clearpage
% --------------BLANK PAGE------------------------
\clearpage\null\thispagestyle{empty}\clearpage
% --------------BLANK PAGE------------------------
\clearpage\null\thispagestyle{empty}\clearpage
% --------------TITLE PAGE------------------------
% insert pdf due to special title page formatting
\begin{titlepage}
\includepdf{cover}
\end{titlepage}
% --------------BLANK PAGE------------------------
\clearpage\null\thispagestyle{empty}\clearpage
\clearpage
\setromanfont{Times New Roman}
\pagenumbering{Roman}
\pagestyle{fancy}
\Some {\fontsize{11}{15}\selectfont % font size 11
\setstretch{1.5}} % line spacing 1.5
\section{Summary}
\section{Acknowledgements}
\pdfbookmark[section]{\contentsname}{toc}
\renewcommand\contentsname{Table of Contents}
\tableofcontents
\phantomsection
\addcontentsline{toc}{section}{List of Tables}
\listoftables
\clearpage
\pagestyle{main}
\pagenumbering{arabic}
\setcounter{page}{1}
\pagestyle{main}
%\fancyhf{}
%\fancyhead[R]{\thepage}
\setlength{\parskip}{0.1mm}
\raggedbottom
\nopagebreak
\section{1. Introduction}
\section{2. Methods}
\section{3. Results}
\section{4. Discussion}
\section{5. Conclusion}
\end{document}```