TransWikia.com

How can I make these two circles the same size? please help me

TeX - LaTeX Asked by wu Peter on January 23, 2021

enter image description here

here’s the code:
node[circle, draw=black, solid] (Q9) at (10.5,-1.5){Q9};
node[circle, draw=black, solid] (Q10) at (9.0, -1.5){Q10};

One Answer

It is recommended that you post a minimal working example (MWE) that starts with documentclass and ends with end{document}.

Anyway, I came up with

documentclass{standalone}
usepackage{tikz}

begin{document}
begin{tikzpicture}
node[circle, draw=black, solid] (Q9) at (10.5,-1.5){phantom{Q10}};
node at (Q9) {Q9};
node[circle, draw=black, solid] (Q10) at (9.0, -1.5){Q10};
end{tikzpicture}
end{document}

which produces the next output:

output

Notice how I put {phantom{Q10}} in the first node to get the spacing of Q10, and in the line below, I place the text Q9 at the coordinate (Q9).

Correct answer by Luis Sibaja on January 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP