Tag Info

New answers tagged

1

For أصم use \AR{AaOm}. For صفر use \AR{Ofr}. For سمت use \AR{smt}. For الجبر use \AR{Al\jeem br} by using the package inputenc (unfortunately I am not able to do it without this package). In this case you can also use \AR{\alefhamza Om} which resembles more visually to أصم. By the way, the Arabic word أصم is used for irrational [number] in most old ...


3

The definition of \@citex is useless, because it's the same as the kernel's. You don't need to define \bibsection because you're not using natbib, nor you need to do \def\section*#1{}. The problem is, instead, in the fact that \@bibitem always writes numbers and you want a letter. Don't issue \selectlanguage in the preamble. Specify last the main language ...


5

As usual, in the example the lines are overfull on purpose, so as to force hyphenation. \documentclass{article} \usepackage{polyglossia} \setmainlanguage{nynorsk} \begin{hyphenrules}{nynorsk} \hyphenation{fram-halds-skulen} \end{hyphenrules} \begin{document} \parbox{0pt}{\hspace{0pt}framhaldsskulen} \end{document} Use the same trick of ...


1

Perhaps the manual should point out shorthands must be activated for american too. The simplest way to do it is, in the preamble: \useshorthands*{"} That makes " active for the whole document. If it worked without this declaration, it was a bug, because german deactivates shorthands when changing to another language (it should, but perhaps in a former ...


2

You could try something like this. But I didn't check carefully if it does the expected thing with the other quoting commands. \documentclass{article} \usepackage[american]{babel} \usepackage[autostyle,autopunct=true]{csquotes} \listfiles \begin{document} \renewcommand{\mktextquote}[6]{% #1#2\ifblank{#4}{#5}{#4}#3#6} \let\enquote\textquote ...


3

The text font defined by mathpazo is not available in T5 encoding (for Vietnamese). The Palatino clone in the TeX Gyre fonts is, so you can use it: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[vietnamese,german,english]{babel} \usepackage{mathpazo} % for math fonts \usepackage{tgpagella} % overrides the text ...


0

I was able to fix the problem, my TeX Live files were messed up, previously I've installed magyar.ldf manually, reinstalling TeX Live fixed the problem. Full version is not needed, I've selected only the needed package collections (including Other European Languages).


7

Latest releases provide some hooks which you can use for this purpose. If it applies only to a language or some of them, follow the procedure already explained: \addto\extrasLANG{\nonfrenchspacing} But if the setting applies to the whole document: \AddBabelHook{nonfrench}{afterextras}{\nonfrenchspacing} This line of code tells babel to execute ...


5

The way how to add some declaration into a language setting is this (preferably in the preamble): \addto\extrasLANG{\nonfrenchspacing} where LANG is whatever you need: english, czech, ... The way how to enforce \nonfrenchspacing everywhere is: \AtBeginDocument{ \let\frenchspacing=\nonfrenchspacing \nonfrenchspacing }


1

Check your bib file for the line which google, or journal, often add when you export a citation. language={english} delete it, then delte the .bbl and the .aux, then recompile


1

The reason why \PassOptionsToPackage is used is compatibility with LyX: if a package is loaded with options both in LyX and -config.tex a clash occurs and the document is not compilable. It seemed better to have the template compilable as-is by using \PassOptionsToPackage, even though it would lead to some options not being evaluated. As reference, see the ...


2

I would like, in addition to the excellent response of egreg, add that frenchb from babel has this option : ThinColonSpace=true (false) changes the inter-word unbreakable space added before the colon ‘:’ to a thin space, so that the same amount of space is added before any of the four ‘high punctuation’ characters. The default setting is supported by the ...


8

A counterexample to what you assert. With babel the right spaces are used, according to French typographic rules. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{newunicodechar} \newunicodechar{«}{\og} \newunicodechar{»}{\fg} \begin{document} Une phrase en français; sans intérêt, avec ...


3

I think you can do what you require with the babel-french (frenchb) package: http://ctan.org/pkg/babel-french.


2

from: How to typeset a "small" non-breaking space (1) the definition of ~ is \leavevmode\nobreak\ (2) Change the \nobreakspace definition. (3) I don't know about using babel to do it, but you can use \, to insert the thin unbreakable space. EDIT: typo.



Top 50 recent answers are included