Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
6

If it's just a drop-in replacement, then something like below should be good. \documentclass{article} \makeatletter % let's emulate a package \newcommand{\newversion}{This is the command that should be used} \newcommand{\oldversion}{% \PackageWarningNoLine{morenko}{% The command \noexpand\oldversion is obsolete and might get\MessageBreak ...


3

\caption is a moving target and potentially needs to write its argument to a file (for the list of whatever). Some commands are fragile and thus cannot readily be used in a moving target. Often this can be mitigated by using protection (pun intended): $\protect\yng(3)$


3

Your large code can be reduced to the following MWE: \documentclass{article} \usepackage{flexisym} \usepackage{classicthesis} \begin{document} text \end{document} The flexisym package is aparently incompatible with the mathpazo package that is loaded by classicthesis upon compiling with pdflatex. You have the following two options to overcome this: ...


2

I ended up making this work with \pdfmapfile{=tengwarscript.map} \usepackage[annataritalic]{tengwarscript} in my preamble, using fonts from: http://www.thehutt.de/tolkien/fonts.html And directions from: https://github.com/nbeaver/tengwarscript-install-guide/blob/master/readme.rst


2

By default \documentclass{article} \usepackage[T1]{fontenc} \begin{document} abcđ \end{document} Produces If you need dj then \documentclass{article} \usepackage[T1]{fontenc} \DeclareUnicodeCharacter{0111}{dj} \begin{document} abcđ \end{document} producing


2

The textgreek package by default uses Computer Modern (the Greek fonts by C. Beccari). But kpfonts sets \bfdefault to b rather than the standard bx, and there are no b/it fonts defined among the Greek cmr fonts. LaTeX Font Warning: Font shape `LGR/cmr/b/it' undefined (Font) using `LGR/cmr/b/n' instead on input line 17. This explains why you ...


1

The source code of the first paper is available from https://arxiv.org/format/1512.06213 Looking at the pdf meta data of figure 1, it was created with powerpoint (I can't say anything about the second paper, it is hidden behind a paywall :( )


1

I use the listings package for this. See the example below which defines two environments, one to typeset Ubuntu terminal (command line) commands and one to typeset Python shell sessions. \documentclass{article} \usepackage{listings} \usepackage{xcolor} % Macro \lsteveryline{<tokens>} to prefix tokens to every line \makeatletter \def\lst@everyline{}...


1

To find a package version, you can just open the package source file on your file system and look the version directly by yourself with some text editor as Sublime Text. Here are the paths and references for the latex paths on Linux and Windows for the biblatex package: Miktex (Windows) D:\Programs\Mikyex\latex\texmfs\install\tex\latex\biblatex-abnt\bbx\...


1

People who need to typeset lots of trees may want to take a look at Dednat6, that understands 2D ascii art trees in blocks of comments. Dednat6 is not at CTAN yet, but there is a TUGBoat article about it. The following LuaLaTeX code %: H %: ... %: A B C E F \Pi %: =======r ::::\phi ... %: D ...


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