我需要脚注的开始与边距对齐(而不是缩进,这是默认设置)。
但是,我无法使用该footmisc
包(这是我通常的解决方案),因为我有一个使用 的两列布局paracol
,它与 冲突footmisc
。
我该如何手动完成此操作?
视觉上:
梅威瑟:
% these define the type of document and the look of the page
\documentclass[]{article}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[margin=0.8in, top = 1.3in, headheight = 0.6in]{geometry}
\setlength{\footnotesep}{\baselineskip} % space between footnotes
\setlength{\parindent}{0pt} % space at start of paragraph
\setlength{\parskip}{0.14in} % space between paragraphs
\linespread{1.1} % line spacing
% two column
\usepackage{paracol}
\setlength{\columnsep}{1cm}
\footnotelayout{m} %
\usepackage[bottom, flushmargin]{footmisc} % clash with this package
\begin{document}
\begin{paracol}{2}
\subsection*{What is Lorem Ipsum?}
Lorem Ipsum is simply dummy text\footnote{But was it written by dummies?} of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
\subsection*{Why do we use it?}
It is a long established fact that a reader\footnote{Are you a reader?} will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
\switchcolumn
\subsection*{Where does it come from?}
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.
\end{paracol}
\end{document}
答案1
以下是一个解决方案(改编自https://www.latex4technics.com/?note=r4lc6k)。
\usepackage{scrextend}
\deffootnote{1.5em}{0em}{\thefootnotemark\quad}
输出结果如下:
平均能量损失
\documentclass{article}
\usepackage{lipsum}
\usepackage{scrextend}
\deffootnote{1.5em}{0em}{\thefootnotemark\quad}
\begin{document}
\lipsum[1]
\footnote{footnote}
\lipsum[1]
\footnote{The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog}
\footnote{\lipsum[1]}
\lipsum
\end{document}
在 OP 的代码中,序言现在显示
%...
% two column
\usepackage{paracol}
\setlength{\columnsep}{1cm}
\usepackage{scrextend}
\deffootnote{1.5em}{0em}{\thefootnotemark\quad}
%...
给予
如果您想要一个更接近图像的脚注,请尝试:
\deffootnote{0.5em}{0em}{\textsuperscript{\thefootnotemark}\,}
这使
答案2
另一个解决方案(取自https://latex.org/forum/viewtopic.php?t=11152)具有左对齐段落的是
\makeatletter
\renewcommand\@makefntext[1]{%
\setlength\parindent{1em}%
\noindent
\mbox{\textsuperscript{\@thefnmark}\,}{#1}}
\makeatother
给出如下脚注
在你的序言中现在这样写道
%...
% two column
\usepackage{paracol}
\setlength{\columnsep}{1cm}
\makeatletter
\renewcommand\@makefntext[1]{%
\setlength\parindent{1em}%
\noindent
\mbox{\textsuperscript{\@thefnmark}\,}{#1}}
\makeatother
%...
产生