我如何在乳膠中寫倒問號..通常,>顯示為倒問號,但當放入方程式設定時,它給出大於..那麼我如何在方程式設定中獲得倒問號。我已經嘗試過 ?` 但它沒有出現,我也嘗試放入 \mbox 或 \text 但出現錯誤 >
\begin{equation}\label{eq8}
sr = \frac{G_{>}}{T_{runs}} \times 100
\end{equation}
答案1
\text 對我來說效果很好:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\begin{document}
?`abc? $\text{?`}a=b$
\end{document}
答案2
不要設定多個字母標識符,例如數學斜體的運行,使用\mathrm{runs}
或\mathit{runs}
對於問號
\mbox{?`}
或者
\mbox{¿}
如果您已指定
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
請注意,>
如果使用原始 7 位元 OT1 編碼,則僅排版為 ¿ ,如果使用 T1(或任何其他編碼), >
則排版為 >。
答案3
https://en.wikipedia.org/wiki/Inverted_question_and_exclamation_marks#Input_methods_for_LaTeX
這裡說你可以用\textquestiondown
or\textexclaimdown
來顛倒?
or !
。
答案4
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\DeclareMathSymbol{\invques}{\mathord}{operators}{`>}
\DeclareUnicodeCharacter{00BF}{\tmquestiondown}
\DeclareRobustCommand{\tmquestiondown}{%
\ifmmode\invques\else\textquestiondown\fi
}
\begin{document}
\tableofcontents
\section{¿Qué tal? $G_{¿}$}
¿Qué tal? $G_{¿}$
\end{document}
_{\invques}
當然,您也可以使用。