livecomsjournal / article_templates

Templates for use in preparing articles for the Living Journal of Computational Molecular Sciences (LiveCoMS)
http://www.livecomsjournal.org/
Creative Commons Attribution 4.0 International
9 stars 14 forks source link

Fix text justification for figure captions, table captions, and abstract #47

Closed dwsideriusNIST closed 6 years ago

dwsideriusNIST commented 6 years ago

New issue, visible in main.pdf of https://github.com/dmzuckerman/Sampling-Uncertainty/commit/35d18d5fe86e78b305f2c6b995e18cb5ec389fa6

Figure captions are right justified, when they should be full justified.

dwsideriusNIST commented 6 years ago

Affects tables too. Potential fix identified.

dwsideriusNIST commented 6 years ago

See PR https://github.com/livecomsjournal/article_templates/pull/48

Also, may consider applying the same justification to the abstract.

davidlmobley commented 6 years ago

Good catch, @dwsideriusNIST . I had not caught this.

I'll merge the PR. Should we also get the abstract in a separate PR? You'll handle?

dwsideriusNIST commented 6 years ago

See PR #49

dwsideriusNIST commented 6 years ago

\Raggedright affects the author affiliation block as well. I've tried a few changes to livecomes.cls, but wasn't able to change it to full justification.

davidlmobley commented 6 years ago

Just to be clear, @dwsideriusNIST - are you worried about making the author block be justified, or worried you have messed it up by making changes to the rest?

dwsideriusNIST commented 6 years ago

@davidlmobley I'm not worried that the affiliation block got mucked up by the changes in PRs #48 and #49. I'm 100% sure that those changes only affected the captions and abstract macros, since the changes were inside encapsulated macro commands.

So, the first question is whether the author affiliation block should be full justified or not; it currently is \raggedright.

Then there's the question of how to fix it. There is a command "Affilfont" on line 311 of the livecoms.cls file, but removing \raggedright does not change the justification (I was able to change the font style of the affiliation block with that line), so I suspect that the \raggedright condition is coming from the parent class.

davidlmobley commented 6 years ago

I wouldn't worry about the author block not being justified, personally.

dwsideriusNIST commented 6 years ago

I have no problem leaving it raggedright. Closed.