2

Is there a way in Tikz to have the label angle computed automatically when adding a label on top of an arrow ? Here is what I am looking for :

\draw[->] (start) -- node[MAGIC HERE, above]{my label} (end);
8
  • 1
    Replace MAGIC HERE with sloped. Jul 27, 2020 at 15:20
  • 1
    A couple of potential duplicates: tex.stackexchange.com/questions/67552 tex.stackexchange.com/questions/76172 Jul 27, 2020 at 15:25
  • I didn't understand what you meant by "label angle computed automatically when adding a label on top of an arrow"?
    – AndréC
    Jul 27, 2020 at 15:29
  • @AndréC Sorry for the unclear question. I was looking exactly fro sloped but was not able to find it from a search engine. probably because of my English. Jul 27, 2020 at 17:55
  • @TorbjørnT. Can you convert your comment into a response?
    – AndréC
    Jul 27, 2020 at 17:59

0

Browse other questions tagged .