I'm using this answer to color multiple paragraphs, i.e. I use


and then

    paragraph 1

    paragraph 2

    paragraph 3

When double clicking some text in the PDF in ShareLaTeX, the cursor jumps to the end of the \nathaniel block in the source code, rather than to the exact position. What's the reason? (And can it be solved?)

  • 2
    probably you should use an environment rather than a command to save pre-scanning the text as the command argument. – David Carlisle Jan 29 '19 at 16:55

Your Answer

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

Browse other questions tagged or ask your own question.