页面底部的问题和脚注

页面底部的问题和脚注

我正在尝试重新格式化一些讨论文章(旧岗楼我发现一篇文章变成了双栏式。文章中的问题在段落之前,我想将其重新格式化为现代设计,让问题出现在页面底部(像脚注一样),而不是出现在段落之前,有没有办法在不覆盖脚注本身的情况下做到这一点?

我并不擅长解释细节,但这是我计划格式化文档的方式:

1. Paragraph paragraph   3. Paragraph paragraph para-
paragraph paragraph pa-     graph paragraph paragraph
paragraph paragraph pa-     text text text text text
ragraph words words wo-     text text tex tex tex tex
rds words words words       TeX TeX TeX TeX TeX TeX
words words words words     LaTeX LaTeX LaTeX LaTeX

2. things things things  4. stack over flow stack over
things things things        stack over flow stack over
things things things wi-    flow stack over flow steak
ngs wings wings wings       over flow etc etc etc etc
random random random ran-   etc etc etc etc etc etc etc
dom*                        etc etc etc etc etc etc etc
----
*random footnote
----
1. Question question      3. Another Question
2. Inquiry inquiry        4. Another another question
inquiry

请注意,问题和脚注都有自己的部分。我将尽我所能澄清问题,但如果图表不够清晰,这正是我想要实现的:

在此处输入图片描述

答案1

欢迎来到 TeX.SE...希望以下内容能对您有所帮助...

\documentclass[twocolumn]{book}
\usepackage[]{manyfoot}
\usepackage{lipsum}

\DeclareNewFootnote{A}[alph]

\begin{document}

This is for test\footnote{\lipsum[1]}\footnoteA{\lipsum[2]}\lipsum[1-2]

This is for test\footnote{\lipsum[2]}\lipsum[3-4]

This is for test\footnote{\lipsum[3]}\lipsum[5-6]


\end{document}

答案2

MadyYum 答案的修改版本。请注意,\@makefntext是在文档类中定义的。

\documentclass[twocolumn]{book}
\usepackage[]{manyfoot}
\usepackage{lipsum}

\makeatletter
\newcommand{\myfntext}[1]{% to replace \@makefntext
    \parindent 1em%
    \noindent
    \hbox to 1.8em{\normalfont\@thefnmark.\hfil}#1}
\newcommand{\resetmark}{\let\@makefntext\myfntext}
\makeatother

\SelectFootnoteRule{default}
\SetFootnoteHook{\resetmark\normalsize}
\DeclareNewFootnote{A}

\begin{document}

This is for test\footnote{\textit{\lipsum[1]}}

\refstepcounter{footnoteA}%
Question \thefootnoteA.~\footnotetextA{\lipsum[1]}

\lipsum[1-2]

This is for test\footnote{\lipsum[2]}\lipsum[3-4]

This is for test\footnote{\lipsum[3]}\lipsum[5-6]


\end{document}

答案3

bigfoot以下是我使用包(只是的超集manyfoot)和非常规使用的看法xsim

\documentclass[twocolumn]{article}

\usepackage[no-files]{xsim}
\usepackage{bigfoot}
\usepackage{lipsum}

\DeclareExerciseProperty{par}
\DeclareExerciseEnvironmentTemplate{footnote}{}{}
\makeatletter
\xsimsetup{
  exercise/template=footnote,
  exercise/print=false,
  exercise/print-false-hook=
    \renewcommand\@makefntext[1]{#1}%
    \footnotetextquestion{%
      \sffamily
      \GetExercisePropertyTF{par}{#1 }{\arabic{par}. }
      \GetExerciseProperty{exercise-body}%
    }%
}
\makeatother

\DeclareNewFootnote{default}
\SelectFootnoteRule{default}
\DeclareNewFootnote{question}
\renewcommand\thefootnote{\fnsymbol{footnote}}

\newcounter{par}
\newcommand\setpar{%
  \leavevmode
  \stepcounter{par}%
  \llap{\textsuperscript{\arabic{par}}\space}%
}
\renewcommand\thepar{\arabic{par}.}

\begin{document}

\setpar\lipsum[1]\footnote{random footnote}
\begin{exercise}
  Question question
\end{exercise}

\setpar\lipsum[2]
\setpar\lipsum[3]
\begin{exercise}[par={2, 3.}]
  Inquiry inquiry inquiry
\end{exercise}

\setpar\lipsum[4]
\setpar\lipsum[5]
\begin{exercise}[par={4, 5.}]
  (a) Another question. (b) And even more questions.
\end{exercise}

\setpar\lipsum[6]\footnote{Some footnote}

\setpar\lipsum[7]

\end{document}

在此处输入图片描述

相关内容