-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Adds header_info_size
variable to metadata
#77
base: main
Are you sure you want to change the base?
Conversation
Hi @alexk101 sorry for the late reaction, I've been quite busy recently. Will take a look later today! |
@@ -24,6 +24,7 @@ language = "en" | |||
|
|||
# Decide if you want to display profile photo or not | |||
display_profile_photo = true | |||
info_font_size = "8pt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if a comment could be placed above the new item.
@@ -32,6 +32,7 @@ | |||
let lastName = metadata.personal.last_name | |||
let headerQuote = metadata.lang.at(metadata.language).header_quote | |||
let displayProfilePhoto = metadata.layout.header.display_profile_photo | |||
let headerInfoFontSize = metadata.layout.header.info_font_size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For optional value, please use syntax like metadata.layout.at("before_section_skip", default: 1pt)
with default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you will also need to add eval
function, as font size is not string in typst but a special data type.
Will try and resolve some of these issues soon |
Appreciated! I made a commit yesterday on your PR but don't know why it got lost somewhere. It should not be too complicated, tell me if you encounter any issue. |
Resolves #76