使用 \mathsf 时标题不合理

使用 \mathsf 时标题不合理

对于使用IEEE 访问模板对我来说子图有问题(包含代码的整个文件可以从这里)需要使用

\usepackage[caption=false]{subfig}

但是,我注意到当使用$\mathsf{M}$内部标题时,生成的标题不是对齐格式。如何解决这个问题?

最小代码:

\documentclass{ieeeaccess}
\usepackage[noadjust]{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
        T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\usepackage{accents}
\usepackage{stmaryrd}
\usepackage{mathtools}
\usepackage[mathscr]{euscript}
\let \eucal \mathscr

\usepackage{amsmath,amsthm}


\usepackage{dblfloatfix}
\usepackage[Symbol]{upgreek}

\usepackage[caption=false]{subfig}


\begin{document}
    
\begin{figure}[t!]
    %   \vspace*{-5mm}
    \subfloat[]{
        \includegraphics[scale=0.77]{fig1.png}
    }
    \label{channel1}
    \subfloat[]{
        \includegraphics[scale=0.77]{fig1.png}
    }
    \label{fig1}
    \caption[fig1]{If 
        your native language is not English, please get a native English-speaking 
        colleague to carefully proofread your paper. $\mathsf{M}$ spelling.  If 
        your native language is not English, please get a native English-speaking 
        colleague to carefully proofread your paper.}
    \label{fig:fig1}
\end{figure}




\EOD
    
\end{document}

答案1

据我所知,ieeeaccess没有支持多个子浮点数的规定。

在下面的代码中,我将展示如何诱使它生成正确的标题。我还展示了该类使用的图形的标准语法,以表明标题的排版方式类似,并且\mathsf与问题无关。

请谨慎使用此功能,因为 IEEE 的人可能会因不符合要求而拒绝您的手稿。

\documentclass{ieeeaccess}
\usepackage[noadjust]{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{accents}
\usepackage{stmaryrd}
\usepackage{mathtools}
\usepackage[mathscr]{euscript}
\let \eucal \mathscr

\usepackage{amsmath,amsthm}


\usepackage{dblfloatfix}
\usepackage[Symbol]{upgreek}

\usepackage[caption=false]{subfig}

\usepackage{lipsum}% just for the example


\begin{document}

\lipsum[1][1-4]

\begin{figure}[!t]
\centering
\edef\xfigwd{\the\columnwidth}% to trick IEEEaccess

\subfloat[]{%
   \includegraphics[width=0.4\linewidth]{example-image}\label{channel1}%
}\quad
\subfloat[]{%
  \includegraphics[width=0.4\linewidth]{example-image}\label{fig1}%
}

\caption{If your native language is not English, please get a native English-speaking 
        colleague to carefully proofread your paper. $\mathsf{M}$ spelling.  If 
        your native language is not English, please get a native English-speaking 
        colleague to carefully proofread your paper.}
    \label{fig:fig1}
\end{figure}

\lipsum[2][1-3]

\Figure[t!][width=0.9\columnwidth]{example-image}{%
  If your native language is not English, please get a native English-speaking
  colleague to carefully proofread your paper. If
  your native language is not English, please get a native English-speaking
  colleague to carefully proofread your paper.\label{another}}

\lipsum[1-12]

\EOD
    
\end{document}

在此处输入图片描述

相关内容