我有一个等式,但我想让数学等式里面的特定符号变得更大。
例如:
$$f(x) = \large{X} * y^2$$
。
我想做得X
超大。有什么想法吗?
答案1
relsize
包将按照 Bernard 所述执行。使用多个\mathlarger
可能对您来说有效。
\documentclass[10pt]{article}
\usepackage{amsmath}
\usepackage{relsize}
\begin{document}
$$f(x) = X \times y^2$$
$$f(x) = \mathlarger{X} \times y^2$$
$$f(x) = \mathlarger{\mathlarger{X}} \times y^2$$
$$f(x) = \mathlarger{\mathlarger{\mathlarger{X}}} \times y^2$$
$$f(x) = \mathlarger{\mathlarger{\mathlarger{X}}} \mathlarger{\mathlarger{\times}} y^2$$
%increasing spacing after \times
$$f(x) = \mathlarger{\mathlarger{\mathlarger{X}}} \mathlarger{\mathlarger{\times}} \, y^2$$
\end{document}