Apparently, position library of Tikz does not work in Overleaf even with its own examples, take this one: https://www.overleaf.com/read/fnmpxcrhtbdz

Any suggestion? Thanks

  • 3
    Your code produces 24 errors on Overleaf. Maybe that's the issue. (You can take a look on the error messages by clicking on that small red icon right of the "Recompile" icon above the document display) – Skillmon likes topanswers.xyz Nov 22 '18 at 14:08
  • There are also small red icons with a white cross inside next to erroneous lines. – Skillmon likes topanswers.xyz Nov 22 '18 at 14:14
  • If I ignore all errors I get the same output as your overleaf document produces with an up to date TeX Live installation. – Skillmon likes topanswers.xyz Nov 22 '18 at 14:15
  • 1
    You will have to add a version of the TikZ library node-families to your Overleaf project (it's also not a part of TeX Live). – Skillmon likes topanswers.xyz Nov 22 '18 at 14:30
  • 1
    It is not a bug in Overleaf (as I said, it'll produce the same amount of errors in my local TeX Live). – Skillmon likes topanswers.xyz Nov 22 '18 at 14:31

(I'm a freelancer working for Overleaf)

The code you're using was not coded for the positioning library but a custom one named positioning-plus (which is not part of TeX Live nor contained in Overleaf's LaTeX distribution, you can find it on github). You'll need to add that file to your Overleaf project. You'll also need to add node-families to your Overleaf project. After adding those two libraries your code should work and produce the following:

enter image description here

| improve this answer | |
  • Cool, that file is in the Overleaf gallery! I probably can find the link and send it to you. – Mobius Knot Nov 22 '18 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.