Using pos option in chemnum changes the size of some labels

自闭症网瘾萝莉.ら 提交于 2021-01-29 10:30:24

问题


I am using pos options to change the alignment of chemnum tags. However, it changes the size of the labels. It appears to negate the defined font size in the preamble. What options am I missing?

MWE eps file:

https://drive.google.com/file/d/1ePJGhcUoorYQgAN_DR0A89RZFwWnIGtm/view?usp=sharing

MWE code:

\documentclass[12pt]{report}
\usepackage[crop=off]{auto-pst-pdf}
\usepackage{chemstyle}
\usepackage{chemnum}
\usepackage{ifpdf}
\ifpdf
\usepackage{tikz}
\fi
\setchemnum{
    replace-style = \fontsize{10}{12}\rmfamily
}
\usepackage{graphicx}

\begin{document}
    
\begin{figure}[H]
    \centering
    \replacecmpd[pos = rr]{A}
    \replacecmpd[pos = rr]{B}   
    \includegraphics[width=1\textwidth]{MWE2.eps}
    \caption{}
\end{figure}


\end{document}

This is the output of the MWE. The font size of the first two labels are larger than what I define in the preamble.

Thank you in advance for any help.

来源:https://stackoverflow.com/questions/65805121/using-pos-option-in-chemnum-changes-the-size-of-some-labels

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!