I want to change the symbols of footnotes inside mdframed. I found there is quite simple solution for that, in this very very helpful answer to the same problem.
I applied it and it works but the symbols, asterinks, daggers etc, are aligned to the text and not raised as the footnotes usually are.
I tried to raise them with raisebox
\documentclass[9pt,twoside,openright,showtrims]{memoir}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{mathspec,xltxtra}
\usepackage{url,graphicx}
\usepackage{polyglossia}
\usepackage{geometry}
\usepackage{layouts}
\usepackage{calc}
\usepackage{tablefootnote}
\usepackage[framemethod=PSTricks,tikz]{mdframed}
\makeatletter
\AtBeginEnvironment{mdframed}{%
\def\@fnsymbol#1{\ensuremath{\ifcase#1\or \dagger\or \ddagger\or
\mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
\or \ddagger\ddagger \else\@ctrerr\fi}}%
}
\renewcommand\thempfootnote{\raisebox{.8ex}{\small \fnsymbol{mpfootnote}}}
\makeatother
but i get errors. The asterisk is raised in the mark but i get this at the end of the frame.
Actually, i had the same problem even before i changed the numbering to symbols. By default, the numbering was a, b, c..., even then, they were not raised.
Do you have any ideas for a way to raise them without errors?
xltxtra
: tex.stackexchange.com/a/80028. The package redefines\textsuperscript
…xltxtra
with theno-sscript
option if you like\usepackage[no-sscript]{xltxtra}
. On the other hand: if you don't even know why you're loading it you might as well leave it out.