調整ボックスを使用するときにセルのテキストの高さを大きく保つにはどうすればよいですか?

調整ボックスを使用するときにセルのテキストの高さを大きく保つにはどうすればよいですか?

表の幅を 0.7\textwidth に制限すると、フォントのサイズも小さくなります。表をページの中央に表示し、テキストが読みやすい大きさになるようにしたいと思います。

\documentclass{exam}
\usepackage{adjustbox}
\begin{document}
\begin{center}
    \begin{adjustbox}{width=0.7\textwidth}
    \medskip\noindent
            \begin{tabular}{|l|l|} \hline
                Some text. & lsibyg gihebg fiehbg etin vtn osuing iostnugetnug etouhg otunhoeuthg thgu ituhg iotuhg ieuth guoierthg touhg uoth ut guotg uwht owuht \\\hline
        \end{tabular}
        \end{ajustbox}
\end{center}
        
\begin{tabular}{|l|l|} \hline
                Some text. & lsibyg gihebg fiehbg etin vtn osuing iostnugetnug etouhg otunhoeuthg thgu ituhg iotuhg ieuth guoierthg touhg uoth ut guotg uwht owuht \\\hline 
\end{tabular} \\
\end{document}

答え1

ボックスを調整する必要はありません。テーブルの幅を指定し、2 番目の列には「段落」列タイプ (例)p{<width>}またはパッケージXで定義されている列タイプを使用しますtabularx

\documentclass{exam}
\usepackage{tabularx}

%---------------- Show page layout. Don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%

\begin{document}
    \begin{center}
\begin{tabularx}{0.7\linewidth}{|l|X|} % <---
    \hline
    Some text. & lsibyg gihebg fiehbg etin vtn osuing iostnugetnug etouhg otunhoeuthg thgu ituhg iotuhg ieuth guoierthg touhg uoth ut guotg uwht owuht \\
    \hline
\end{tabularx}

\bigskip
\begin{tabularx}{\linewidth}{|l|X|}    % <---
    \hline
    Some text. & lsibyg gihebg fiehbg etin vtn osuing iostnugetnug etouhg otunhoeuthg thgu ituhg iotuhg ieuth guoierthg touhg uoth ut guotg uwht owuht \\
    \hline
\end{tabularx}
    \end{center}
\end{document}

ここに画像の説明を入力してください

(赤い線はページレイアウトを示します)

関連情報