저는 현재 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
프리앰블에서 하이퍼참조에 옵션을 추가하면 문제가 해결됩니다(참조여기). 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}