Request for TikZ drawing

In this sample code, the author does the following

\draw ($(closedStart.south) + (-.5em,0)$) 
      edge[stateEdge] node[edgeLabel, xshift=-3em]{\emph{Passive open}} 
      ($(listen.north) + (-.5em,0)$); 

What annoys me the most about these markup-based drawing tools is that I have to measure the value and indicate. In this case, the author indicates .5em

I still do not understand how to understand this? How much is .5em? I don’t even know the size of the base object, since I can be sure that if I give a value, will it be valid?

Is there any approach for this? How do I select a value as well as a block? Is em always the best device to use?

+3
source share
3 answers

Google is your friend: http://en.wikipedia.org/wiki/Em_%28typography%29

Em - , . - , , . , 1 em 16- - 16 .

, , : , , , pts, picas .. ..

+2

, :

em - , "" ( "", , ): , , , , , . "", , , em ( ), , , , , .

- ( 1/72 ) em, 12 , "" 1/6 (.. 12/72 ). 12- 7- , em 1/10 .

, . , em, .

Postscript

`M ', . ​​

+1

, TikZ , LaTeX ( , 1) , , , 0,5\textwidth. , TikZ , , , .

+1

Source: https://habr.com/ru/post/1725742/


All Articles