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

How to set footer text size #141

Closed
yamsu opened this issue Jul 8, 2023 · 9 comments
Closed

How to set footer text size #141

yamsu opened this issue Jul 8, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@yamsu
Copy link

yamsu commented Jul 8, 2023

This is a really amazing tool, thanks for creating it!
I have been using this regularly, but have struggled with the template file when it comes to the slide footer
For the following footer, how would one set the text size?

leftFooterText: Left Text
middleFooterText: My presentation
rightFooterText: Right Text

Is there a way to also set the page number size?

@MartinPacker
Copy link
Owner

Thanks for your kind words. I will investigate what we can do. (I'm assuming I didn't already provide metadata terms for these two - pseudofooter and page number text sizes.)

Question: Does it make any sense for the three pseudofooter sizes to be different?

(And I emphasise pseudo as md2pptx does not use the standard footer and page number fields. The reason for this is mainly to allow flexibility the standard ones don't allow. I'm also receptive to ideas for further flexibility in the pseudofooters.)

@MartinPacker
Copy link
Owner

MartinPacker commented Jul 8, 2023

So I can confirm this function doesn't yet exist. So tagging as "enhancement".

@MartinPacker MartinPacker added the enhancement New feature or request label Jul 8, 2023
@yamsu
Copy link
Author

yamsu commented Jul 9, 2023

A single size metadata term would be sufficient for all three footers and page number. I personally like the fact that the footer are separate from the standard ones.

@MartinPacker
Copy link
Owner

My thinking is 1 for footers - which really ought to be the same size as each other (as you say) - and 1 for slide numbers.

How urgent is this @yamsu?

@yamsu
Copy link
Author

yamsu commented Jul 9, 2023

Take your time, i'm happy to wait.

@MartinPacker
Copy link
Owner

Thank you. The code needs some repair right now - with enhancements that aren't yet ready. None of these changes have been pushed.

By the way, do you clone the repo or just download a release? (Affects how you might test the enhancements you need.)

@MartinPacker
Copy link
Owner

MartinPacker commented Jul 9, 2023

Turns out the code has no regressions that I can see - even if my new features don't work well enough for me to advertise them.

Just pushed

footerFontSize: 12

and

numbersFontSize: 24

where the 12 and 24 values are floating point and you can obviously change them.

Will write up soon and hope to ship 4.1.1 with these in and documented.

@MartinPacker
Copy link
Owner

Documented and released as v4.1.1.

Closing. Please reopen or, preferably, create another issue if you want this tweaked / extended.

@yamsu
Copy link
Author

yamsu commented Jul 11, 2023

Nice! Thank you

@MartinPacker MartinPacker changed the title Howto set Footer text size How to set footer text size Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants