Graphics, Figures & Tables ⇒ Color of Table of Content
Color of Table of Content
Creck
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
Color of Table of Content
welcome to the board!
The default is black color. So you have a setting which causes red color. We could see that if you would post your preamble. I guess it's red because TOC entries are hyperlinks to the sections in the text if you use the
hyperref
package. So disable hyperlinking in the TOC or change the hyperlink color. Both is described in the 
Stefan
Color of Table of Content
the problem is that I gotta use http package, because of adding an email link at the title page, btw here is the code ...
Code: Select all
\documentclass[12pt, a4paper]{article}
%Lang & fonts
\usepackage[slovak]{babel}
\usepackage[utf8]{inputenc}
%Http
\usepackage[bookmarksopen,colorlinks,plainpages=false,urlcolor=blue,unicode]{hyperref}
\usepackage{url}
%Images
\usepackage[dvipdf]{graphicx}
%Page settings
\usepackage[top=3.5cm, left=2.5cm, text={17cm, 24cm}, ignorefoot]{geometry}
\begin{document}
\input{./title.tex}
% Content
\tableofcontents
\pagenumbering{roman}
\setcounter{page}{0}
\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
\section{Section1}
\subsection{Subsection}
\section{Section 2}
\end{document}
Color of Table of Content
colorlinks=black
" into \usepackage[]{hyperref}
, thanks anyway.Creck
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
Color of Table of Content
-- Zapp Brannigan, Futurama (season 1, episode 4)
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Color of Table of Content
Just use the optionCreck wrote:Well, I have fixed it adding "colorlinks=black" into \usepackage[]{hyperref}, thanks anyway.[…]
hidelinks
.Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10