
내 일반적인 각주 레이아웃은 다음과 같습니다.
\documentclass{article}
\usepackage{lipsum}
\usepackage[hang]{footmisc} % the whole footnote text is indented
\setlength{\footnotemargin}{.5em} % push the footnote text half an em away from the footnote mark
\begin{document}
\null\vfill % just for this example
Text\footnote{\lipsum[2]}
\end{document}
그러나 이것은 대부분의 인쇄 매뉴얼에서 각주 표시 스타일을 지정하는 방법이 아닙니다. 이러한 매뉴얼을 바탕으로 다음을 달성하고 싶습니다.
- 텍스트의 각주 표시는 위 첨자 안감 그림이어야 합니다(비례형으로 할지 표 형식으로 할지 아직 확실하지 않습니다. 테스트하고 확인해야 합니다).
- 각주에 있는 각주 표시는 전체 크기의 구식 표 형식이어야 하며 각주 텍스트 앞에 마침표와 공백이 와야 합니다.
이제 1.
다음 코드를 사용하여 달성할 수 있습니다.
\documentclass{article}
\usepackage{lipsum}
\usepackage[hang]{footmisc} % the whole footnote text is indented
\setlength{\footnotemargin}{.5em} % push the footnote text half an em away from the footnote mark
\usepackage{fontspec}
\setmainfont{EBGaramond}
\newfontfamily{\myfootnotemarkfont}{EBGaramond}[Numbers = Lining]
\usepackage{realscripts}
\renewcommand\footnotemarkfont{\myfootnotemarkfont} % Proportional lining numbers for footnote markers
\begin{document}
\null\vfill % just for this example
Text\footnote{\lipsum[2]}
\end{document}
하지만 이것이 목표 수치에 더 가까워지지는 않습니다.2.
다음 코드를 사용하여 각주의 각주 표시를 변경할 수 있습니다.이 답변:
\documentclass{article}
\usepackage{lipsum}
\usepackage{fontspec}
\setmainfont{EBGaramond}
\newfontfamily{\myfootnotemarkfont}{EBGaramond}[Numbers = Lining]
\usepackage{realscripts}
\renewcommand\footnotemarkfont{\myfootnotemarkfont} % Proportional lining numbers for footnote markers
\usepackage{scrextend}
\deffootnote{1em}{0em}{\thefootnotemark.\enskip}
\begin{document}
\null\vfill % just for this example
Text\footnote{\lipsum[2]}
\end{document}
그러나 이것은 표 형식의 이전 스타일 그림이 아닌 비례적인 본문 텍스트의 글꼴을 사용하며 {1em}
다소 옳아 보이는 것과 같은 임의의 숫자를 지정하는 것 외에 여백에 각주 표시를 배치하는 방법을 이해하지 못합니다. .
각주 레이아웃의 다양한 측면을 모두 수정할 수 있는 패키지가 있었다면...
답변1
KOMA-Script(귀하의 경우 를 통해 scrextend
)에는 이를 위한 도구가 있습니다. 당신이 해야 할 유일한 일은 적합한 글꼴을 정의하는 것입니다:
\usepackage{fontspec}
\setmainfont{EBGaramond}
\newfontfamily\EBGaramondLF {EBGaramond}[Numbers = {Lining}]
% \newfontfamily\EBGaramondTLF {EBGaramond}[Numbers = {Monospaced,Lining}]
% \newfontfamily\EBGaramondOsF {EBGaramond}
\newfontfamily\EBGaramondTOsF{EBGaramond}[Numbers = {Monospaced}]
매크로 \deffootnote
를 사용하면 각주 매달기를 정의하고 바닥글 표시에 스타일을 지정할 수 있습니다.
\deffootnote[space for mark]{hanging indent}{paragraph indent}{%
mark definition using \thefootnotemark
}
값을 동일하게 설정하면 space for mark
그림 hanging indent
과 같은 각주가 표시됩니다. 를 사용하면 \makebox[space for mark][l]{...}
오른쪽, 즉 여백에 정렬됩니다. 이 경우 – \makebox will lead to a fixed width, we can also leave out the optional argument to
\deffootnote` 이후:
\usepackage{scrextend}
\newcommand*\footnotemarkspace{1.5em}
% footnotes in the footer:
\deffootnote{\footnotemarkspace}{1em}{%
\makebox[\footnotemarkspace][l]{\EBGaramondTOsF\thefootnotemark.}%
}
텍스트의 표시에는 다음이 있습니다 \deffootnotemark
.
\deffootnotemark{mark definition in the text using \thefootnotemark}
이제 우리가 사용할 수 있는 곳은
% footnote marks in the text:
\deffootnotemark{\textsuperscript{\EBGaramondLF\thefootnotemark}}
EBGaramond는 우수한 피규어를 특별히 디자인했습니다. 텍스트에 사용하고 싶다면 다음과 같이 말할 수 있습니다.
\newfontfamily\EBGaramondSu{EbGaramond}[VerticalPosition=Superior]
정의를 다음으로 변경하십시오.
\deffootnotemark{\EBGaramondSu\thefootnotemark}
이 모든 것을 종합하면 다음과 같습니다.
\documentclass{article}
\usepackage{fontspec}
\setmainfont{EBGaramond}
\newfontfamily\EBGaramondLF {EBGaramond}[Numbers = {Lining}]
% \newfontfamily\EBGaramondTLF {EBGaramond}[Numbers = {Monospaced,Lining}]
% \newfontfamily\EBGaramondOsF {EBGaramond}
\newfontfamily\EBGaramondTOsF{EBGaramond}[Numbers = {Monospaced}]
\usepackage{scrextend}
\newcommand*\footnotemarkspace{1.5em}
% footnotes in the footer:
\deffootnote{\footnotemarkspace}{1em}{%
\makebox[\footnotemarkspace][l]{\EBGaramondTOsF\thefootnotemark.}%
}
% footnote marks in the text:
\deffootnotemark{\textsuperscript{\EBGaramondLF\thefootnotemark}}
\usepackage{lipsum}
\begin{document}
\null\vfill % just for this example
\lipsum[4]
123 Text\footnote{\lipsum[2]} Text\footnote{\lipsum[3-4]}
\end{document}