Tikz: 노드 외부에서 "각주/각주"의 일반적인 형식이나 동작을 얻는 방법은 무엇입니까?

Tikz: 노드 외부에서 "각주/각주"의 일반적인 형식이나 동작을 얻는 방법은 무엇입니까?

나는 정의된 인용 환경을 사용했고 노드 외부에 \footnote 또는 \footcite(참조용)를 표시하기 위해 다음 스레드를 읽었습니다.노드의 각주를 밖으로 이동하는 방법각주 패키지를 사용하고 savenotes 환경에서 tikzpicture를 래핑해야 합니다. 실제로 효과가 있었습니다. 그런데 각주에 긴 '형식'을 사용하거나 "\footcite"를 사용하면 출력이 이상합니다. 예를 들어 너비가 내 텍스트의 다른 각주와 동일하지 않습니다. 분명히 각주는 인용문의 너비를 사용합니다. 어떤 종류의 도움이라도 감사하겠습니다. 매우 감사합니다

\documentclass[oneside, a4paper, 12pt, french]{book}
\usepackage[utf8]{inputenc}
\usepackage{libertine}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage{libertinust1math}
\usepackage{babel}
\usepackage[margin=2.5cm, top=3cm, headheight=26pt, headsep=25pt, heightrounded]{geometry}
\frenchbsetup{FrenchFootnotes=false} 
\usepackage[hang,flushmargin]{footmisc}
\usepackage[babel,french=guillemets]{csquotes}
\usepackage{graphicx}
\usepackage[dvipsnames, svgnames, table]{xcolor}
\usepackage{multirow, booktabs, hhline}
\usepackage{xltabular, siunitx, lscape}
\newcounter{tabenum}
\setlength{\extrarowheight}{3pt}
\usepackage{xfrac}
\usepackage{refcount}
\usepackage{tikz}
\usetikzlibrary{backgrounds}
\usepackage{tikzpagenodes}
\usepackage{xspace}
\usepackage{setspace} 
\usepackage[parfill]{parskip} 
\usepackage[explicit, clearempty]{titlesec}
 \usepackage{etoolbox}%
 \usepackage{appendix}
 \usepackage{adjustbox}

 \usepackage{smartdiagram}
 \usepackage[hyperfootnotes=false,colorlinks=true,breaklinks]{hyperref}
 \AtBeginEnvironment{footcitedquote}{\singlespacing\small}
 \AtBeginEnvironment{fancyquotes}{\small}
 \usepackage{footnote}
 \makesavenoteenv{tabular}
 \makesavenoteenv{table}
 \spacing{1.45}



\makeatletter
\tikzset{%
fancy quotes/.style={
text width=\fq@width pt,
align=justify,
inner sep=1em,
anchor=north west,
minimum width=\linewidth,
},
fancy quotes width/.initial={.8\linewidth},
fancy quotes marks/.style={
scale=8,
text=white,
inner sep=0pt,
},
fancy quotes opening/.style={
fancy quotes marks,
},
fancy quotes closing/.style={
fancy quotes marks, 
},
fancy quotes background/.style={
show background rectangle,
inner frame xsep=0pt,
background rectangle/.style={
fill=gray!25,
rounded corners,
},
}
}

\newenvironment{fancyquotes}[1][]{%
\noindent
\begin{savenotes} 
\tikzpicture[fancy quotes background]
\node[fancy quotes opening,anchor=north west] (fq@ul) at (0,0) {``};
\tikz@scan@one@point\pgfutil@firstofone([email protected])
\pgfmathsetmacro{\fq@width}{\linewidth - 2*\pgf@x}
\node[fancy quotes,#1] (fq@txt) at ([email protected] west) \bgroup}
 {\egroup;
 \node[overlay,fancy quotes closing,anchor=east] at ([email protected] east) 
 {''};
\endtikzpicture
\end{savenotes}
\makeatother
 }

 \begin{document}
 Some text Some text Some text Some text Some text Some text Some text Some 
 text Some text Some text Some text Some text Some text Some text Some text  
 Some text Some text \footnote{SSome text Some text Some text Some text Some 
 text Some text Some text  Some text Some text Some text Some text Some text}

\begin{fancyquotes}
    Comme le chœur des vieillards dans la tragédie antique, ils assistent muets aux actes décisifs; ils ne se mettent en mouvement que pour louer ou gémir, après l'événement qui donne raison ou tort aux protagonistes. La fiction d'une absente présence est commode au théâtre où tout est fiction.\footnote{Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text Some text}

\end{fancyquotes}

\end{document}

편집됨: 여기에 내가 얻은 출력이 있습니다.여기에 이미지 설명을 입력하세요

관련 정보