背頁大花括號的問題

背頁大花括號的問題

我正在嘗試打開一個包含 3 行和 2 列的大花括號。這將在每頁有 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}
\]

我在用https://www.overleaf.com/

答案1

使用您的程式碼但使用@JouleV 建議的套件cases的答案: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}

在此輸入影像描述

相關內容