如何才能获得脚注旁边的边距 fxnote?

如何才能获得脚注旁边的边距 fxnote?

我想要一个指向脚注的边距 fxnote。

我读到过,图表中不能有标题:图表或表格的标题中可以有 fxnotes 吗?,脚注也是一样吗?

\documentclass[11pt,openright]{book}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage[draft,silent,margin,author=Note]{fixme}
\fxsetup{theme=color,marginface=\singlespacing\footnotesize}
\setlength{\marginparwidth}{3cm}\reversemarginpar 

\begin{document}

This is the kind of fxnote I like for normal text.\fxnote{My note.}
I would like to have a fxnote in a footnote, something like this:\footnote{This\fxnote{This is a fxnote in the footnote.} is a footnote.} (but of course it doesn't work).

\end{document}

答案1

正如所建议的,这是一个纯粹的fixme解决方案。正如使用marginnote布局所提到的,注释几乎可以在任何地方添加。我添加了innerlayout=noinline,然后边距注释也可以在浮动内使用(通常使用内联)。

\documentclass[11pt,openright]{book}
\usepackage[T1]{fontenc}
\usepackage[draft]{fixme}
\fxsetup{
  layout=marginnote,
  marginface=\tiny,
 inlineface=,
 innerlayout=noinline,% not really relevant in this example, but nice to have
}
\setlength{\marginparwidth}{3cm}

\begin{document}

This is the kind of fxnote I like for normal text.\fxnote{My note.}
I would like to have a fxnote in a footnote, something like this:%
\footnote{This \fxnote{This is a fxnote in the footnote.} is a footnote.} 


\end{document}

答案2

您可以伪造它,正如我下面用虚构的 做的那样\Fxnote

\documentclass[11pt,openright]{book}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage[draft,silent,margin,author=Note]{fixme}
\fxsetup{theme=color,marginface=\singlespacing\footnotesize}
\setlength{\marginparwidth}{3cm}\reversemarginpar 
\usepackage{tabto,xcolor}
\newcommand\Fxnote[1]{\tabto*{-\marginparwidth}\smash{\raisebox{\baselineskip}{%
  \parbox[t]{\dimexpr\marginparwidth-7pt}{\raggedleft%
  \color{green!50!black}\singlespacing\footnotesize Note: #1}}}\tabto*{\TabPrevPos}}

\begin{document}

This is the kind of fxnote I like for normal text.\fxnote{My note.}
I would like to have a fxnote in a footnote, something like this:%
\footnote{This \Fxnote{This is a fxnote in the footnote.} is a footnote.} 
(but of course it doesn't work).

Here is my own Fxnote\Fxnote{My note.}.

\end{document}

在此处输入图片描述

相关内容