josephwright / josephwright/beamer

Customizing sections and subsections after \part{}

Open
#620 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
1.7k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

This is a follow up on an existing issue. (Originally posted by @weimiao1993 in https://github.com/josephwright/beamer/issues/615#issuecomment-669305043)

I wonder how I can customize sections and subsections after \part{}.

  1. I found the bookmark for the subsection connection two lectures was misplaced. Besides, I got the warning `Package hyperref Warning: Difference (2) between bookmark levels is greater(hyperref) than one, level fixed on input line 62.'. Here is what I see from the PDF. The bookmark of subsection 2.2 in Lecture 2 is supposed to be at level 2. How should I fix it?
    image

  2. Can I display the name of the current section in the sidebar, while keeping the subsection numbering, after the command \part{}? Using the current code, the sidebar of Lecture 2 displays as subsec 2.2 \\ subsec 2.3 \\ Section 3 \\ subsec 3.1 . I would like some customization so that the sidebar of Lecture 2 becomes Section 2 \ subsec 2.2 \ subsec 2.3 \ Section 3 \ subsec 3.1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported PDF with \part{}, sections, and subsections; inspect the sidebar and hyperref bookmark output first. Compare the bookmark-level warning and the desired Lecture 2 sidebar layout, then determine whether the behavior is a bug or requires documented customization.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
design
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.