私は現在、LaTeX で学士論文を書いていますが、参考文献のない脚注が必要です。私は次のように空白の脚注を使用しました:
\begingroup
\renewcommand\thefootnote{}\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup}
希望どおりに、ページの最後に番号なしの脚注を作成しますが、PDF のページの最後に赤いボックスが表示されます。 を使用すると\footnotetext
、参照なしで脚注を作成できますが、番号が必要です。参照と番号の両方を削除するオプションはありますか?
現在はこんな感じです: ( hyperref-package
URL と参考文献、その他の脚注が必要です)
\documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
\usepackage{hyperref}
\newcommand\blfootnote[1]{%
\begingroup
\renewcommand\thefootnote{}\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup
}
\begin{document}
I want a footnote without reference and without a number.\blfootnote{This creates a footnote without number but with reference.}
\end{document}
答え1
ここで、\freefootnote
番号もリンクもない目的の脚注を作成します。MWE に示されているように、これはドキュメント内の他の場所でリンクされた番号付き脚注の使用を妨げません。
\documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
\usepackage{hyperref}
\let\svthefootnote\thefootnote
\newcommand\freefootnote[1]{%
\let\thefootnote\relax%
\footnotetext{#1}%
\let\thefootnote\svthefootnote%
}
\begin{document}
I want a footnote without reference and without a number.%
\freefootnote{This creates a footnote without number
and no longer with reference.}
Regular footnote.\footnote{Test}
\end{document}
答え2
hidelinks
プリアンブルにhyperrefオプションを追加すればうまくいくはずです(ここ)。MWE に入力します。
\documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
\usepackage[
hidelinks % hide link outlines
]{hyperref}
\newcommand\blfootnote[1]{%
\begingroup
\renewcommand\thefootnote{}\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup
}
\begin{document}
I want a footnote without reference and without a number.\blfootnote{This creates a footnote without number but with reference.}
\end{document}