サブ図グループ化されたフィギュアの行にある複数のTikz-Tikz-Tree

StackOverflow https://stackoverflow.com/questions/8863493

  •  28-10-2019
  •  | 
  •  

質問

複数のTikzの木をサブ図グループ化されたフィギュアの行に置くにはどうすればよいですか?提供されたスクリーンショットが示すように、すべてのフィギュア/ツリーは別の行に配置されます。ツリーの幅は線の幅の50%を超えていると思いますが、Tikzの木の姿の幅を調節できるとは知りません...

enter image description here

\usepackage{subfigure}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{trees}

\begin{figure}[H]

\subfigure[s1]{
\begin{minipage}[c][1\width]{0.5\textwidth}%

\begin{tikzpicture}
\Tree[.{root} ]
\end{tikzpicture}
\centering{}
\end{minipage}}\qquad

\subfigure[s2]{
\begin{minipage}[c][1\width]{0.5\textwidth}%
\centering{}
\begin{tikzpicture}[ ]

\Tree[.{another root} ]
\end{tikzpicture}
\end{minipage}}

   \caption{the caption}
 \end{figure}

編集:このトピックをtex.stackexchange.comに移動するリクエスト - 申し訳ありませんが、間違ったページにありました;)

役に立ちましたか?

解決

線の間の空白線を削除します

\end{minipage}}\qquad

\subfigure[s2]{

トリックをしますか...

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top