When I add footnotes in latex, there is often a little bit of space due to the punctuation mark before them:
I can't help but feel this might be a little bit nicer if the footnote mark was a tiny tiny bit to the left, sort of like kerning. Any ideas how to do this? Especially if it automatically decides if it should do the kerning (as opposed to have one footnote with ! and one without).
You can add a small negative space using \\! between the punctuation mark and the footnote.
As Jouni commented, \\! is a math mode command causing latex to switch into math mode. This can be prevented by using the amstex package.
There is now the fnpct
package that should do what you want automatically. It actually came from a related question on the TeX sister site: https://tex.stackexchange.com/questions/56094/is-there-a-way-to-automatically-change-kerning-between-commas-full-stops-and-foo
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.