11

I wanted to get rid if the red boxes in TOC that we obtain when exporting org to pdf. The red boxes looks absolutely ugly and spoil the appearance of the entire document.

ugly red boxes around toc links

  • That might be how your pdf viewer app indicates links. Try opening the same pdf with a different pdf app – Chakravarthy Raghunandan Dec 28 '16 at 13:13
  • @ChakravarthyRaghunandan Nops. Found a solution, added it as answer. – xandfury Dec 28 '16 at 13:23
14

Following the links given here, you can get rid of the ugly red boxes by adding the following line in the beginning of your org file:

#+latex_header: \hypersetup{colorlinks=true}

Red

If red isn't your color, then add the following line:

#+latex_header: \hypersetup{colorlinks=true,linkcolor=blue} for a blue color.

| improve this answer | |

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