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

\mbox - TeX命令



mbox

\mbox - 创建一个刚好足以容纳其参数中文本的方框;文本中不允许换行;文本以\rm显示。

概要

{ \mbox <text argument>}

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

描述

\mbox 命令创建一个刚好足以容纳其参数中文本的方框;文本中不允许换行;文本以\rm显示。

示例

  1. a + b \mbox{ (are you paying attention?) } = c
    a+b (are you paying attention?) =c
  2. a + b \text{ (are you paying attention?) } = c
    a+b (are you paying attention?) =c
广告