# All Questions

23,750 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6k views

At least TexLive creates PDFs by default in version 1.5. Why this particular version? This question has been asked before in a comment and didn't receive the attention it deserves. (duh!) This site ...
• 2,354
2k views

### How can I use wxLua in LuaLaTeX on Windows?

I have some problems using wxLua in LuaLateX. This works: lua simpleui.lua (print instead of tex.print) But if I try this: lualatex wx.tex it doesn't work. \documentclass{article} \directlua{...
• 2,743
2k views

### Using XMLTeX to typeset OpenDocument Text

I know that XMLTeX has already been used to typeset TEI documents, but has anyone publicly worked on a set of environment files and stylesheets to typeset OpenDocument Text? I have been looking for ...
• 1,559
1k views

How does one go about typesetting math books in braille with all parenthesized subscripts and superscripts and are there braille signs for the amsmath package special symbols?
654 views

### Is there a way to optimize citation order to reduce the number of superscript numbers in text?

I want to know if there is a way to optimize the order my citations are in, such that they output the minimum number of numbers in the text. So, if I have citations \cite{A,B,C} and later \cite{A,C,...
• 17.4k
520 views

### What explains this discrepancy between LuaTeX and other engines?

I answered a question about hyphenating already-hyphenated words (like “already-hyphenated”, or “often-hungry”), and this came up. Consider the following input file (uncomment the first three lines if ...
• 42.8k
495 views

### How to customize l3doc?

As I'm currently writing a package and started to use dtx format I wondered if there are alternative classes just using doc, so I started to use l3doc (since I use expl3 syntax). I'm pretty satisfied ...
• 32.3k
520 views

### Adding full non-English Unicode language (Bengali) support to polyglossia

As we can see in this question, Bengali (Bangla) support in polyglossia is incomplete. The major weak areas are, Support for numerals. Support for other language related areas like dates. For the ...
• 16.9k
1k views

### proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
• 2,641
922 views

### Decide between Polyglossia and Babel for XeLaTeX in 2019

Which are the key questions one has to ask to decide between Polyglossia and Babel for a XeLaTeX project in 2019? There has been a similar, more general question in 2012, but the packages have ...
• 8,129
1k views

### Script for using metatype to convert metafont to TTF?

In the metatype FAQ, there's a section called "I have Metafont sources of some font. How could I convert it to TrueType using Metatype?" In that, he lays out a dozen steps that really should be ...
• 467
975 views

### Datepicker for LaTeX fillable form

I am replicating a fillable/savable form from LiveCycle with LaTeX using \CheckBox and \TextField items. I would also like to replicate the pop-up calendar / datepicker feature. I am aware of the ...
• 436
225 views

### Is there any repository of BibTeX extension conventions?

There are a few fairly wide-spread extensions to the set of "standard" BibTeX entry types and fields: @webpage is fairly common, I think, and url and eprint are fairly common fields. In some cases (...
• 7,109
957 views

### Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
• 16.5k
827 views

### Asymptote generates different output whether running in interactive mode or from pdflatex

I would like to make 3d pictures and put them side-by-side. I can do that nicely creating a file example.asy: settings.render=1; import graph; import graph3; import contour3; material reds = ...
• 2,815
257 views

### Optimising microtype for variable fonts

One can find the following passage on p. 27 of the microtype package documentation: Don’t use too large a value for expansion. Font expansion is a feature that is supposed to enhance the typographic ...
• 191
3k views

### Class revtex4-2 Warning: Failed to recognize

When compiling a document with revtex4-2 class (and also with revtex4-1), I get the following warning: pdflatex> Class revtex4-2 Warning: Failed to recognize \@vspace, \@vspacer, \@no@pgbk, \@...
• 151
426 views

### How to select the right index tool for LuaLaTeX in 2019?

There are several tools for indexing: luaindex (one release from 2011, written in Lua, "This is an alpha version!", by Markus Kohm) makeindex (1987-1993, written in C, by L. Lamport, P. Chen et al.) ...
• 8,129
2k views

### Obtain an animated PDF from an animated SVG

I have read Animations in LaTeX, but my question (I think) is different. I have an SVG animated file and I want to create the same animation in LaTeX, without rewriting the code. An example is this ...
• 1,889
1k views

### Tikz externalize not working when jobname is specified for main document

I'm not sure if it's a well known fact or not, but using the tikz externalization library does not work very well if a LaTeX document is compiled with a jobname that is different from the filename of ...
• 1,120
421 views

### Release space in the string pool

I managed to get a capacity exceeded message by adding a bit too many named coordinates to a number of tikzpictures and so started to test and now wonder if it is possible to release unneeded space in ...
• 296k
689 views

### Unexpected behaviour with sorting option, multiple ref context and biblist (biblatex 3.0)

I have a large bibliography file where the vast majority of entries are annotated (and annotations can (and do) contain \cite commands). I have to produce a list of the annotated entries displaying ...
• 29.6k
150 views

### tikz 3d gets "too many vectors" at commercial printer - detection? fix?

The 3d marmot included in samcarter's upcoming tugboat article on tikzlings (thanks sc!), which reduces to, \documentclass{article} \usepackage{tikzlings} \begin{document} \tikz{\marmot[3D]} \end{...
• 1,708
10k views

### BibTex to EndNote

I have gone through a lot of seemingly similar questions/issue but have not find a solution. Since we are working as a group there are some that prefer to write using MS Word-EndNote. I have all ...
• 121
349 views

### Tags, like on TeX.SE, but with the ability to show or hide both the tag--document structure and associated text, as in the multiaudience package

The term "tags" can be understood to mean that which is used to organize and make text more understandable (as in TeX.SE). The term "tags" can also be understood as something used to manipulate the ...
• 3,930
254 views

### pgfplots: x vs \x

This question is a follow-up to this question ("pgfplots: Strange Bump in \tanh Function"). Stefan Pinnow, who knows a thing or two about pgfplots, provided an answer that distinguished ...
• 20.6k
498 views

### Proper usage of otherkeywords option in listings

I'm trying to understand how listings' otherkeywords option really works. The documentation says about it: Defines keywords that contain other characters, or start with digits. Each given 'keyword' ...
• 12.9k
255 views

### What does the .fit() method of a picture do?

What does the .fit() method of a picture do in the following Asymptote code? picture pic1; real size=50; size(pic1,size); fill(pic1,(0,0)--(50,100)--(100,0)--cycle,red); picture pic2; size(pic2,...
• 2,193
1k views

### Footnotes in one column in twocolumn document

I have a Latex code with twocolumn option in article.cls. \documentclass [11pt,twocolumn]{article} \usepackage[affil-it]{authblk} \usepackage{blindtext} \usepackage{abstract} \makeatletter \newbox\...
• 552
207 views

### How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec?

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec? In this answer I provide a tentative patch which allows character protrusion to work normally in ...
• 184k
5k views

So every time I run code on TeXStudio, I would get User/administrator updates are out-of-sync. I have updated MikTeX as both admin and user on my machine, but I still get this message. How to fix ...
• 1,437
214 views

### How can I combine overlapping marginnotes in ConTeXt?

I'm working on a project very similar to the one described in this question, only for various reasons I'm using ConTeXt rather than that poster's use of XeLaTeX. I too am typesetting a text with ...
• 101
1k views

### todonotes: Use only left or only right margin?

Is there any way to force todonotes to place comment bubbles only on the left side of the page, or only on the right side of the page? My corporate document template is two-sided, so todonotes puts ...
• 833
705 views

### Comfortably typesetting Extended Backus-Naur-Form

On this site I've found some solutions how to typeset Backus-Naur-Forms, e.g.: How to type a Backus-Naur form in LaTeX Which package can be used to write BNF grammars? Unfortunately both solution ...
• 32.3k
401 views

### LuaTeX 0.95 "incorrect math kerning"

I am trying out the new luatex 0.95 in TeXLive 2016 pretest. There's a problem with math kernel. Below is a MWE \documentclass{article} \usepackage{unicode-math} \setmathfont{Lucida Bright Math OT} \...
• 8,714
862 views

### TeX to ScientificWorkplace and back

I use TeXWorks while coauthors are stuck with ScientificWorkplace. They are not (even) able to save the document as Portable LaTeX. Is there a "standard" preamble I could add to the .tex document to ...
• 101
2k views

### Framemaker to LaTeX

I'm a software person who has been tasked with moving a few thousand pages of documentation for a piece of legacy software online. The documentation is all in Adobe Framemaker and yes, there are lots ...
• 101
1k views

### Configurable and Extensible Accents (Arrows, Dots, Vectors)

There seems to be no shortage of questions that ask how to place some symbol (frequently a non-standard arrow) over another symbol. Similarly, many people also want extensible arrows. And as expected, ...
• 1,093
848 views

### TeXLive 2020: How to deal with tikz-berge and tikz-kiviat packages that were removed from CTAN

The MWE below works fine with TeXLive 2019 and produces: But with TexLive 2020 version (MacTeX) I get ! LaTeX Error: File tikz-berge.sty not found ! LaTeX Error: File tikz-kiviat not found It ...
• 215k
187 views

### Adjust \autocite on the basis of long/short form citation

SBL Style has a very particular requirement for when citations occur within footnotes. The standard verbose styles put citations in parentheses when they occur within footnotes by defining \smartcite ...
• 23.8k
1k views

### Package cmap or \input glyphtounicode?

I'm sending PDFs to some folks who are supposed to copy some of the content elsewhere. It is important that my files are searchable and copyable (while I doubt these words to be proper English...) So ...
• 28.9k
2k views

### Typesetting graphs of Turing machines

I have to typeset a lot of graphs of automatons looking like this. Therefore, I spent a lot of effort on introducing a simplied syntax based on TikZ. I got much help from here working out one or the ...
• 1,812
5k views

### Natbib Newblock Undefined Error with Informs3 Document Class

I am trying to submit an article to a Journal that uses the INFORMS3 document class. I used BibDesk to generate the BIB file and TexShop to compile the source file. Here is the TEX file, a minimum (...
627 views

### Integral limits placement with unicode-math

I'm struggling with integral limits placement when the unicode-math package is used (both under LuaLaTeX and XeTeX). The following example illustrates the issue: \documentclass[10pt]{article} \...
• 6,787
213 views

### Correcting wrong choice of character variant from a stylistic set

I'm typesetting a document in German blackletter with XeLaTeX and ran across a peculiar — for want of a better word — error: The hyphenation in itself is okay at that position. However, German ...
• 819
2k views

### \inputminted: distinct file parts in one listing (equivalent to linerange in listings)

I want to include code from a file into my document. However, several distinct line ranges should appear in the same listing. Also, I want to use gobbling, and it would be nice to include some blank ...
• 809
11k views

### TeX capacity exceeded, sorry [main memory size=5000000] with matlab2tikz and reduce_plot

Yet another Tex Capacity exceeded error. I am generating a matlab scatter plot which without modification resulted in a 64.5 MB printed eps file. Using that plot directly in matlab2tikz resulted in a ...
• 103
85 views

### Using some packages adds a vertical offset when using LaTeX to render text in matplotlib/python figures

I was advised to post here in the comments on a post I made on Stack Overflow. I'm using LaTeX to render my text in figures in the Python package matplotlib. My problem was that when I added siunitx ...
95 views

### Too much horizontal spacing after double subscript

The use of the additional subscript 1 on s below adversely affects the spacing afterwards: \documentclass{article} \begin{document} Actual: $\begin{array}{l} f_{s_1}(x) \\ f_{s}(x) \end{array}$ \\ ...
• 3,906