All Questions

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

Why is 1.5 the default pdf version?

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 ...
user avatar
  • 2,354
55 votes
0 answers
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{...
user avatar
  • 2,743
50 votes
0 answers
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 ...
user avatar
33 votes
0 answers
1k views

Advanced Math and braille

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?
user avatar
29 votes
0 answers
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,...
user avatar
  • 17.4k
27 votes
0 answers
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 ...
user avatar
  • 42.8k
22 votes
0 answers
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 ...
user avatar
  • 32.3k
21 votes
0 answers
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 ...
user avatar
  • 16.9k
18 votes
0 answers
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 ...
user avatar
  • 2,641
17 votes
0 answers
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 ...
user avatar
  • 8,129
17 votes
0 answers
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 ...
user avatar
  • 467
16 votes
0 answers
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 ...
user avatar
  • 436
15 votes
0 answers
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 (...
user avatar
  • 7,109
15 votes
0 answers
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 ...
user avatar
  • 16.5k
15 votes
0 answers
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 = ...
user avatar
  • 2,815
14 votes
0 answers
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 ...
user avatar
  • 191
14 votes
0 answers
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, \@...
user avatar
  • 151
14 votes
0 answers
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.) ...
user avatar
  • 8,129
14 votes
0 answers
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 ...
user avatar
14 votes
1 answer
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 ...
user avatar
  • 1,120
13 votes
0 answers
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 ...
user avatar
13 votes
0 answers
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 ...
user avatar
  • 29.6k
12 votes
0 answers
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{...
user avatar
  • 1,708
12 votes
0 answers
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 ...
user avatar
  • 121
12 votes
0 answers
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 ...
user avatar
  • 3,930
11 votes
0 answers
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 ...
user avatar
11 votes
0 answers
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' ...
user avatar
  • 12.9k
11 votes
0 answers
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,...
user avatar
11 votes
1 answer
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\...
user avatar
11 votes
1 answer
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 ...
user avatar
  • 184k
10 votes
0 answers
5k views

User/administrator updates are out-of-sync. Updated for both user and admin but nothing happened

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 ...
user avatar
  • 1,437
10 votes
0 answers
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 ...
user avatar
  • 101
10 votes
1 answer
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 ...
user avatar
  • 833
10 votes
0 answers
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 ...
user avatar
  • 32.3k
10 votes
0 answers
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} \...
user avatar
  • 8,714
10 votes
0 answers
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 ...
user avatar
  • 101
10 votes
1 answer
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 ...
user avatar
  • 101
10 votes
0 answers
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, ...
user avatar
  • 1,093
9 votes
0 answers
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 ...
user avatar
9 votes
0 answers
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 ...
user avatar
  • 23.8k
9 votes
0 answers
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 ...
user avatar
  • 28.9k
9 votes
0 answers
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 ...
user avatar
  • 1,812
9 votes
2 answers
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 (...
user avatar
9 votes
0 answers
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} \...
user avatar
9 votes
0 answers
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 ...
user avatar
  • 819
9 votes
0 answers
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 ...
user avatar
  • 809
9 votes
0 answers
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 ...
user avatar
  • 103
8 votes
0 answers
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 ...
user avatar
8 votes
0 answers
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}$ \\ ...
user avatar
  • 3,906
8 votes
0 answers
1k views

False lacheck Unmatched "{" Error

In the simple LaTeX file: \documentclass{report} \newcommand{\defaultleftmargin}{0.25in} \begin{document} \end{document} I get the following errors with lacheck: "hw01.tex", line 5: <- ...
user avatar
  • 390

15 30 50 per page
1
2 3 4 5
475