ミニボックス内の段落間隔

ミニボックス内の段落間隔

あらゆるギミックを試してみましたが、ミニボックス内のダブルスペースをシングルスペースに減らそうとして行き詰まっています。(明らかに、グローバル \onehalfspacing オプションは維持したいです。) これは些細なことのように思えますが (おそらくそうでしょう)、\parskip と \linespread を変更しても、ミニページでしか機能しないようです --- これをミニボックス環境で変更したいのですが --- ここで何を間違っているのでしょうか?

\documentclass{article}

\usepackage{setspace}
\onehalfspacing
\renewcommand{\arraystretch}{1}  % tables smaller spacing
\setlength{\tabcolsep}{5pt}

\usepackage{minibox}   % minipage without specific width

\begin{document}
\section{Immune System}

\newcommand{\belongs}[2] {  % \belongs
\noindent
\[
\minibox{#1}
\left \{
\minibox{#2}
\right .
\]
}

\noindent
\begin{minipage}{0.30\linewidth}
\belongs{antigen\\presenting\\cells}{
Macrophages \\
Dendritic cells \\
B cells}
\end{minipage}
\hfill
\begin{minipage}{0.30\linewidth}
\belongs{humoral\\response}{B cells}
\end{minipage}
\hfill
\begin{minipage}{0.30\linewidth}
\belongs{cell-mediated\\immunity}{
phagocytes \\
killer T cells \\
release of cytokines}
\end{minipage}

\end{document}

答え1

miniboxは 1 列だけなので、既に によって引き伸ばされているので、tabularで垂直方向に縮小できます。また、行末の の 前にスペースを残さないでください。\arraystretch\onehalfspacing%

\documentclass{article}

\usepackage{setspace}
\onehalfspacing
\renewcommand{\arraystretch}{1}  % tables smaller spacing
\setlength{\tabcolsep}{5pt}

\usepackage{minibox}   % minipage without specific width

\begin{document}
\section{Immune System}

\newcommand{\belongs}[2] {% \belongs
\noindent
\[\renewcommand{\arraystretch}{.7}  
\minibox{#1}
\left \{
\minibox{#2}
\right .
\]%
}

\noindent
\begin{minipage}{0.30\linewidth}
\belongs{antigen\\presenting\\cells}{
Macrophages \\
Dendritic cells \\
B cells}
\end{minipage}
\hfill
\begin{minipage}{0.30\linewidth}
\belongs{humoral\\response}{B cells}
\end{minipage}
\hfill
\begin{minipage}{0.30\linewidth}
\belongs{cell-mediated\\immunity}{
phagocytes \\
killer T cells \\
release of cytokines}
\end{minipage}

\end{document}

関連情報