Skip to main content
17 events
when toggle format what by license comment
Jun 16 at 6:18 history edited Jasper Habicht CC BY-SA 4.0
added 98 characters in body
Jun 16 at 5:57 history edited Jasper Habicht CC BY-SA 4.0
added 431 characters in body
Jun 16 at 5:52 comment added Jasper Habicht @Explorer I added a short TikZ snippet to my answer. I think with this, it better answers you original question now.
Jun 16 at 5:51 history edited Jasper Habicht CC BY-SA 4.0
added 431 characters in body
Jun 16 at 5:44 history edited Jasper Habicht CC BY-SA 4.0
added 431 characters in body
Jun 15 at 2:56 comment added Explorer I get it, thanks!
Jun 14 at 17:04 comment added Jasper Habicht @Explorer Right, your baseline approach is fine. But you should use coordinates or even just dimensions, not a node for alignment. You can just say baseline=0pt to shift the TikZ box vertically, so that (0,0) sits on the baseline of the surrounding text. The node in your code has actually no real use. Clipping is also not needed then. (I could have used a similar approach actually, but since I also wanted to define the width, I opted for a clip.)
Jun 14 at 16:18 comment added Explorer However, as the problem of baseline remains vague for me. You have mentioned that "make sure that the baseline of the symbols is (for example) at (0em,0em) (via clipping or setting the bounding box of the symbol)." and with \draw_path_rectangle:nn { 0em , 0em } { 0.7em , 0.667em } and \draw_path_use_clear:n { clip } as l3draw version, could u paraphase the pure tikz's version to determine the baseline with bounding box or clip(just simple example)?Should I use baseline option, or clip similar rectangle? Best wishes!
Jun 14 at 16:15 comment added Explorer Excellent, I have spared some time in l3draw, and get the point of your two versions extraordinary solution. Thanks!
Jun 14 at 16:11 vote accept Explorer
Jun 14 at 7:07 history edited Jasper Habicht CC BY-SA 4.0
added 33 characters in body
Jun 13 at 14:21 history edited Jasper Habicht CC BY-SA 4.0
added 918 characters in body
Jun 13 at 13:45 history edited Jasper Habicht CC BY-SA 4.0
added 2906 characters in body
Jun 13 at 13:29 history edited Jasper Habicht CC BY-SA 4.0
deleted 35 characters in body
Jun 13 at 13:23 history edited Jasper Habicht CC BY-SA 4.0
deleted 35 characters in body
Jun 13 at 13:12 comment added Jasper Habicht It is a bit tricky to match the right weight as this depends on the font used. Also, different font sizes of Computer Modern have different weights.
Jun 13 at 13:09 history answered Jasper Habicht CC BY-SA 4.0