Overleaf 中的大花括号问题

Overleaf 中的大花括号问题

我正在尝试打开一个大花括号,其中包含 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

cases使用你的代码但使用包的答案amsmath正如@JouleV 建议的那样:

\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}

在此处输入图片描述

相关内容