开发者

LaTeX: remove spaces in French

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜