latex

How to create a timeline with LaTeX?

In history-books you often have timeline, where events and periods are marked on a line in the correct relative distance to each other. How is it possible to create something similar in LaTeX? ...

Entering Unicode characters in LaTeX

How do I enter Unicode characters in LaTeX? What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file? ...

Using aspx Rendering Engine to Generate Non-HTML

Is it possible to use the asp templating engine (With the partial code-behind class, dynamic <% ... %> blocks and such) to generate non HTML? I want to have a clean and maintainable way to generate code dynamically. (Specifically, I want to generate LaTeX code populated with values from a database.) Currently my LaTeX templates are res...

How to view output .mp files from Functional MetaPost

I'm interested in using Functional MetaPost on Mac OS X: http://cryp.to/funcmp/ I'm looking for a tutorial like: http://haskell.org/haskellwiki/Haskell_in_5_steps but for a trivial FuncMP example, i.e. using GHC, I can compile something simple such as: import FMP myPicture = text "blah" main = generate "foo" 1 myPicture but I ...

How to create a background-image on titlepage with LaTeX?

I want to put a background-image on a titlepage of a document. Is it possible and dows it work? EDIT: The answer from Presidenten using the eso-pic-package and my answer found after some research using the wallpaper-package are both working. ...

"spurious" leading in latex

the following latex input: \rule{1cm}{1cm}\\ \rule{1cm}{1cm} leaves a gap of about .35mm between the boxes. what is the length that defines this gap? ...

How does one insert a backslash or a tilde into LaTeX?

How does one insert "\" (backslash) into the text of a LaTeX document? And how does one insert a "~" (tilde)? (If you insert \~, it will give you a tilde as an accent over the following letter.) I believe \backslash may be used in math formulae, but not into text itself. Lamport's, Kopka's, and Mittelbach's texts have said as much (b...

Creating documentation with maven

Hi, I'm just in the middle of revisiting maven. Our team had a bad experience when we last looked at this, as it was during the period when maven was rearchitecting from 1.x to 2.x, so a lot of the dependencies we needed hadn't been moved across to the new repositories. However, I have the time to reconsider now. I am interested in usi...

Best LaTeX editor for Windows

I'm looking for a good LaTeX editor for Windows! ...

Latex Math Symbol: Vitanyi puts a tiny plus symbol over his equals. How do I do that?

For example, in http://homepages.cwi.nl/~paulv/papers/algorithmicstatistics.pdf at the bottom of page 5 and top of page 6, he uses a plus/equal symbol and a similar plus/lessthan symbol. I can't figure out how to make that symbol, and I'd like to quote him. Any help? ...

How to create automatic a list of items used in a LaTeX-document?

I want to add items in a LaTeX-document. Say for example, that I want add hints to the document. I create a command, so I can call something similar to this: \hint{foocareful}{Be careful with foo!}{foo is a very precious item and can easily be broken. Be careful, especially don't throw foo.} This will be formatted in special way, to m...

LaTeX package to do syntax highlighting of code in various languages

I am looking for a LaTeX package that does syntax highlighting on code. For example, right now I use the verbatim block to write code: \begin{verbatim} <html> <head> <title>Hello</title> </head> <body>Hello</body> </html> \end{verbatim} And this works fine to display the code on my document. But...

Latex: hyperref to individual longtable rows

Hi, I have a few longtables that stretch several pages and I want to use pageref and hyperref to link to these rows. But whatever I try, the links always refer to the start of the table. When I look into the aux file, the labels all seem to be re-defined into table.[number of table]. I tried putting invisible dummy figures into the tab...

Is a successor for TeX/LaTeX in sight?

TeX/LaTeX is great, I use it in many ways. Some of its advantages are: it uses text files, this way the input-files can be diffed and many tools exist to work with text it is very flexible it has a stable layout: if I change something at the start of the document, it doesn't affect other things at the end of the document it has many ex...

Real Time LaTeX?

I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half to see the compiled document in real time. This seems really like an obvious way to do LaTeX authoring but it doesn't look like any software is able to do it. LyX is not what I'm looking for. I want to edit the actual LaTeX and ...

How do I show a caret (^) in math mode in LaTeX?

I'm trying to display a caret (^) in math mode in LaTeX to represent the exclusive or operation implemented in the `C languages'. By default ^ is for creating a superscript in math mode. The closest I can seem to get is by using \wedge which isn't the same. ...

missing section title in ps but not in dvi

Hi! A have the document with 23 figures and 46 tables (appendix to journal article). There are 23 sections created in the exactly same manner. When viewing compiled dvi everything is in order, but after creating ps file from the dvi one of the section title is missing. Producing pdf from dvi doesn't help. What may be the problem? I can g...

How can one turn regular quotes (i.e. ', ") into LaTeX/TeX quotes (i.e. `', ``'')

Given a document written with normal quotes, e.g. Ben said "buttons, dear sir". I replied "Did you say 'buttons'?" to him. What ways can one turn these sort of things into LaTeX quotes, with the appropriate semantics. i.e. Ben said ``buttons, dear sir''. I replied ``Did you say `buttons'?'' to him. So that LaTeX produces: Ben said...

How to use full-page background image leaving space for binding?

Hi! In Latex how can you make the background image to occupy the whole sheet on every page except a certain stripe on the inner side of each page? I can't figure it out. I have a background image I'd like to be seen in whole on each page after printing/binding. Matyi ...

Is there a LaTeX command to make text all lower caps?

Hey, I am trying to write a command to print todays date on the front page of a report using the textsc command, but the today date capitalize December. Any help will be appreciated. ...