为什么我的目录上有一个红框

为什么我的目录上有一个红框

我有以下 tex 样本:

\documentclass[a4paper,25pt]{report}
\usepackage[a4paper,footskip=0.25in]{geometry}

\usepackage{makeidx}
\usepackage{polyglossia}
\usepackage{csquotes}
\usepackage{xltxtra}
\usepackage{xunicode}
\usepackage{libertine}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{url}

% Uncomment it and uncomment any \lipsum notation as well.
% Afterwards build and see how beautifull result is displayed
\usepackage{lipsum}


\usepackage[backend=bibtex, bibstyle=numeric, citestyle=numeric-comp, sorting=none]{biblatex}
\bibliography{./material.bib}

\usepackage[pdfauthor={"John Doe"},
    pdftitle={"Hello I am a seifuku"},
    pdfsubject={"iot"},
    pdfkeywords={"seifuku"}
]{hyperref}    
\setdefaultlanguage{english}
\setotherlanguages{greek}

\setmainfont{Liberation Serif}
\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}
\newfontfamily\greekfontsf[Script=Greek]{Linux Libertine O}
\setmainfont[Kerning=On,Mapping=tex-text]{Linux Libertine O}

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{Univercity Of MOE OTAKUS}
\fancyhead[R]{Legion on Otakus \& Weabos}


\title{Motteke Seifuku}
\date{Univercity of Moe Otakus - 2018}
\author{Dimitrios Desyllas (Nekomimi1233)}

\begin{document}
    \maketitle
    \tableofcontents

    \chapter{Introduction}
        \lipsum[1-20]

    \chapter{Motteke Seifuku}
        \section{Seifukus Rocks!!!}
        \subsection{Generic information}
          This is a nice list \cite{US7791415B2}
        \begin{enumerate}
            \item Seifuku are awesome
            \item Watashiwaravuseifuku
            \item whatecer I want
        \end{enumerate}

    \lipsum[5-9]


        \subsection{Frequencies of seing seifuku}
    \lipsum[5-9]

        \section{Lorem Ipsum}
        \lipsum[1-20]

    \chapter{Implementation of Lorem Ispum}
        \section{Introduction}
        \lipsum[1-8]
        \section{Materials Used}
        \lipsum[5-10]
        \section{Projects Implemented}
        \lipsum[7-13]
    \printbibliography
\end{document}

我有以下书目条目(material.bib):

@patent{US7791415B2,
    author="Craig A. {Hornbuckle}",
    title="{Fractional-N synthesized chirp generator.}",
    year="{2007}",
    location="{US}",
    url="\url{https://patents.google.com/patent/US7791415B2/en}",
    assignee="{Semtech Corp}"
}

@misc{CHIRPMODULATION,
    url="\url{https://en.wikipedia.org/wiki/Chirp_spread_spectrum}",
    title="{Wikipedia: Chirp spread spectrum}"
}

但出于某种原因,我得到了彩色框架:* 参考书目中的 URL * 引文 * 目录

如图所示:

目录上方有红色框 引文上方有绿色边框 网址上方有蓝色框架

你知道为什么会发生这种情况吗以及如何让它消失?

答案1

问题出在包装上hyperef

\usepackage[pdfauthor={"John Doe"},
    pdftitle={"Hello I am a seifuku"},
    pdfsubject={"iot"},
    pdfkeywords={"seifuku"}
]{hyperref}

为了解决这个问题,请输入以下选项hidelinks

\usepackage[pdfauthor={"Dimitrios Desyllas, Ioannis anagnostou"},
    pdftitle={"Setting up a LoRa IoT communication using LoRaWAN"},
    pdfsubject={"iot"},
    pdfkeywords={"privacy by design, privacy, howto, technologies, legal requirements"},
    hidelinks
]{hyperref}

相关内容