
거품을 각 옆의 텍스트와 수직으로 정렬하기 위해 현재 거품을 수평으로 렌더링하는 \newcommand
사용을 수정하려고 합니다 . tikzpicture
여기 라텍스가 있습니다:
\newcommand{\bubbles}[1]{
% Reset counters
\setcounter{a}{0}
\setcounter{c}{150}
\begin{tikzpicture}[scale=3]
\foreach \p/\t in {#1} {
\addtocounter{a}{1}
\bubble{\thea/2}{\theb}{\p/25}{\t}{1\p0}
}
\end{tikzpicture}
}
% Command to output a bubble at a specific position with a specific size
\newcommand{\bubble}[5]{
\filldraw[fill=black, draw=none] (#1,0.5) circle (#3); % Bubble
\node[label=\textcolor{black}{#4}] at (#1,0.7) {}; % Label
}
내가 할 수 있는 방법이 없을까?