TeX is a typesetting system, where the output is defined by command-sequences. Note that http://tex.stackexchange.com is specifically dedicated to TeX questions.

learn more… | top users | synonyms

5
votes
0answers
37 views

B+ Tree Visualization in LaTeX/TikZ

I have written a LaTeX package to visualize B+ trees. The main purpose is to provide a simple but powerful package which provides a convenient interface. However, this is my first LaTeX package and ...
6
votes
1answer
126 views

TeX preamble for theses and short books

I recently joined the tex community and had quite a fun week texing. (I migrated this question to codereview, as it seems to be the better place for code-review samples). The result is some ...
8
votes
1answer
141 views

LaTeX code for presentation slides

I'm giving a presentation in a few days. I'm preparing my material in LaTeX; however, I am relatively new to it. How can I make my LaTeX code more concise and less repetitive? Here is a reduced ...
6
votes
0answers
63 views

Typesetting A* in LaTeX using algorithm2e

The result looks like and my code is: ...
9
votes
1answer
110 views

English-Latin bilingual book with line numbers and bibliography

I just released a book with a deadline. My first job with LaTeX, very messy. I wondered if there is anybody out there, who would be so kind and take a look at the code and see, what optimizations can ...
7
votes
0answers
56 views

Generate a URL, shorten it, insert it in a tex file and compile those tex files

I have written a NodeJS module and its tests to generate a URL, shorten it with Bitly, insert the short link in a tex file, compile these tex files to PDF and then merge them into one. The code is ...
6
votes
2answers
112 views

Parsing BibTeX files in Java

As part of a larger project to generate a website with a personal list of publications, I implemented a parser for BibTeX files. The entry point is the parseFile ...
5
votes
1answer
42 views

Repetitive replacement for expressing fractions in LaTeX

I am converting natural math expressions with fractions to Latex code. What I have done seems to work on examples I've tested, but I'm not sure if the algorithm is safe. And maybe the string part ...
7
votes
1answer
70 views

Compile .tex and remove .div file from Haskell

As a practice for interacting with system commands, I wrote a Haskell program that compiles a .tex file specified by the argument. When one execute this program: If no argument is specified, print ...
10
votes
1answer
69 views

Automatic report generation from BibTeX

I wrote the following code for the question I asked here. Are there any catastrophic mistakes? (actually it did not really work with perltex and I am in doubt about having syntax mistake(s)) Also, I ...
3
votes
2answers
192 views

Python script for making a table

I have written a Python 2.6.6 script in order to make tables by taking the third column of every text file in a particular subgroup (signal and background in this case[particle physics]). However, I ...
2
votes
1answer
190 views

Using a compiler specified on the command line or automatically detected

Here is part of my build system. ...
2
votes
1answer
206 views

ant file for TeX compilation

Here is an ant script for generating TeX code and documentation for one LaTeX class and one LaTeX package. It is my first larger ant script: I welcome suggestions for improvements. ...
3
votes
1answer
961 views

Simplify regular expression? (Converting Unicode fractions to TeX)

Background I'm converting Unicode text to TeX for typesetting. In the input, I'm allowing simple fractions like ½ and ⅔ using single Unicode characters and complex fractions like ¹²³/₄₅₆ using ...