All Questions

26,544 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
58 votes
1 answer
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{...
SLx64's user avatar
  • 2,823
51 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 ...
Christian Gagné's user avatar
43 votes
0 answers
2k 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?
Jack Maddington's user avatar
34 votes
0 answers
1k 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,...
Canageek's user avatar
  • 18k
28 votes
0 answers
707 views

Hyphenation differences between LuaTeX and other engines

I would like to hear what from the LuaTeX documentation would help me predict the differences in hyphenation behaviour of LuaTex. I answered a question about hyphenating already-hyphenated words (like ...
ShreevatsaR's user avatar
  • 45.7k
21 votes
0 answers
1k 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 ...
Jonas Stein's user avatar
  • 8,939
20 votes
1 answer
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 ...
dgs's user avatar
  • 2,761
20 votes
1 answer
6k views

Is it possible to convert a citation style language (csl) style file to a bibtext (bst) style file?

I am in a bind, trying to wrap up my thesis in two weeks time. My university requires me to use their citation style, which they only provide for endnote or zotero. Since all my citations are in ...
niclas ericsson's user avatar
18 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 ...
Mike Stay's user avatar
  • 477
17 votes
0 answers
1k 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 ...
Tarass's user avatar
  • 17k
16 votes
0 answers
904 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 = ...
Jay's user avatar
  • 2,915
15 votes
0 answers
744 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 ...
Emily's user avatar
  • 221
15 votes
0 answers
587 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.) ...
Jonas Stein's user avatar
  • 8,939
15 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 ...
Giacomo Alessandroni's user avatar
14 votes
0 answers
202 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{...
Karl Berry's user avatar
  • 2,112
14 votes
0 answers
754 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 ...
Guido's user avatar
  • 30.9k
13 votes
1 answer
10k views

Simpler way to create chemical graphs using chemfig

chemfig is a great package to draw molecules. But it's not very fast. I am searching for a software to create chemfig code of chemical graphs (molecules, reactions etc.). It would be great if it is ...
jnbrq -Canberk Sönmez's user avatar
13 votes
1 answer
11k views

How to increase the padding in the code snippet box when using `listings`?

So I am writing a book on Awk programming language, and I have enabled a single frame via \lstset{frame=single}. However, I would like the code within the snippet box to be further away from the frame ...
user avatar
12 votes
0 answers
271 views

What is the recommended maintained modern (>= TexLive 2023) alternative to cleveref?

Cleveref has seems to be unmaintained as it produces broken references with TexLive 2023 and had its last release in 2018. It has been pointed out that it "might be not supported anymore". ...
Flow's user avatar
  • 1,017
12 votes
0 answers
917 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' ...
siracusa's user avatar
  • 13.5k
12 votes
0 answers
17k 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 ...
MJC's user avatar
  • 121
12 votes
0 answers
412 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 ...
A Feldman's user avatar
  • 3,930
11 votes
0 answers
1k views

Problem with the Glossary+bib2gls on Overleaf

I'm writing my thesis using overleaf and I would like to add Glossary. I have added the following commands to my preamble.tex \usepackage[record]{glossaries-extra} \GlsXtrLoadResources % input file ...
Ali's user avatar
  • 123
11 votes
0 answers
307 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,...
smilingbuddha's user avatar
11 votes
0 answers
850 views

Copyable tabs in minted

I'm preparing tutorial for students with code fragments that they will copy to a text editor. Is there a way to make syntax-highlighted code copyable to text editor so that indentation is preserved, ...
nuoritoveri's user avatar
11 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, ...
Tom's user avatar
  • 1,123
10 votes
0 answers
177 views

Is still xtemplates recommended for document class writers?

Suppose I'd like to create a LaTeX class based on another one (say article), with e.g. quotations or theorems with specific designs (say as tcolorbox boxes): is it still nowadays recommended to rely ...
Denis Bitouzé's user avatar
10 votes
0 answers
468 views

Typessing on a grid (Quantum spaces by Jean-Luc Doumont) support in latex

I saw the presentation of Jean-Luc Doumont on typesetting on a grid. He talks about some macros in this presentation, but I wonder if there is any package in latex yet, to support this. Here are the ...
Manuel Schmidt's user avatar
10 votes
0 answers
2k 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: <- ...
ZaydH's user avatar
  • 501
10 votes
0 answers
2k 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 ...
Keks Dose's user avatar
  • 31.2k
10 votes
0 answers
244 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 ...
Benjamin's user avatar
  • 101
10 votes
0 answers
959 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 ...
TeXnician's user avatar
  • 33.7k
10 votes
0 answers
792 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} \...
Sergei Golovan's user avatar
10 votes
0 answers
4k views

Dotted/Dashed text

is there a way to write dashed or dotted letters such that they appear like normal but dotted or dashed? i mean no word art or such things which i get when i use \pdfliteral{q 1 Tr [0.1 .8]0 d}#1\...
Ahmed Sokar's user avatar
10 votes
0 answers
434 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} \...
Yan Zhou's user avatar
  • 9,052
10 votes
0 answers
1k 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 ...
John's user avatar
  • 101
10 votes
0 answers
358 views

Can LuaLaTeX make wrapping text around figures easier?

If there is one thing LaTeX has never been good at, it is wrapping text around figures. Well, I have grown used to LuaLaTeX always providing a solution to what seemed impossible before. So does there ...
Gaussler's user avatar
  • 12.9k
10 votes
1 answer
7k views

How to incorporate and scale matplotlib plots in latex using the PGF backend?

I am using the pgf backend of matplotlib to generate pgf files which I want to put into my latex document using tikzscale to be able to resize them easily. Example python code: #!/usr/bin/env python # ...
Nils_M's user avatar
  • 201
9 votes
0 answers
109 views

lists, peek operations and microtype trouble

LaTeX's peek operations are a bit of a black box for me and I'm struggle to get microtype protrusion to behave in a custom list which has a peek operation at the beginning of it. The following silly ...
David Purton's user avatar
  • 26.4k
9 votes
0 answers
319 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 ...
TomVincentUK's user avatar
9 votes
0 answers
1k views

Highlighting pseudocode in algorithm

Edit: I "solved" my main issues now. It's a bit ugly/hacky, but at least the result looks ok. With this edit I'm replacing the now obsolete old code with what I have now. But suggestions for ...
Hansli's user avatar
  • 91
9 votes
0 answers
1k 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 ...
Peter Grill's user avatar
9 votes
0 answers
11k views

Latexmk After TexLive Installation

I am trying to compile some LaTeX using VSCode on linux. I just did the basic installation scheme of TexLive ( < 300 MB). When I try to compile some code though I get an error about latexmk not ...
Nukesub's user avatar
  • 617
9 votes
0 answers
342 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 ...
David Purton's user avatar
  • 26.4k
9 votes
0 answers
719 views

Beamer, overlay and standalone

Short version Is it possible to use standalone to produce externally my figures with overlays and include them directly in my main document ? More details Using the answers of the question Beamer ...
Pierre Marchand's user avatar
9 votes
0 answers
767 views

Why is not there any \refcounter command in LaTeX?

We have the \stepcounter command in LaTeX where \stepcounter{counter} adds one to the counter and resets all subsidiary counters. We also have the \refstepcounter command where \refstepcounter{...
Masroor's user avatar
  • 18k
9 votes
0 answers
5k views

Getting SyncTeX to work with Emacs, AucTeX and Skim (OS X El Capitan)

I'm attempting to set up LaTeX to work with Emacs on my Mac, running OS X El Capitan 10.11.5. I can compile everything all right, but I'm unable to use forward/inverse searches with Skim. From ...
Jesse's user avatar
  • 183
9 votes
0 answers
3k views

Parallel Text (Translation) Including the Same/Double/Parallel Heading Numbering

I want to write a bilingual document with paragraph wise parallel translations (two column layout) -- something like this: I also want to have structural elements like picture captions and headings ...
Dr. Manuel Kuehner's user avatar
9 votes
0 answers
234 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 ...
Jan's user avatar
  • 829
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 ...
Jenny's user avatar
  • 839

15 30 50 per page
1
2 3 4 5
531