您可以看到,在平均能量损失下面的引文带有标题臭名昭著的引言的严肃标题。我希望在该标题旁边有一个脚注标记(您可能会说这并不难)。
但困难的是,我希望那个脚注的文本(应该是\footfullcite{
... }
)出现在其他脚注下方(但仍在里面mdframe
)。
我也想那个脚注的文本出现在另一文本下方\textcolor{blue}{\rule{\textwidth}{0.3mm}}
(因此应该将其他脚注分隔在其顶部;并且那个脚注在其底部)。
那个脚注将是引文来源的书目参考。
重要提示:\footnotemark
我知道在所有其他脚注上使用s 和s是可能的\footnotetext
,但我不想大幅改变所有其他脚注的代码(它们可能有很多,而且我不想花时间将新的\footnotemark
s 连接到新的\footnotetext
s)。
只是一个想法:我曾想过Mdframed
在里面添加一个额外的引用者- Mdframed
,其中内部包含整个引文(但不包含标题,并且那个脚注)和所有其他脚注。Mdframed
然后应该定制内部,以便它不会以任何布局出现在最终用户面前;至少在最小情况下。但是,也许有一个更容易和更好的环境可以放在引用者- Mdframed
,而不是额外的Mdframed
?
平均能量损失
(最简单的方法可能是编译pdflatexmk,在 1 次编译运行中)
\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usetikzlibrary{calc}
\begin{filecontents}{bibliography.bib}
@book{Reference1,
author = {{Lipsum guy}},
title = {I wrote about Lipsum},
year = {2000},
publisher = {Lipsum publisher}}
\end{filecontents}
\usepackage{bibentry}
\usepackage[backend=bibtex, firstinits=true, maxnames=99,bibstyle=numeric-comp, citestyle=numeric-comp]{biblatex}
\addbibresource{bibliography.bib}
\newcounter{quote}
\newmdenv[
hidealllines=true,
innertopmargin=12pt,
innerbottommargin=10pt,
font=\sffamily\large,
leftmargin=-0.5cm,
rightmargin=-0.5cm,
skipabove=35pt,
skipbelow=12pt,
singleextra={
\coordinate (aux) at ( $ (O)!0.5!(P) $ );
\fill[rounded corners=6pt,line width=1pt,blue!30]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) {[sharp corners] --
([yshift=-6pt]P) --
([yshift=-6pt]O|-P) } -- cycle;
\draw[rounded corners=6pt,line width=1pt,blue]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) --
(P|-O) --
(O) -- cycle;
\node at ([xshift=2cm,yshift=3pt]aux|-P)
{\refstepcounter{quote}\sffamily\large Quote~\thequote} ;
},
firstextra={
\coordinate (aux) at ( $ (O)!0.5!(P|-O) $ );
\fill[rounded corners=6pt,line width=1pt,blue!30,overlay]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) {[sharp corners] --
([yshift=-6pt]P) --
([yshift=-6pt]O|-P) } -- cycle;
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O) --
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) --
(P|-O);
\node[overlay] at ([xshift=2cm,yshift=3pt]aux|-P)
{\refstepcounter{quote}\sffamily\large Quote~\thequote} ;
},
middleextra={
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O|-P) --
(O);
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(P) --
(P|-O);
},
secondextra={
\coordinate (aux) at ( $ (O)!0.5!(P|-O) $ );
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O|-P) --
(O) --
(P|-O) --
(P);
},
]{quoter}
\begin{document}
\begin{quoter}
\begin{flushright}
\vspace{0.5em}
\bfseries {Serious title of infamous quote}
\vspace{0.5em}
\textcolor{blue}{\rule{\textwidth}{0.3mm}}
\vspace{-1.5em}
\end{flushright}
(...) Lipsum (...)\footfullcite{Reference1} Wouldn't it be great, if all things\footnote{Can you see how the author here is very absolutist?} were slanted; then they would be straight? (...) Lipsum (...).
\end{quoter}
\end{document}
MWE 的电流输出
期望输出的示例
请不要介意字体和字体属性的差异。这只是一次无意义的照片编辑:
答案1
我想到的唯一办法就是tnote
使用threeparttable
,但没有任何表格。 并且按照您的建议在另一个内有一个简单的 mdframed,但不在 extras 内。
我试图模仿你的照片编辑希望它接近你的需要。
请注意,我使用的是 Biber 后端,因为我已经预先配置好了它。但bibtex
我想您可以毫无问题地使用它。
\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{threeparttable} %included package
\usetikzlibrary{calc}
\begin{filecontents}{bibliography.bib}
@book{Reference1,
author = {{Lipsum guy}},
title = {I wrote about Lipsum},
year = {2000},
publisher = {Lipsum publisher}}
\end{filecontents}
\usepackage{bibentry}
\usepackage[backend=biber, firstinits=true, maxnames=99,bibstyle=numeric-comp, citestyle=numeric-comp]{biblatex} %notice i'm using Biber backend!
\addbibresource{bibliography.bib}
\nobibliography* % i think you can remove this, can't remember why i added
\newcounter{quote}
\newmdenv[
hidealllines=true,
innertopmargin=12pt,
innerbottommargin=10pt,
font=\sffamily\large,
leftmargin=-0.5cm,
rightmargin=-0.5cm,
skipabove=35pt,
footnoteinside=true,
skipbelow=12pt,
singleextra={
\coordinate (aux) at ( $ (O)!0.5!(P) $ );
\fill[rounded corners=6pt,line width=1pt,blue!30]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) {[sharp corners] --
([yshift=-6pt]P) --
([yshift=-6pt]O|-P) } -- cycle;
\draw[rounded corners=6pt,line width=1pt,blue]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) --
(P|-O) --
(O) -- cycle;
\node at ([xshift=2cm,yshift=3pt]aux|-P)
{\refstepcounter{quote}\sffamily\large Quote~\thequote} ;
},
firstextra={
\coordinate (aux) at ( $ (O)!0.5!(P|-O) $ );
\fill[rounded corners=6pt,line width=1pt,blue!30,overlay]
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) {[sharp corners] --
([yshift=-6pt]P) --
([yshift=-6pt]O|-P) } -- cycle;
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O) --
(O|-P) --
(aux|-P) --
([yshift=12pt]aux|-P) --
([yshift=12pt,xshift=4cm]aux|-P) --
([xshift=4cm]aux|-P) --
(P) --
(P|-O);
\node[overlay] at ([xshift=2cm,yshift=3pt]aux|-P)
{\refstepcounter{quote}\sffamily\large Quote~\thequote} ;
},
middleextra={
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O|-P) --
(O);
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(P) --
(P|-O);
},
secondextra={
\coordinate (aux) at ( $ (O)!0.5!(P|-O) $ );
\draw[rounded corners=6pt,line width=1pt,blue,overlay]
(O|-P) --
(O) --
(P|-O) --
(P);
},
]{quoter}
\begin{document}
\begin{quoter}
\begin{threeparttable}
\begin{flushright}
\vspace{0.5em}
\bfseries {Serious title of infamous quote \tnote{1}}
\vspace{0.5em}
\textcolor{blue}{\rule{\textwidth}{0.3mm}}
\vspace{-1.5em}
\end{flushright}
\begin{mdframed}[default,linewidth=0pt]
(...) Lipsum (...)\footfullcite{Reference1} Wouldn't it be great, if all things\footnote{Can you see how the author here is very absolutist?} were slanted; then they would be straight? (...) Lipsum (...).
\end{mdframed}
\vspace{-1.5em} %you can adjust this if you wish
\textcolor{blue}{\rule{\textwidth}{0.3mm}}
\vspace{-0.5em} %you can adjust this if you wish
\begin{tablenotes}
%\item \small \fullcite{Reference1}
\item[1] \small This is the source of the quote. This book, that publisher, that page...
\end{tablenotes}
\end{threeparttable}
\end{quoter}
\end{document}