\mbox - TeX命令



mbox

\mbox - 建立一個剛好足以容納其引數中文字的方框;文字中不允許換行;文字以\rm顯示。

概要

{ \mbox <text argument>}

描述

\mbox 命令建立一個剛好足以容納其引數中文字的方框;文字中不允許換行;文字以\rm顯示。

示例

  1. a + b \mbox{ (are you paying attention?) } = c
    $ a + b \mbox{ (are you paying attention?) } = c $
  2. a + b \text{ (are you paying attention?) } = c
    $ a + b \text{ (are you paying attention?) } = c $
廣告
© . All rights reserved.