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

Improper line breaks in subsection headers #15

Open
BenQuigley opened this issue Jul 8, 2016 · 2 comments
Open

Improper line breaks in subsection headers #15

BenQuigley opened this issue Jul 8, 2016 · 2 comments

Comments

@BenQuigley
Copy link

BenQuigley commented Jul 8, 2016

Long words (e.g. "Communications") are improperly split into two lines when they are used as subsection headers. Example code:

**Communications**  
:   * Created and implemented blah blah blah...  
    * Blah blah blah blah....

Converts to PDF as:
screenshot from 2016-07-08 08-39-10

"Communications" is on its own line, so there's no reason to split it onto a second line, but that's what the tool is doing. How can I help fix?

@mszep
Copy link
Owner

mszep commented Jul 10, 2016

Hi, this is happening because the headers of description lists are constrained to a certain width. In line 55 of style_chmduchesne.tex file there is a width setting for the subheader (it's probably width, but it might also be distance, so try tweaking both. Unfortunately I don't think there's a way to let the subheader text actually run above the list items. Let me know if this helps.

@airpaio
Copy link

airpaio commented Oct 27, 2016

Another option you could try is to add

\exhyphenpenalty=10000
\hyphenpenalty=10000

to the style_chmduquesne.tex file. I added it right after line 21. This, along with some other layout/sizing tweaks, seemed to alleviate that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants