New answers tagged

2

Indeed, I happen to only have the English-babel-package installed on my system. My solution was to install the package texlive-lang-german. Since I had some problem with my linux-dependencies, I did this with the command sudo aptitude install texlive-lang-german and chose one of the suggested solutions. Another possibility would be sudo apt-get ...


4

Since the bug is in \@yargdef, it can be fixed by patching this macro as follows: \gdef\@my@aaa{*} \ifx\@my@aaa\@my@bbb \immediate\write16{skip redefining yargdef} \else% \gdef\@my@bbb{*}% %%--- the original code of \@yargdef goes here ---%% \fi% I have ready-to-use solutions with cyrillic (russian) Plain TeX, AmSTeX, and LaTeX 2.09 in MiKTeX 2.4 and ...


4

Here's the apacite version of what you want to do. The localization strings are found in the french.apc file that is part of apacite. They must be changed at the beginning of the document, not in the preamble. % !BIB TS-program = bibtex \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{filecontents}{\jobname.bib} @...


1

If you use biblatex and the apa style, this will be done automatically. All you need to do is tell it to use the correct localization file: \documentclass{article} \begin{filecontents}{\jobname.bib} @electronic{electronic, Author = {Domi}, Date-Added = {2016-06-16 19:40:18 +0000}, Date-Modified = {2016-06-16 19:42:54 +0000}, Lastchecked = {...


4

The problem is that when the tikzpicture is in the argument to another command, the category codes are frozen and the trick used by the babel library no more works. The (admittedly not so nice) workaround is to disable the quoting feature of babel-spanish, that is not so important now that csquotes can do the same service in a cleaner way. \documentclass[]{...


2

I don't know exactly what is happening but ifthen is interfering here. If I replace with a simple if-macro it works without any problems \documentclass[]{article} \usepackage[spanish]{babel} \usepackage{tikz} \usetikzlibrary{babel} % this works most of the time, but not in % an \ifthenelse \newif\ifboolsolution \boolsolutiontrue \...


2

One can abuse the font= key in the node's options, to add the \hspace{0pt} macro at the beginning of the node. However this overwrites previous font keys, if present. child {node[concept,font={\hspace{0pt}}] {Unterschiedsschwelle}} In order to preserve the existing font keys, you can define the following in the preamble \makeatletter \tikzset{add to ...


1

The bblopts.cfg from arabi is in tex\latex. You put your version in tex\generic. Now latex doesn't search first the local texmf tree and then the main tree but follows a sort of zig-zag path (see http://tex.stackexchange.com/a/79983/2388). This means that when the \InputIfFileExists is processed miktex finds first the bblopts.cfg from arabi and so tries to ...


2

Apparently it's a MikTeX bug. As a workaround, try \usepackage[noconfigs,british]{babel} The option noconfigs does what its name suggests.


2

Add the option autostyle to csquotes. Comment aside: the image in your post shows American quotes rather than British ones. Note: You also may have quotes in the references sections established on a per entry language basis if you use the langid field. \RequirePackage{filecontents} \documentclass{article} \usepackage[utf8]{inputenc}% \usepackage[T1]{...


2

You're lucky: TeX Gyre Pagella supports the L7x encoding. \documentclass[a4paper,12pt]{article} \usepackage{mathpazo} \usepackage{tgpagella} \linespread{1.05} \usepackage[L7x,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[lithuanian,english]{babel} \renewcommand{\ltfamily}{\familydefault} \begin{document} \begin{otherlanguage}{lithuanian} ...


0

Instead of using \usepackage[brazilian]{babel}, use \usepackage[brazil]{babel}. It should work. According to the documentation, brazilian should work as well as brazil, but it isn't. Perhaps brazilian was removed (no longer in use) but the documentation wasn't updated. The weird thing is that taking a fast look at the code, brazilian is there! Maybe it's a ...


2

It's a bug in italian.ldf and should be reported. The problem is that the revtex4-1 class activates the comma, but italian.ldf assigns a different meaning than the class expects. Here is a workaround. \documentclass[ aps, ]{revtex4-1} \usepackage[T1]{fontenc} \usepackage[italian]{babel} %% work around the bad interaction between revtex and babel-italian ...


1

Using following macro does the job for me: \newlength{\sect@@width} \usepackage{calc} \newcommand\mlsection[2]{% \refstepcounter{section} \begingroup \def\temp@@a{\noindent{#1}\hfill{#1}} \setlength{\sect@@width}{\widthof{\temp@@a}} \ifdim \sect@@width>\textwidth \noindent#1\newline \noindent#2 \else \temp@@a \fi \endgroup \...


3

Something like this perhaps? (warning, the section title does not wrap around correctly!) \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,frenchb]{babel} \babeltags{en = english} \babeltags{fr = frenchb} \usepackage{xpatch} \usepackage{xparse} \usepackage{blindtext} \usepackage{parcolumns} \...


5

The magyar option seizes the initiative and changes the code for \@chapter to reflect the original code in the class and ignores the settings by sectsty. It does nothing to \@schapter, which is the reason you see sans serif in unnumbered chapters. Use titlesec, instead: \documentclass[a4paper]{report} \usepackage[sf,bf]{titlesec} \usepackage[T1]{fontenc} ...


3

Use \def\magyarOptions{chapterhead=unchanged} before \usepackage[magyar]{babel} Code: \documentclass[a4paper]{report} \def\magyarOptions{chapterhead=unchanged} \usepackage[magyar]{babel} \usepackage[utf8]{inputenc} \usepackage{t1enc} \usepackage{blindtext} \usepackage{sectsty} \chapterfont{\usefont{T1}{qhv}{b}{n}\selectfont\huge} \sectionfont{\usefont{...


1

Here is a solution \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{t1enc} \usepackage[magyar]{babel} \usepackage{blindtext} \usepackage{sectsty} \chapterfont{\usefont{T1}{qhv}{b}{n}\selectfont\huge} \sectionfont{\usefont{T1}{qhv}{b}{n}\selectfont\LARGE} \subsectionfont{\usefont{T1}{qhv}{b}{n}\selectfont\Large} \makeatletter \let\...


2

You are right in loading babel after fontspec. However, the GSF Artemisia font has no glyph at U+03DB GREEK SMALL LETTER STIGMA, but only the uppercase variant at U+03DA GREEK LETTER STIGMA. Happily, the aspect of the glyph at U+03DA is lowercase, so you can use it. \documentclass{article} \usepackage{unicode-math} \usepackage{fontspec} \usepackage[...


1

unicode-math should be loaded always loaded after other font-settings, this will cure the missing item number problem. In addition, I recommend to use polyglossia instead of babel: \documentclass{article} %\usepackage[english,greek]{babel} \usepackage{polyglossia} \setdefaultlanguage[variant=modern]{greek} \setotherlanguage{english} \usepackage{...



Top 50 recent answers are included