1

Based on this answer from esdd it is possible to customize the appearance of parnotes globally for a whole document.

However, I would like to customize the parnotes only for single usage in one single table, the rest should remain in standard format.


Minimum Working Example (MWE):

\documentclass{article}
\usepackage{parnotes}
\usepackage{tabularx}

\begin{document}
\begin{table}[htbp]
    \begin{tabularx}{\textwidth}{|l|l|l|l|}
        \parnoteclear
        Bla\parnote{First parnote} & Blub\parnote{Second parnote} & Blab\parnote{Third parnote} & Blob\parnote{Fourth parnote}\\
        \end{tabularx}
        \parnotes
\end{table}
\end{document}

Screenshot of the result:

Screenshot of the result


Description of the issue:

How can I edit this command to let the parnotes appear in this style:

A: This is the parnote text

(Alphabetic letters instead of numbers, and these letters written in \normalsize\alph font instead of \textsuperscript)


Update:

Subham Soni mentioned to change the deprecated command to \renewcommand{\parnotefmt}[1]{\normalsize} - thanks! But I still don't know how to change the numbering to \alph and how to write the letters in normal text size?

  • I don't know which version of parnotes you are using. I get the following error provided in the parnotes documentation: You can no longer redefine \parnotemarkfmt. Use \theparnotemark and \parnotecusmarkfmt instead – subham soni Mar 30 at 10:01
  • @subhamsoni: Thanks for your comment! But how can I let the parnote symbol appear in normal text size and not as \textsuperscript? – Dave Mar 30 at 11:15
2

Using parnotes 2016/08/15 rev. 3

\documentclass{article}
\usepackage{parnotes}
\usepackage{tabularx}
\makeatletter
\newcommand{\uglyparnote}{% local change
  \def\theparnotemark{\Alph{parnotemark}}%
  \def\parnotecusmarkfmt##1{~##1}%
  \long\def\parnotefmt##1{\normalsize%
                \PN@notes@shape\PN@narrower@optional\noindent ##1}%
  \long\def\PN@parnote@real##1##2{%
    \parnotemark{##1}%
    % Unless this is the first parnote in \PN@text, add a separator first
    \unless\ifx\PN@text\@empty\g@addto@macro\PN@text{\parnoteintercmd}\fi
    % Redefine \@currentlabel to the parnote label, so \label works
    \g@addto@macro\PN@text{\phantomsection\def\@currentlabel{##1}}%
    \g@addto@macro\PN@text{##1:~\nolinebreak\thinspace##2}%
 }}
\makeatother
\begin{document}
\begin{table}[htbp]
    \uglyparnote
    \begin{tabularx}{\textwidth}{|l|l|l|l|}
        \parnoteclear
        Bla\parnote{First parnote} & Blub\parnote{Second parnote} & Blab\parnote{Third parnote} & Blob\parnote{Fourth parnote}\\
    \end{tabularx}
    \parnotes
\end{table}
\end{document}

demo

  • Thanks a lot! I would also like to write the parnote symbol behind the source position as normal text (no textsuperscript) - would this be possible? In the result it should look like "Bla A". – Dave Mar 30 at 22:58
  • Possible. Are you sure you want to do this? – John Kormylo Mar 31 at 1:45
  • Thank you very much! Yes, I want to do this. :-) The reason is: I have a table with several columns including values. In the last column of this table I want to write some shortcut to an authors name who has published the belonging values. Unfortunately the authors names are too long to put it in the last column, therefore I want to place it below the table as parnotes. I hope this is legitim? :-) – Dave Mar 31 at 9:31
  • There are a number of ways to achieve this effect, such as threeparttable or just \hyperlink and \hypertarget. – John Kormylo Mar 31 at 17:47
  • So you would recommend to not use this modified parnote but better use a different solution like mentioned in your comment? – Dave Mar 31 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.