Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64b72b6

Browse files
committed
Define \seerfc within the seealso environment.
1 parent 37cc0c0 commit 64b72b6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,11 +908,20 @@
908908
\end{fulllineitems}
909909
}
910910
}
911+
% \seerfc{number}{title}{why it's interesting}
912+
\newcommand{\py@seerfc}[3]{%
913+
\par%
914+
\begin{fulllineitems}
915+
\item[\rfc{#1}, ``\emph{#2}'']
916+
#3
917+
\end{fulllineitems}
918+
}
911919
\newenvironment{seealso}[0]{
912920
\par
913921
\strong{See Also:}\par
914922
\def\seetext##1{\par{##1}}
915923
\let\seemodule=\py@seemodule
924+
\let\seerfc=\py@seerfc
916925
}{\par}
917926

918927

0 commit comments

Comments
 (0)