Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Setting linespread to 1 for CriticMarkup margin notes in LaTeX #120

Closed
ghost opened this issue May 10, 2018 · 2 comments
Closed

Setting linespread to 1 for CriticMarkup margin notes in LaTeX #120

ghost opened this issue May 10, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented May 10, 2018

While not a problem with most of the provided LaTeX boilerplate files, when using the Manuscript set, the result for margin notes is a bit awkward in that they inherit the double-spaced formatting from the body text. According to the Manscript documentation, the command used to ensure the title page is single-spaced is \singlespacing. However I ran into undefined command errors when trying to insert that into the \cmnote command you define.

I had better luck with this:

\newcommandx{\cmnote}[2][1=]{\linespread{1.0}\todo[linecolor=red,backgroundcolor=red!25,bordercolor=red,#1]{#2}}

I've tested that in a few different places within some sample manuscript output, and it seems to have no adverse effects. I'm not sure if that would be a good command to use in all cases however, so it might be the right approach is to have mmd6-manuscript-packages.tex input a different criticmarkup include, made just for it (or any other future boilerplates that use non-standard line spacing models.

@ghost
Copy link
Author

ghost commented May 10, 2018

Ah, correction. I see upon opening the .sty that this in fact something you've put together yourself, rather than using the old Manuscript document class. That explains the "missing" command.

@fletcher
Copy link
Owner

I'll take a look at the problem and your solution next week and can look at incorporating it into the master repo.

Thanks for pointing this out!

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

No branches or pull requests

1 participant