![如何使脚注的*特定*部分左对齐?](https://linux22.com/image/368130/%E5%A6%82%E4%BD%95%E4%BD%BF%E8%84%9A%E6%B3%A8%E7%9A%84*%E7%89%B9%E5%AE%9A*%E9%83%A8%E5%88%86%E5%B7%A6%E5%AF%B9%E9%BD%90%EF%BC%9F.png)
我读过很多关于使脚注左对齐的文章一般来说,但我还没有找到任何可以让我左对齐的东西特别的脚注的各个部分。
例如,我希望我的脚注如下所示:
1 This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number. The new
paragraph contains a link and should look like this:
Source: http://www.example.com/this-is-a-very-long-link-whichs-words-are-separated-by-
hyphens-note-that-the-second-paragraph-contains-the-link-and-should-be-left-justified-
like-this
答案1
插入一个新段落并使用以下方式设置段落\raggedright
:
\documentclass{article}
\usepackage[hyphens]{url}
%\usepackage{hyperref} % If you're using hyperref
\begin{document}
First\footnote{This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number.
This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number.}
Second\footnote{This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number. The new
paragraph contains a link and should look like this:
\raggedright
Source: \url{http://www.example.com/this-is-a-very-long-link-which-words-are-separated-by-hyphens-note-that-the-second-paragraph-contains-the-link-and-should-be-left-justified-like-this}}
Third\footnote{This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number.
This is justified text. Note that there is an indent at the beginning of the footnote
which prevents the second line from continuing below the footnote number.}
\end{document}