-
Notifications
You must be signed in to change notification settings - Fork 524
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
onehalfspacing causes overlapping of titles and text #535
Comments
This is part of the Frontiers template 🤔 So I could remove it here, but is this a specific effect expected by Frontiers Journals ? Is their template broken ? Maybe this is something else conflicting with this Frontiers requirements settings that we added for some Pandoc's feature support 🤔 |
That's right; I didn't realize the template comes from Frontiers. It only happens on certain occasions, which I haven't deciphered yet, but it is quite annoying. I have avoided it by introducing some empty lines or breaking the sentence, but it is not ideal. I will investigate a bit further and try to replicate it with the original template downloaded from Frontiers. |
It looks like the template is a bit outdated. https://github.com/frontiersin/latex-manuscript-templates/tree/master/Frontiers_LaTex_Templates In any case, I am unsure if this is the root of the problem. |
Oh didn't know about the github repo. Maybe an issue can be opened there ? I don't know how often journals updates their template, nor if the content is mandatory or not. @muschellij2 you added the format in #211 -do you have insight if this is safe to remove this part of the template ? Otherwise what I can do maybe is
|
So you are saying that the template in rticles needs an update to match latest from Frontier ?
✅
In the
All good also ✅
This is another file completely ? Like it would be a new companion Rmd file ? I am not sure to understand how this is working, but we can do a lot in the format function. There is possibility to do a post processing steps and generate another doc if needed. Manually how does the supplemental materiel works ? You write you article and then you write another doc ?
You can send it and we'll discuss in the PR ! Thank you very much for your help ! |
That is right, the problem is that it would need a different template.tex, which I don't know if that would be a problem, or how to manage it.
The idea situation is:
However, as far as I can tell, there in always only one template.tex in the resources file. Right?
Sounds great, I'll make sure I remove any unnecessary files and proceed with the PR. We can resolve the supplemental material issue later on. |
I think there is some solutions for the supplementary part, either using a different format, or just switching template used based on a value from an argument in the format. We could also imagine something where you write your supp material in the same main Rmd like in
and then we catch this and copy to a different document, and render with a different template. Anything seems possible - from the more manual to the more automated. We need to find the good balance! |
The package
onehalfspacing
seems to cause some overlapping in the titles of sections and sub-sections.rticles/inst/rmarkdown/templates/frontiers/resources/template.tex
Line 17 in 3cb3a3c
Commenting the line or adding explicit title spacing seems to fix it.
The text was updated successfully, but these errors were encountered: