我尝试使用\makebox
单词,但是所有文本都在同一行,为什么?这是我的代码,有人能帮助我吗?
\fbox{\makebox[10cm]{$(t_{SS}{+}t_{MS}{\leq}t_{FS}){\land}(t_{FS}{\leq}t_{BS}){\land}(t_{SS}{+}t_{MS}{+}t_{FS}{+}t_{BS}{\leq}3)$\\
$(t_{SS}{+}t_{MS}{\leq}t_{BS}){\land}(t_{BS}{\leq}t_{FS}){\land}(t_{SS}{+}t_{MS}{+}t_{FS}{+} t_{BS}{\leq}3)$\\
}
答案1
普通盒子不能有换行符,使用
\fbox{\begin{minipage}{10cm}$(t_{SS}{+}t_{MS}{\leq}t_{FS}){\land}(t_{FS}{\leq}t_{BS}){\land}(t_{SS}{+}t_{MS}{+}t_{FS}{+}t_{BS}{\leq}3)$\\
$(t_{SS}{+}t_{MS}{\leq}t_{BS}){\land}(t_{BS}{\leq}t_{FS}){\land}(t_{SS}{+}t_{MS}{+}t_{FS}{+} t_{BS}{\leq}3)$\\
\end{minipage}}
或者\fbox{\parbox{10cm}{...}}