Hot answers tagged

4

For babel, you have to use \frenchbsetup{og=«, fg=»}. For polyglossia, you have nothing to do, except the package inserts a breakable space (bug?), so in case the space does break, you have to insert an unbreakable thin space by hand (\,`). % !TeX TXS-program:compile = txs:///xelatex/[--shell-escape] \documentclass[12pt]{article} ...


3

Care needs to be taken when identifying the source/cause of the difference in output. For sure, \documentclass{standalone} \begin{document} $v_{\mathrm{eff}}$ \end{document} can be compiled with both pdfLaTeX and LuaLaTeX. Importantly, it produces identical results with respect of the relative position of the subscript term, irrespective of whether ...


2

The name of the fd-file is T1DejaVuSans-TLF.fd (see e.g. http://www.ctan.org/tex-archive/fonts/dejavu/tex). This means that the name of the family is DejaVuSans-TLF \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \fontfamily{DejaVuSans-TLF} \selectfont Some text... \end{document}


2

Not a direct answer but rather a pointer to a possible route to a solution. Last year I developed a BibTeX style for a book catalogue bookdb.bst which involved extending one of the regular BibTeX files. Run texdoc bookdb to view the User Manual and possibly read bookdb.bst if you want the gory internal details. The User Manual doesn't describe the internal ...


2

Seems, that pdflatex doesn't accept files that have 2 adjacent spaces. To reproduce the problem create a file: a a.tex. Then: $ pdflatex ./a\ \ a.tex This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) entering extended mode ! I can't find file `"./a a.tex"'. For some reason it converted 2 spaces in the file name into 1 space.


1

This combines sidwaysfigure and pdflscape into one environment. Nore: The everypage hook runs after the page is laid out, whereas \afterpage runs before the next page starts. The result appears to be compatible with pdflscape. \documentclass{article} \usepackage{blindtext} \usepackage{graphicx} \usepackage{everypage} \usepackage{afterpage} ...


1

To appear/disappear together with the image, the \checkmark must be placed on the same layer as the image. For this purpose, the example defines \layerCheckBox{<layer name>}{<layer internal name>}{on | off} For convenience, a command for creating radio buttons is also provided. From layers belonging to the same radio button group, only one ...


1

If I compile the example with TeX Live 2013, I get slanted type; with TeX Live 2014 (freezed after 2015-02-01) there's no slanted type any more. The reason is that the NewTX distribution underwent a major change on February 1, 2015. Here's the relevant part of the README file. Changes in version 1.4 1. All text fonts are now based on TeXGyre Termes, ...


1

Based on this answer to another question (suggested by @UlrikeFischer), I hit upon the atbegshi package, which lets you run things when a page is being typeset (in this case, adding the /Rotate 90 command to the PDF page). I originally tried to make do like this (simplified some things that seemed unnecessary from the original answer, as well as changing it ...


1

If you want to use csquotes you should make the quotes active, and input them (also the colon) without spaces as spaces can insert unwanted break points: \documentclass[12pt]{article} \usepackage[paperwidth=14cm,paperheight=20.5cm]{geometry} \usepackage{libertine}% use this font and geometry width to reproduce bad break \usepackage{ifxetex} \ifxetex ...


1

I had this problem and none of the sites I visited helped. This is for linux. I was installing on a semi-incomplete backed-up image of a previous computer. My problem turned out to be the pre-existing config files in /etc/texmf/updmap.d This is what I did: Remove all tex packages: sudo apt-get remove texlive etc PURGE all tex packages: sudo apt-get ...



Only top voted, non community-wiki answers of a minimum length are eligible