Quantcast
Channel: Active questions tagged starred-version - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 64

Reference unnumbered starred header and titlesec [duplicate]

$
0
0

This is a follow up to this question: How to cross-reference an unnumbered section?

My issue is that, in my document, I use the {titlesec} package. For some reason that package interferes with the code found in the example above. As a result, I'm not getting the name of the referenced starred section, just its page number.

How may I get the name of the starred section and its page number?

Thank you.

\documentclass{book}%\usepackage{titlesec}\usepackage{hyperref} % Hyperlinks\begin{document}\section{A section}In \textbf{\nameref*{abus}} we will see a lot of boring stuff and here's a link to it: see \nameref{abus}, \pageref{abus}.%\blindtext[10]\section*{A boring unnumbered section} \label{abus}Very boring stuff\end{document}

Viewing all articles
Browse latest Browse all 64

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>