General ⇒ tabs ("onglets")
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
tabs ("onglets")
Hi everybody,
I have to use tabs on the different pages of my LaTeX report so, when published, the reader reaches easier my document's different chapters.
I have tried two or three solutions, but nothing works.
Does somebody have a homemade package, or something else?
Thanks.
I have to use tabs on the different pages of my LaTeX report so, when published, the reader reaches easier my document's different chapters.
I have tried two or three solutions, but nothing works.
Does somebody have a homemade package, or something else?
Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tabs ("onglets")
Present these approaches and we will see. But for me it only seems to be a matter of the right settings for the hyperref package.latexforever wrote:[...] I have tried two or three solutions, but nothing works. [...]
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
tabs ("onglets")
Evidently.
The translation of the word ``tabs'' is ``onglets'', in French. I think it is better to google using this word, because typing ``tabs'' gives results about the tabulation, and this is not the subject.
Here is a link: http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.29.html (well-known GRAPPA faq).
It is evident that we have to use the fancyhdr package.
I've tried the B. Bayart's package (``onglet''), but the square is not at the place I want, even after modification of all the parameters of the package! That's weird.
Another solution?
The translation of the word ``tabs'' is ``onglets'', in French. I think it is better to google using this word, because typing ``tabs'' gives results about the tabulation, and this is not the subject.
Here is a link: http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.29.html (well-known GRAPPA faq).
It is evident that we have to use the fancyhdr package.
I've tried the B. Bayart's package (``onglet''), but the square is not at the place I want, even after modification of all the parameters of the package! That's weird.
Another solution?
tabs ("onglets")
Then I find that it's something to eat:latexforever wrote:I think it is better to google using this word
http://en.wikipedia.org/wiki/Hanger_steak
But I found what you mean:The hanger steak has traditionally been more popular in Europe. In French, it is known as the onglet, in Italian the lombatello, and in Spanish the solomillo de pulmon.
http://fr.wikipedia.org/wiki/Onglet_(informatique)
So the question is how you want to implement tabs in a page-based system like PDF. Do you have any examples how this should look like?
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
tabs ("onglets")
I was completely laughing!phi wrote:Then I find that it's something to eat:latexforever wrote:I think it is better to google using this word
http://en.wikipedia.org/wiki/Hanger_steakThe hanger steak has traditionally been more popular in Europe. In French, it is known as the onglet, in Italian the lombatello, and in Spanish the solomillo de pulmon.

I was sure not to be well understood. When you open a big book, there are sometimes black zones at the right of the pages. The aim of these forms is when you open the book to directly show you which pages are for which chapter.But I found what you mean:
http://fr.wikipedia.org/wiki/Onglet_(informatique)
So the question is how you want to implement tabs in a page-based system like PDF. Do you have any examples how this should look like?
Do you see what I mean?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tabs ("onglets")
This description right at the beginning would have led you much quicker to a possible solution. The fancyhdr manual introduces such thumb-indexes (Section 21, figures 4 and 5). Perhaps this is a suitable solution for you.latexforever wrote:I was sure not to be well understood. When you open a big book, there are sometimes black zones at the right of the pages. The aim of these forms is when you open the book to directly show you which pages are for which chapter. [...]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
Re: tabs ("onglets")
This is exactly what I wanted. The problem is that there is no further explanation about the way to implement it.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tabs ("onglets")
Of course there is. Take a careful look at figure 5 (and its caption) which contains the according code for the picture in figure 4. That's the reason why I mentioned both figures.latexforever wrote:This is exactly what I wanted. The problem is that there is no further explanation about the way to implement it.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
Re: tabs ("onglets")
Sorry, I didn't notice it. I'm going to think about this solution. Here will be new pieces of information soon.
-
- Posts: 120
- Joined: Fri Nov 14, 2008 9:40 pm
tabs ("onglets")
Directly, I notice different things.
Using the following MWE:, I notice that when I begin a chapter, there is no thumb-index. It appears after, but I want it to appear everywhere in the chapter, even on the first page of the chapter.
A solution?
Using the following MWE:
Code: Select all
\documentclass[10pt]{book}%report
\usepackage{fancyhdr}
\setlength{\unitlength}{18mm}
\newcommand{\blob}{\rule[-.2\unitlength]{2\unitlength}{.5\unitlength}}
\newcommand\rblob{\thepage
\begin{picture}(0,0)
\put(1,-\value{section}){\blob}
\end{picture}}
\newcommand\lblob{%
\begin{picture}(0,0)
\put(-3,-\value{section}){\blob}
\end{picture}%
\thepage}
\pagestyle{fancy}
\cfoot{}
\newcounter{line}
\newcommand{\secname}[1]{\addtocounter{line}{1}%
\put(1,-\value{line}){\blob}
\put(-7.5,-\value{line}){\Large \arabic{line}}
\put(-7,-\value{line}){\Large #1}}
\newcommand{\overview}{\thepage
\begin{picture}(0,0)
\secname{Introduction}
\secname{The first year}
\secname{Specialisation}
\end{picture}}
\begin{document}
\fancyhead[R]{\overview}\mbox{}\newpage % This produces the overview page
\fancyhead[R]{} % Front matter may follow here
\clearpage
\fancyhead[RE]{\rightmark}
\fancyhead[RO]{\rblob}
\fancyhead[LE]{\lblob}
\fancyhead[LO]{{\leftmark}
\chapter{Introduction}
\newpage
\section{The first year}
\chapter{Test}
\end{document}
A solution?