我的最小例子:
\documentclass[a4paper,12pt]{article}
\usepackage{cmap}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{multicol}
\author{Имя Автора}
\title{1.1 Наш первый документ}
\date{\today}
\begin{document}
\maketitle
Привет, мир!
\section*{Введение}
m quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi\footnote{Sed ut perspiciatis, unde omnis iste natus error si} optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudi
\end{document}
\end{document}
答案1
我建议你加载脚杂包中的选项可hang
帮助您实现目标。脚注标记与脚注文本开头之间的距离由参数决定\footnotemargin
。
下面的截图仅显示了下面 MWE 生成的脚注。
\documentclass[a4paper,12pt]{article}
\usepackage{cmap}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{multicol}
\usepackage[hang]{footmisc}
\setlength\footnotemargin{1em} % default value: 1.8em
\begin{document}
m quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi.\footnote{Sed ut perspiciatis, unde omnis iste natus error si}
\end{document}
答案2
最后,这取决于脚注的外观。一种方法是让脚注编号独立,并使用左右对齐的块作为脚注文本。
您可以使用以下 MWE 获得它(要更改脚注,请参阅\makeatletter
和之间的行\makeatother
):
\documentclass[a4paper,12pt]{article}
\usepackage{cmap}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[%
english,
% russian
]{babel}
\usepackage{multicol}
\makeatletter
\renewcommand{\@makefntext}[1]{%
\setlength{\parindent}{0pt}%
\begin{list}{}{\setlength{\labelwidth}{1.5em}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{3pt}%
\setlength{\itemsep}{0pt}%
\setlength{\parsep}{0pt}%
\setlength{\topsep}{0pt}%
% \setlength{\rightmargin}{0.2\textwidth}%
\footnotesize}%
\item[\@makefnmark\hfil]#1%
\end{list}%
}
\makeatother
\author{Имя Автора}
\title{1.1 Наш первый документ}
\date{\today}
\begin{document}
\maketitle
Привет, мир!
\section*{Введение}
m quidem rerum facilis est et expedita distinctio. Nam libero tempore,
cum soluta nobis est eligendi\footnote{Sed
ut perspiciatis, unde omnis iste natus error si. Optio, cumque nihil
impedit, quo minus id, quod maxime placeat, facere possimus, omnis
voluptas assumenda est, omnis dolor repellendus.}
optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudi
\end{document}
结果
答案3
使用类似的包footmisc.sty
绝对是个好主意,但是对于这种改变,在classes.pdf
(try texdoc classes
) 中也有一个很好的代码片段:
8.4 脚注
下面的一段 TEX 代码给出了可以实现的示例。
\newcommand\@makefntext[1]{% \@setpar{\@@par \@tempdima = \hsize \advance\@tempdima-10pt \parshape \@ne 10pt \@tempdima}% \par \parindent 1em\noindent \hbox to \z@{\hss\@makefnmark}#1}
此定义的效果是,脚注的所有行都缩进 10pt,而新段落的第一行缩进 1em。要更改这些尺寸,只需将“10pt”(两处)或“1em”替换为所需值。标记与脚注齐平。
您可以根据需要调整代码;这里有一个丑陋的例子用于演示:
\documentclass[a4paper,12pt]{book}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[pdftex]{color}
\makeatletter
\renewcommand\@makefntext[1]{%
\@setpar{\@@par
\@tempdima=\hsize
\advance\@tempdima by -15pt
\parshape \@ne 15pt \@tempdima}%
\par
\parindent 1em\noindent
\hbox to 0pt{%
\hss\hbox to 15pt{%
{\color{blue}\itshape\@thefnmark}\color{magenta}\bfseries.\hss
}%
}%
#1}
\makeatother
\begin{document}
Привет, мир!
\section*{Введение}
m quidem rerum facilis est et expedita distinctio. Nam libero tempore,
cum soluta nobis est eligendi\footnote{Sed ut perspiciatis, unde omnis
iste natus error si. Sed ut perspiciatis, unde omnis iste natus
error, si. \par Sed ut perspiciatis, unde omnis iste natus error
si.} optio, cumque nihil impedit, quo minus id, quod maxime
placeat, facere possimus, omnis voluptas assumenda est, omnis dolor
repellendus. \par\vfill
\noindent Temporibus autem quibusdam et aut officiis debitis aut rerum
necessitatibus saepe eveniet, ut et voluptates repudi
\end{document}
答案4
您可以加载 KOMA-Script 包scrextend
并使用 KOMA\deffootnote
自定义脚注外观:
\usepackage{scrextend}
\deffootnote[1em]{1.5em}{1em}{%
\makebox[1em][l]{\textsuperscript{\thefootnotemark}}%
}
\deffootnote
工作原理如下:
\deffootnote[width of mark]{indent of footnote text}
{paragraph indent in a footnote}
{definition of the mark}
definition of the mark
您可以在里面使用\thefootnotemark
它来参考实际的标记。
\documentclass[a4paper,12pt]{article}
\usepackage{cmap}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{multicol}
\usepackage{scrextend}
\deffootnote[1em]{1.5em}{1em}{%
\makebox[1em][l]{\textsuperscript{\thefootnotemark}}%
}
\author{Имя Автора}
\title{1.1 Наш первый документ}
\date{\today}
\begin{document}
\maketitle
Привет, мир!
\section*{Введение}
m quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum
soluta nobis est eligendi\footnote{Sed ut perspiciatis, unde omnis iste natus
error si} optio, cumque nihil impedit, quo minus id, quod maxime placeat,
facere possimus, omnis voluptas assumenda est, omnis dolor
repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum
necessitatibus saepe eveniet, ut et voluptates repudi
\end{document}