Tag Info

New answers tagged

3

The file plainenc.tex loads plain.def from babel, but this has already been read as part of the generic hyphenation loader. The file plain.def can be loaded multiple times unless \@yargdef has been executed between those two points. What happens is that \@yargdef does \let\@hash@##, and this means that on the second reading you can't use \@hash@ inside the ...


0

Just remove \usepackage{polski} altogether and you should be fine. All its functionality is covered by \usepackage[polish]{babel}.


2

The smartand value is used in spanish.lbx which is loaded by spanish-apa.lbx. So you don't have a chance to change it. But you can do this: \documentclass{article} \usepackage[english,spanish]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[style=apa,backend=biber]{biblatex} \DeclareLanguageMapping{spanish}{spanish-apa} %reactivate ...


0

The default setting for the spanish-apa style is that all 'and' gets replaced by &, i.e., it will not be realized as 'y' or 'e'. For reasons I don't quite understand, changing the value of the counter anywhere has no effect. I think this is due to the following description in the biblatex documentation about how localization files are loaded: All ...


1

\babeltagsis a rather new command in babel. Make sure that your system is up-to-date.


3

Load the babel library: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,slovene]{babel}% \usepackage{tikz} \usetikzlibrary{quotes,babel} \begin{document} \begin{tikzpicture} \draw (0,0) edge ["right", ->] (2,0); \end{tikzpicture} \end{document}


2

In RL mode (arabic or farsi text) numbers should by coded using \I{123} to be typested in arabo-indic digits or extended arabo-indic digits. \textLR{123} to be typested in arabic digits. Here we can use (\I{\ref{eq:label}}). We can redefine \ref command like this \let\arref\ref \renewcommand{\ref}[1]{\I{\arref{#1}}}


2

As it says in the cleveref manual, you need to hook your \crefformat commands into babel's language-switching mechanism. This is explained in detail in the babel documentation, but basically you need to add your \crefformat definitions to the appropriate \extras<language> macro. Cleveref uses a convenience macro \cref@addlanguagedefs to accomplish ...


1

The problem seems to be the tikzpicture inside an argument. It works if you use a lrbox environment instead the \savebox command. \documentclass[a4paper,10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{tkz-fct}% loads graphicx, xcolor \begin{document} Test : \newsavebox\imgA \begin{lrbox}{\imgA} ...


0

I had a similar hyphenation issue and fixed it by : Turning the option Document / Settings / Language / Language package to None (to avoid the message "option clash for package babel"). Adding \usepackage[french]{babel} in Document / Settings / Latex preamble


2

Well your example is certainly not the shortest possible example. Actually it is enough to call \tableofcontents. The problem is that arabic loads the arabicore.sty which redefines all pagestyles (and other things, I don't have the impression that style author really thought about multilanguage documents). The best would probably to reset the pagestyles ...


5

Here I demonstrate only how to use fontspec to select many different fonts for different languages in one document. I use a main font that already covers a wide Unicode range, and then select other fonts as appropriate. I used fonts either available in TeXLive or freely available elsewhere. Compile with lualatex. Note that for Hebrew and Arabic you have to ...


1

The package isn't really suitable for other languages than english. It contains only an english-oscola.lbx. You could load this lbx and then redefine the strings: \DeclareLanguageMapping{italian}{english-oscola} \DefineBibliographyStrings{italian} {eucase={.....}, .... }


3

The active " is a babel shorthand, TikZ library babel helps: \usepackage[ngerman]{babel} \usepackage{tikz} \usetikzlibrary{babel}



Top 50 recent answers are included