Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other matching bracket are changed in its color, e.g., in red?

For example (see below), I want in pdf document, when I put my cursor on the first squared bracket, then its color and the color of the matching square bracket (in this case, the last one) are turned into other color. When there is no matching bracket, then it would be changed in other color than that in matching case.

(Ex) [(a + 3(b-c)) + 2*7]

share|improve this question
    
Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. –  Papiro Apr 26 '13 at 0:08

1 Answer 1

This probably could be done with PDF and JavaScript (for switching the color of the brackets), but I know of no (La)TeX package for that. And it would need JavaScript in the PDF viewer. And it will probably be quite fragile.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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