GeneralPolyglossia: spacing before footnotemark in running text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
KO-the-typo
Posts: 2
Joined: Thu Apr 23, 2015 10:55 am

Polyglossia: spacing before footnotemark in running text

Post by KO-the-typo »

Hi there,

I'm using Polyglossia with Lualatex for french documents, and it seems the spacing before footnotemark in running text is quite thin (it's a thinspace I would say).

It must quite a common question, so I looked inside the manual, on the forum and over the Web, but I haven't been able to find anything about it. Perhaps Am I missing a good keyword? Anyway, here's my MWE:

Code: Select all

% compile with Lualatex
\documentclass[a5paper]{scrbook}

% Use one of the following lines:
% \usepackage[french]{babel}
 \usepackage{polyglossia} \setmainlanguage{french}
 
\begin{document}

\Huge
Magnifique\footnote{Prima!}!

\end{document}
If you run one time with Babel, and another one with Polyglossia, you will see the difference. So here's my question: what's the trick to change this spacing with Polyglossia, in order to get it two times larger, for example?

Many thanks,

KO

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Polyglossia: spacing before footnotemark in running text

Post by Johannes_B »

Hi and welcome,

by a first glance, i wasn't able to see where a space could be introduced. There are other unresolved issues with polyglossia and french, i added this particular item to the list.

Hopefully, the author has some more time for this project in the future.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
KO-the-typo
Posts: 2
Joined: Thu Apr 23, 2015 10:55 am

Polyglossia: spacing before footnotemark in running text

Post by KO-the-typo »

Hi and thanks,

For now, I'm using the package FNPCT, which does the kern by itself, among others features. The current version on CTAN (0.4c) is not working with french Polyglossia, but I reported it to the author, who updated it to 0.4d, which is now working.

Perhaps it's a like using a sledgehammer for a nail, but it works.

Code: Select all

% compile with Lualatex
    \documentclass[a5paper]{scrbook}

     \usepackage{polyglossia} \setmainlanguage{french}
     \usepackage{fnpct}
	 \usepackage{hyperref} %after, not before fnpct
    \begin{document}

    \Huge
    Magnifique\footnote{Prima!}!

    \end{document}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Polyglossia: spacing before footnotemark in running text

Post by Stefan Kottwitz »

Hi KO,

welcome to the forum!

Thank you for visiting again to tell us the solution, it may also be helpful for the next reader who comes in via google to search for the same problem.

Stefan
LaTeX.org admin
Post Reply