TeX/ifvbox
外觀
< TeX
\ifvbox<0..255> <tex-code-1> [\else <tex-code-2>] \fi
\ifvbox 命令表示一個 if-then-else 控制結構 的開始,其中 <0..255> 必須擴充套件為 0 到 255 之間的整數。如果 盒子暫存器 \box<0..255> 包含一個 垂直盒子,則處理 <tex-code-1> 並忽略 <tex-code-2>(如果包含 \else 部分)。如果 \box<0..255> 不包含 垂直盒子,則忽略 <tex-code-1> 並處理 <tex-code-2>(如果包含 \else 部分)。