Hello, I'm using the KAOBOOK template, and cant't find a way to remove the space after the sidenotemark in the main text. This is a problem for me, specially if after the sidenotemark comes a period, or a coma, there will be an unnecessary and ugly space before the period. And if the text is at the end of the line, some times the period or the coma will go to the next line, and the new line starts with a period or a coma.
Thank you for your help.
(Sorry for my English, I'm Portuguese).
Theses, Books, Title pages ⇒ Kaobook - remove space sidenotemark
NEW: TikZ book now 40% off at Amazon.com for a short time.
Kaobook - remove space sidenotemark
Hello, this problem should be fixed in the latest versions of the template that you can find on GitHub (https://github.com/fmarotta/kaobook). If you have downloaded the template from GitHub, simply downloading it again should solve the problem.
However, if you are using Overleaf, you can fix the issue yourself by opening the file `styles/kao.sty` and adding a % sign at the end of each line from line 180 to line 183. In other words, you should have the following:
(note the % signs at the end of the lines)
Then, do the same for lines 98 to 112 of the file `styles/kaobiblio.sty`.
However, if you are using Overleaf, you can fix the issue yourself by opening the file `styles/kao.sty` and adding a % sign at the end of each line from line 180 to line 183. In other words, you should have the following:
Code: Select all
\RenewDocumentCommand \@sidenotes@placemarginal { m m }
{%
\IfNoValueOrEmptyTF{#1}%
{\marginpar{#2}}%
{\marginnote[#1]{#2}}%
}
Then, do the same for lines 98 to 112 of the file `styles/kaobiblio.sty`.