Tag Info

New answers tagged

2

This is a relatively comprehensive list of Arabic and Persian characters to use between \AR{} environment: \hamza ء \alefmadda آ \alefhamza أ \wawhamza ؤ \aleflowerhamza إ \yahamza ئ \alef ا \baa ب %\peh \T ة %taa marbuuta \taa ت \thaa ث \jeem ج %\tcheh \Haa ح \kha خ \dal د \dhal ذ \ra ر \zay ز \seen س \sheen ش \sad ص \dad ض \Ta ط ...


1

With KOMA-Script If you use package babel together with KOMA-Script (to be correct, package scrbase, which is called in the KOMA-Script classes scrartcl, scrreprt, scrbook and scrlttr2 and in the KOMA-Script package scrextend) it is better to use the mechanism of KOMA-Script instead of babels because KOMA-Script has a better verification. KOMA-Script ...


2

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 ...


5

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



Top 50 recent answers are included