Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 751981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:43:44+00:00 2026-05-14T14:43:44+00:00

Accidently I created this nice colored effect on my LaTeX TOC: http://i43.tinypic.com/o5aptl.png Which I

  • 0

Accidently I created this nice colored effect on my LaTeX TOC:
http://i43.tinypic.com/o5aptl.png

Which I like and want to keep, I created this effect like this:

\definecolor{Section1}{rgb}{0.09,0.21,0.36}
\section{\color{Section1}Introdução}

However, as you can see on the TOC sidebar, there was a nasty side effect.

I tried to fix it like this:

\section[Introdução]{\color{Section1}Introdução}

But didn’t work, the sidebar TOC was fixed but on the TOC list, the blue color was gone and was now red instead (default for clickable TOC heading links)

I also tried:

{\color{Section1}\section{Introdução}}

But the effect was the same, fixed TOC but no color on the TOC list.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:43:45+00:00Added an answer on May 14, 2026 at 2:43 pm

    You’re looking for \texorpdfstring{texString}{pdfString}, which you can supply as an alternate to plaintext as an argument to \section. This should work:

    \section{\texorpdfstring{\color{Section1}Intro}{Intro}}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I accidently created an app id for my private account something like com.example.companyname. Unfortunalty
I created a SharePoint sub-site, and accidently deleted all permissions groups except for the
I accidentaly created a table in PostgreSQL which contains, in its name, some double
I seem to have accidentally created Visual Studio 2010 tab groups which means that
This is my current status: I created a new repo in github project Cloned
I created a Play! app and deployed it under TomCat. This works well. The
While attempting to create a replacement tablespace for USER, I accidentally created a datafile
accidently my code suggestion box [ the box when we start typing it shows
I accidently externalised all my strings in an eclipse java project a week ago.
I was accidently using the gh-pages branch so now it has become the most

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.