I am using this code, i want entire document to be same. For example, figure titles are NOT coming darker, the page numbers in table of contents NOT darker, numbering of equation arrays NOT darker, etc. I am using TexStudio for typing my thesis.

Thanks for your time!


It's a feature. Package pdfrender redefines \normalcolor to reset the "normal" behavior. For example, there is some emphasized text via \pdfrender and a page break occurs. Then the header and footer should have normal rendering.

I must admit, the idea, that someone wants to set whole documents with \pdfrender didn't cross my mind, when I wrote pdfrender. But it is possible. The package add the hook \PdfRender@NormalColorHook to reset the normal behaviour. This hook can be redefined to be an empty macro. The original meaning of the hook is kept in \normalrender. That allows normal rendering for included images.





\section{A section title}

\textnormalrender{Normal rendering mode for graphics.}
% \textnormalrender{\includegraphics{...}}
\caption{This is a figure title.}

E=mc^2 \label{eq:einstein}

References: figure \ref{fig} and equation \ref{eq:einstein}.


| improve this answer | |
  • @H. Oberdiek, i appreciate thanks for your help. But my figures' titles and labels within eps file are now so big and dark, that i cant read in pdf file, i do hope you understand. What i do now for figures? Thanks in advance! – Abdul Haq Feb 20 '14 at 6:32
  • Good Job, it works! – Abdul Haq Feb 20 '14 at 22:33
  • Adequately dark is the new normal in Latex! – CodeLurker May 23 at 0:25
  • @H. Oberdiek, I've found out that this does not work for footnote numbers and numbers on the footnotes themselves if one uses the package ocgx2 for its "ocgcolorlinks" option and "breaklinks=true"; but setting it to false restores heavier stroking. I'm exhausted after figuring out this gotcha; so maybe someone else can follow up. Just the numbers come out with the normal light stroking. The rest of the text is fine. I'll just use this, and change link color & get rid of underline for hard-copy. – CodeLurker May 28 at 21:17

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.