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

New answers tagged

0

As egreg points out in his answer, the problem stems from \bfdefault being set differently than is the norm. A simple work around is \fontseries{bx}\selectfont. I wrote the macro \newcommand{\textbx}[1]{\fontseries{bx}\selectfont #1} which is then used instead of \textbf.


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 ...


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)$


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 :( )


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 ...


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


0

I don't know yet how to solve this issue in BibTeX. Just for my own comport, I wanted to use a numeric-bib style which will show url and urdate too. But I couldn't find out the necessary bib style and packages to fulfill my need. Then I saw it can be done quite easily by using the package biblatex. Here's an example of what I did to solve the issue: \...


0

For everyshi.sty, we need to download ms from CTAN. CTAN folder contains everyshi.dtx and everyshi.ins. Now, we need to create the everyshi.sty file from everyshi.ins using command prompt. Open command prompt -> give the location of the folder containing ms -> type latex everyshi.ins and run. It will automatically create everyshi.sty. Hope it helps.


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{}...


0

I managed to fix the problem with help from egreg. It turns out I had a MacPorts version of TeX Live installed in addition to MacTex. After I properly removed MacPorts, I was able to compile using MacTex with no further errors. Details available here: Fontspec compilation error with MacTeX-2018


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: ...


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\...


Top 50 recent answers are included