Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap long page_numbering_style #165

Open
sinaatalay opened this issue Aug 30, 2024 · 0 comments
Open

Wrap long page_numbering_style #165

sinaatalay opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sinaatalay
Copy link
Owner

One more question is how to wrap page_numbering_style. By default it flows beyond the page when rendering a longer text. Looks like this part is responsible for rendering it:

\makeatletter
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
\patchcmd{\ps@customFooterStyle}{\thepage}{
    \seqsplit\color{gray}\textit{\small <<design.page_numbering_style|replace_placeholders_with_actual_values(page_numbering_style_placeholders)>>}
}{}{} % replace number by desired string
\makeatother
\pagestyle{customFooterStyle}

Currently I am lurking through Stack Exchange to find a way how to wrap it according to margins like any other entries. Bottom right corner of my doc:
image

Originally posted by @mattmaniak in #162 (comment)

@sinaatalay sinaatalay added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant