2012-01-14 5 views
1

複数のTikzツリーをサブグループ化されたFigureの行に挿入する方法は?提供されたスクリーンショットが示すように、すべてのFigure/Treeは別の行に配置されます。私は、ツリーの幅は、線幅の> 50%であることを推測するが、私は1つがは、TikZツリー図の幅を調節することができるかわからない...サブグループ化されたFigure行の複数のTikz-Trees

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} 

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

答えて

1

はライン間の空白行を削除する

\end{minipage}}\qquad 

\subfigure[s2]{ 

はトリックを行います...

関連する問題