Loading [MathJax]/jax/output/HTML-CSS/jax.js

\style - LaTeX命令



样式

\style - 用于为数学公式应用CSS样式。

概要

{ \style #1 #2}

Explore our latest online courses and learn new skills at your own pace. Enroll and become a certified expert to boost your career.

描述

\style 命令用于为数学公式应用CSS样式。

选项

输入描述
#1CSS样式声明。
#2需要设置样式的数学公式。

示例

  1. \frac{\style{color:red}{x+1}}{y+2}
    x+1y+2
  2. \style{background-color:yellow}{\frac{x+1}{y+2}}
    x+1y+2
广告