使用外部 .png 符号作为 \thanks 符号

使用外部 .png 符号作为 \thanks 符号

如何添加外部符号(例如wineglass.png)用作脚注符号?我想用\thanks替换标准。*wineglass.png

我目前正在尝试

\documentclass[a4paper, leqno,xcolor=dvipsnames]{scrartcl}
\usepackage{footmisc}
\newcommand*\wine{\includegraphics{wineglass}}
\DefineFNsymbols*{woexl}{\wine\dagger\ddagger\S\P\|%
{**}{\dagger\dagger}{\ddagger\ddagger}}

\makeatletter
\setfnsymbol{woexl}
\makeatother

\title{Title}
\author{Author\thanks{Institution}}

\begin{document}
\maketitle
\end{document}

答案1

确保您\protect\includegraphics并适当调整其大小:

在此处输入图片描述

\documentclass{scrartcl}

\usepackage{footmisc,graphicx}

\newcommand*\wine{\protect\includegraphics[height=.5em]{example-image}}
\DefineFNsymbols*{woexl}{\wine\dagger\ddagger\S\P\|%
{**}{\dagger\dagger}{\ddagger\ddagger}}

\setfnsymbol{woexl}

\title{Title}
\author{Author\thanks{Institution}}

\begin{document}
\maketitle
\end{document}

相关内容