Tag Info

New answers tagged

3

Define \olok within the document preamble, not inside the document where you'll have other content-related information: \documentclass{article} \usepackage{amssymb,graphicx} \usepackage[turkish]{babel} % Document-related definitions \newcommand{\olok}{\rotatebox[origin=c]{135}{$\twoheadrightarrow$}} \begin{document} \olok \end{document} The above ...


2

The translator package should be loaded by siunitx if there were a spanish dictionary. There isn't so we have to use the tools provided by siunitx. I also suggest another layout for the table (2nd table): \documentclass[spanish]{scrartcl} \usepackage[usenames,dvipsnames,x11names,table]{xcolor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...


5

For a lack of spanish at this time: \documentclass[spanish]{scrartcl} \usepackage{babel} \usepackage[per-mode=symbol]{siunitx} \ExplSyntaxOn \providetranslation [ to = Spanish ] { to~(numerical~range) } { iraultza }%substitute the right word here \ExplSyntaxOff \begin{document} \SIrange{10}{50}{\milli\metre} \end{document} siunitx works closely ...


3

In the argument to \hyphenation only letters and hyphens to mark the admissible break points are allowed; babel shortcuts are definitely not allowed. The simplest strategy for coping with this problem is to define a macro: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} ...


4

Classicthesis does a mess, so does the config-file that is provided with the template bundlle. Simple advice, don't use it. Simple solution to the stated problem is to load package classicthesis before loading the config file. After reducing everything that is irrelevant for the stated problem, we come to the following. \documentclass[slovak]{scrreprt} ...


2

Explicit usage of \selectlanguage in a document should be very rare. In your case the correct command to use is \foreignlanguage: \documentclass{article} \usepackage[T2A,T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage[slovak,ngerman]{babel} \usepackage{droid} \usepackage{tipa} \usepackage{array,longtable} ...


4

If you need to load code after babel has made characters active it is usually best to locally undo that, here it seems to work to turn off : \documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage[french]{babel} \usetikzlibrary{babel} \begin{document} \shorthandoff{:}% \usetikzlibrary{shapes.misc} \shorthandon{:}% \end{document}


5

The changes package supports a few babel languages, but not british. You can solve the issue by adding the support yourself: \documentclass{article} \usepackage[british]{babel} \usepackage{changes} \addto\captionsbritish{\def\listofchangesname{List of changes}} \addto\captionsbritish{\def\summaryofchangesname{Changes}} ...


6

There is wrong code in italian.ldf: such code is wrong because it relies on the mathcode of the comma being the same as in the standard setting, which is not the case when minionmath is used. Indeed the standard math code for the comma is "613B, which becomes "622C with minionmath. The consequence is that \virgola and \virgoladecimale point to a random ...


4

amsbook should use MakeUppercase (or the excellent textcase package as proposed by egreg:-) However babel's brazil option could use a form that would work with \uppercase if it used \'{i} rather than \'{\i}. \documentclass[11pt,a4paper]{amsbook} \usepackage[brazil]{babel} \begin{document} \def\chaptername{Cap\'{i}tulo} \chapter{title} ...


4

You can make a patch to use \MakeUppercase instead of \uppercase\@xp. It's a good idea to load textcase along with amsbook, particularly if accented characters are expected. \documentclass{amsbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[brazil]{babel} \usepackage{textcase} \usepackage{etoolbox} \makeatletter ...


0

Ok, turns out this is the exact same problem solved by the answer by @egreg in Error when using Greek babel, mparhack and \pagenumbering{roman}. Here too, [greek,]{babel} redefines \thepage to use the unexpandable \textlatin - but the problem here occurs because {lastpage} wants to write \thepage into the .aux file, through its function/macro ...


6

The problem comes from csquotes. Either set the quoting style on loading, via \usepackage[style=english]{csquotes} or if this is only a problem in the bibliography itself, issue \setquotestyle{english} just before \printbibliography. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...


2

The mdframed package tries to patch \deferred@thm@head, but the replacement text of this macro contains -, which babel-czech uses as shorthand, so the patch fails. Temporary workaround: \documentclass[10pt,twoside,openright]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{xcolor} % Required for specifying ...


4

If the hyphenation is really wrong (I take your word for it), the first thing to do is to make aware of this the people who are responsible for the hyphenation patterns at the mailing list about hyphenation in TeX. I find nothing about the problem in that list, though. In the meantime, you can enable the patterns for Serbian with the help of hyphsubst: ...



Top 50 recent answers are included