Tag Info

Hot answers tagged

10

the regexp for a and A is [Aa] not [A+a] but also as you were adding commands that had letters like later regexp were altering the commands already added. Simpler just to match all letters with one regex and add a command that adds a colour depending on its argument: \documentclass{article} \usepackage{xparse,l3regex} \usepackage{xcolor} ...


4

Since the file name encoding seems to be UTF-8, the file name needs to be reencoded from Latin-1 to UTF-8. This is also supported by package grffile: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{graphicx} \usepackage[encoding,filenameencoding=utf8]{grffile} \begin{document} \includegraphics{Bäckerstraße} \end{document} Alternatively ...


3

Something like that? \documentclass{article} \usepackage[many]{tcolorbox} \begin{document} \begin{tcolorbox}[enhanced,ams align,drop fuzzy shadow, colback=yellow!10!white,colframe=yellow!50!black] \tan{\theta} &= \frac{2t}{1-t^2} & \sin{\theta} &= \frac{2t}{1+t^2} & \cos{\theta} &= \frac{1-t^2}{1+t^2} \end{tcolorbox} \end{document}


2

Or like this ;) \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} %\usepackage{amsmath} %% not needed, loaded by empheq \usepackage{amsfonts} \usepackage{empheq} \usepackage{amssymb} \usepackage[most]{tcolorbox} %% box from tcolorbox manual \newtcbox{\otherbox}[1][]{nobeforeafter,math upper,tcbox raise base, enhanced,frame ...


2

The ps2pdf.exe in miktex/bin first sets an environment variable so that it points to mgs.exe and then calls the ps2pdf.bat in miktex/scripts/ghostscript/bat. You can avoid the call to mgs.exe by using the .bat directly. On my machine this here tries to use gswin32c.exe (default) or whatever an environment variable GSC points to: ...


1

In recent versions of auctex, it looks like it'll be more reliable to set TeX-command-extra-options, which is designed for just this purpose, and doesn't make you override the various forms of TeX-command. So this is a nice, non-destructive way of adding options without interfering with changes down the line -- like switching between TeX flavors, enabling ...


1

Any suggestions on how to proceed would be welcome. I would prefer not to manually change any configuration files as I came across an admonishment not to do so in the pdfTeX manual. I never bothered to repair this kind of misbehaviour of Emacs, because if I encounter "TeX exited abnormally", I have a quick look at the output. You get it in a fraction of ...



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