# All Questions

1k views

### Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2012) that passes automated tests in Adobe Acrobat for tagging. I need to do this so that LaTeX will be accepted as a way of ...
420 views

### Can TeX generate “heap dumps” to analyze+optimize out-of-memory situations?

As package author of the memory-extensive package pgfplots, I have been asked to analyze some out-of-memory situation. I could identify the "culprit"; it was some call to \pdfmdfivesum in which it ...
348 views

### A script language for beamer animations?

This is a follow-up question to Clever beamer animation? Writing a script that changes a tikz picture in beamer? as suggested there, I will put a bounty on this one. What I seek is a set of macros, ...
155 views

### Problem with a path between pgf 2.1 and pgf 3.0

\documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[domain=0:2] \path[fill=blue] (0,0) -- plot function{x+1} -- (2,0); \end{tikzpicture} ...
146 views

### Randomized drawing of individual glyphs

I was reading Knuth's "Mathematical Typography" (Bulletin of the American Mathematical Society 1(2):337-372) and the section "Randomization" called my attention. I quote most of it here. I'd like ...
1k views

### MultiMarkDown and biblatex citations

I'm using Scrivener to produce LaTeX output with MultiMarkDown. MultiMarkDown uses natbib by default, so footnotes look like this code snips: \footnote{~\citep[<prenote>]{<key>}} The ...
314 views

### What are the main differences between AutoLaTeX and LaTeXMk?

I stumbled upon AutoLaTeX today and it seems to be very similar to LaTeXMk indeed. Can you summarise the main differences, which might help me choose between the two tools?
184 views

### Tests for checking kerning and sidebearings

To test the kerning and sidebearings of digital fonts, Bringhurst suggests the following methods: To check the sidebearings typeset consecutive pairs of letters and check the symmetry. For the ...
475 views

### Reset nodestyle for tikzpicture in fancytikzposter

Problem I'm using the gorgeous package fancytikzposter to typeset my scientific posters. There I'd like to use tikzpicture to make sketches. Unfortunately the default TikZ styles are overwritten, ...
561 views

### Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
235 views

### Documenting on code revisions

I have made modifications to a few files of a C++ program. I would like to document on these changes in a nice LaTeX report, by showing exactly what I modified and explaining why I did so. Since ...
428 views

### A flexible derivative macro with LaTeX3

In an earlier post I asked a question about writing a flexible derivative macro, and someone suggested that a LaTeX3 version might be easier to understand, so I decided to try my hand at writing one. ...
517 views

### Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file. Today I came across this website, which proposes a trick ...
228 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 ...
282 views

### Color gradient filling along a path

I want to make the gradient color to follow the pipe curve below rather than to span from the left to the right. The following MWE shows the default behavior which is not what I'm looking for. ...
90 views

### A class with default language settings

I want to write a class which loads babel and other language aware packages and pass to all of them the option ngerman as default. But if another language is used in the options of the \documentclass ...
333 views

### Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
133 views

### Should packages on CTAN be widely applicable?

I have a couple 'packages' (more appropriately called styles) that I'd like to painlessly distribute to my classmates. The most straightforward way to do this is via CTAN, but I'm not sure if it is ...
369 views

### Selecting optical sizes for all fonts in a family

XeTeX and LuaTeX are able to assign optical sizes to fonts when they are provided. In those situations where XeTeX or LuaTex are unable to correctly assign optical sizes I am able to specify them but ...
72 views

### siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
378 views

### How can I use Dragon NaturallySpeaking to write LaTeX math formulas by voice efficiently?

I write LaTeX documents by voice using Dragon NaturallySpeaking for speech recognition. It allows me to write much faster than if I had to type on a keyboard (~ 100 WPM vs. 50), I find that voice ...
124 views

### Why does fake slant only seem to work after italics has been used?

Based on this question, can someone explain this behavior: \documentclass{article} \usepackage{fontspec} \setmainfont[ SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.30}, ...
197 views

### XeTeX in OpenBSD

How could I get XeTeX in OpenBSD? I have tried to: pkg_add texlive_base-2012, but it tries to install so much more that I ran out of space. run the install-tl perl script for TL13, but even if I ...
189 views

### How do I get an empty box on each page?

I'd like to have an empty box on the bottom of my pages in a certain chapter. I've messed around with wrapfigure and kinda sorta gotten something that looks okay, but I'd like to do it properly so I ...
91 views

### Recommended workflow for fixing several nasty frames in beamer?

I have a pretty long presentation: a course comprising a couple of hundreds frames. Occasionally, I go over the presentation, notice a few corrections in distinct frames. Fixing these requires a ...
132 views

### Is there an environment / document class for dictionaries?

Background of this question I've got the idea of creating a math dictionary with LaTeX for quite a while now. My native language is German and I write a lot of blog articles about algorithms and a ...
180 views

### How can I translate to English a TeX document without losing compilability?

Is there any way I can translate comments and non-commands from a different language to English ? I tried : Google Search https://www.google.lk/#q=translate+a+latex+code+without+losing+content ...
211 views

### Biblatex, Use of prefixnumber changes indentation of all subbibliographies

I have a problem with my three subbibliographies. I am using two styles numeric and alphabetic. In one of the subbibliographies I would like to use a prefixnumber. Unfortunately this affects also the ...
398 views

### XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
78 views

### Make an index of historical time periods

I'm writing my thesis & I want to make an index with centuries, years, month, day, event & historical periods. So I try to build some commands, but unsatisfactory, I'm looking for your help. ...
61 views

### create list of thumbnails for each section

I want to create a cooking book. There I want to define for each receipe a thumbnail image. At the beginning of each chapter I want to show instead of a TOC a gallery of thumbnails of each subsection ...
128 views

### Parsing question: Do curly braces affect LaTeX compilation time?

I have an old and slow computer and long LaTeX files. When typing I prefer to use \frac 1{x} instead of \frac{1}{x} or x_i instead of x_{i}. Does the presence or omission of curly braces in these ...
95 views

### Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
126 views

### Bibliography style per language with biblatex/polyglossia?

This is a followup to Russian and Japanese and biblatex oh my. I've got a lot further now, using the polyglossia-enabled bib latex and writing my own Japanese csquotes and lbx files, but now I'm ...
144 views

### Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
151 views

### How to lock the back reference at the top left corner of the bibliography entry?

Anybody knows how to lock the back reference at the top left corner of the bibliography entry by employing BibTeX? The result should be like this: It works to me when using \bibitem (yes, it goes ...
121 views

### Index problem when using l3doc for LaTeX document writing

I use l3doc to write document for my package. In the document I need describe macros, environments and options of the package. I started using the environment function only. After the tip came from ...
108 views

### KOMA - Set documentclass font to 9.5pt

I am using scrbook as documentclass and would like to setup the default font of the whole document to 9.5pt. Just like you do with 9pt, 10pt, ... : \documentclass[fontsize=9.5pt, DIV=calc]{scrbook} ...
124 views

### Embed TeX as a typesetting system for an eBook reading application

Are there any projects or information on how to use TeX to typeset texts for screen reading? That is, I want to get the beautiful output of TeX to render in a browser-like desktop application. I want ...
138 views
+50

### Is there a smart solution to fix the precision issue for atan?

\documentclass[pstricks,border=12pt]{standalone} \SpecialCoor \psset{unit=.25} \def\Atom#1{% \begin{pspicture}[dimen=m](-12,-12)(12,12) \pstVerb{/AA 1 5 atan def /RR 26 sqrt def} ...
121 views

### . shortcut doesn't expand to \cdot

According to latex-suite documentation, . should expand into \cdot but this is not working for me. All other abbreviations (greek letters and math) do work. I tried looking in ...
106 views

### Fore-edge painting package for books?

I would like to add fore-edge painting to the edge of each page, so that when the pages are fanned, it reveals text or an image. It seems it would be easy enough to slice up an image(Tikz/PGF), or ...
177 views

### How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
159 views

### High-profile cases of non-compliance with the LaTeX Project Public License?

As I'm getting more and more interested in releasing packages of my own in the future, I just read the LaTeX Project Public License (or LPPL). This document defines, among other things, the rules for ...
119 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 = ...
386 views

### hyperref fillable forms - breaking the rules

The hyperref manual states clearly: You must put your fields inside a Form environment (only one per file). However, I can put form fields outside of a Form and I can put more than one Form ...
412 views

### Convert bib file from BibTeX to biblatex

I have a bib file that I have been using with BibTeX for a number of years. I have now switched to creating my bibliographies with biber and the biblatex package. Every once in a while I need to ...
140 views

### Insert pictures into whitespace in document

Okay, I'm not sure if this is even possible. We're currently switching the layouting of our "Basics" university intro booklet from Scribus to LaTeX. A difficulty there is minimising white space after ...
My pdf compile rule is pdflatex -interaction=nonstopmode $* & bibtex$* & pdflatex -interaction=nonstopmode $* Everything works fine except for the bibtex call. The reason is that "$*" is ...