All Questions

26,168 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
57 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,813
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
40 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
908 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
  • 17.9k
28 votes
0 answers
679 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
  • 44.8k
20 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,759
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,741
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
16 votes
1 answer
294 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 (...
Norman Gray's user avatar
  • 7,439
16 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
  • 16.9k
15 votes
0 answers
568 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
  • 351
15 votes
0 answers
536 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,759
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
15 votes
0 answers
885 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,865
14 votes
0 answers
740 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.6k
13 votes
0 answers
184 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,062
13 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 ...
bexer's user avatar
  • 131
13 votes
1 answer
9k 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
12 votes
0 answers
792 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.3k
12 votes
0 answers
15k 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
401 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,940
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
301 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
802 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
1 answer
246 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 ...
cfr's user avatar
  • 193k
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,103
10 votes
0 answers
161 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
152 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}$ \\ ...
Roly's user avatar
  • 4,181
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
  • 30.7k
10 votes
0 answers
228 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
880 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.4k
10 votes
0 answers
740 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
3k 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
421 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
  • 8,972
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
1 answer
6k 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
240 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
410 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
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
308 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
  • 25.6k
9 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
  • 471
9 votes
0 answers
704 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
  • 17.7k
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
229 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
9 votes
0 answers
330 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.7k
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 ...
MaxBaeten's user avatar
  • 103
8 votes
0 answers
129 views

Is there a way to visualize SyncTeX anchors in the PDF?

Forward and reverse synchronization between the TeX source and the PDF output using SyncTeX is an immensely useful tool when writing larger documents. Sometimes, especially when the synchronization is ...
schtandard's user avatar
  • 14.6k
8 votes
0 answers
235 views

Showcase of LuaLaTeX capabilities/packages

The Lua programming capabilities in LuaLaTeX greatly expand what is reasonably possible within .tex files. I stumble across examples of cool LuaLaTeX-only code and packages here and there on the net, ...
tecosaur's user avatar
  • 1,033

15 30 50 per page
1
2 3 4 5
524