开发者

LaTeX: remove spaces in French

开发者 https://www.devze.com 2022-12-27 13:35 出处:网络
I write LaTeX docs in French, and babel package puts extra spaces before colons (:). It is useful, but I don’t want it in U开发者_开发技巧RLs:

I write LaTeX docs in French, and babel package puts extra spaces before colons (:). It is useful, but I don’t want it in U开发者_开发技巧RLs:

http ://docbook.org/ns/docbook

Any thoughts how to solve problem?

Thanks!


My suggestion would be using the package hyperref, and then using the command \url{http://example.org/url/here} for your URLs.

With some luck, this hopefully won't be affected by babel.


In french typography colons are special as they should be preceded by a space. The babel package enforces this rule if used with the [french] option.

You can override colons as an active character using the following babel command.

\shorthandoff{:}

Use the following command to switch back colons as an active character.

\shorthandon{:}
0

精彩评论

暂无评论...
验证码 换一张
取 消