
3 行 2 列の大きな中括弧を開こうとしています。これは、1 ページに 2 列ある会議論文で使用されるため、論理的には各列の幅は比較的小さく、括弧内の 2 番目の列は次の行に続く必要があります。ただし、次のコードでは、論文の他の列にバイパスし続け、そこにあるテキストと重なり合います。LaTeX が論文の 2 番目の列にある場合、テキストの残りは、次の図のように新しい行に続くのではなく、消えてしまいます。
私が本当に望んでいるのは次のようなものです:
私のコードは次のようになりますが、改行するすべてのメソッドが機能せず、テキストがさらに分割されます。
\[
\left \{
\begin{tabular}{cc}
\(Val1 \thinspace \thinspace\) & This is the start of my long line that I want to see its continuation on the second line but it goes out of range of the page and does not appear at all\\
\(Val2 \thinspace \thinspace\) & Otherwise \\
\(Val3 \thinspace \thinspace\) & Otherwise \\
\end{tabular}
\]
答え1
cases
@JouleV が提案したように、コードの使用方法とパッケージを使用した回答amsmath
:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\left \{
\begin{tabular}{cp{9cm}}
\(Val1 \thinspace \thinspace\) & This is the start of my long line that I want to see its continuation on the second line but it goes out of range of the page and does not appear at all\\
\(Val2 \thinspace \thinspace\) & Otherwise \\
\(Val3 \thinspace \thinspace\) & Otherwise \\
\end{tabular}\right.
\]
\[
\begin{cases}
Val1 & \parbox[t]{9cm}{This is the start of my long line that I want to see its continuation on the second line but it goes out of range of the page and does not appear at all}\\
Val2 & \text{Otherwise} \\
Val3 & \text{Otherwise} \\
\end{cases}
\]
\end{document}