A widely used document markup language which allows precise control over how a document is laid out. Written as LaTeX, this language is widely used in technical and academic papers for it's various features, including hyperlinks, references, table of contents generation, bibliographies, indexing, ...

learn more… | top users | synonyms

23
votes
13answers
11k views

Best LaTeX Editor [closed]

What's the best LaTeX editor you've used, and what would you recommend someone read to understand and become proficient with authoring papers/books in LaTeX?
18
votes
2answers
311 views

MS Word Tutorial for LaTeX Users [closed]

I originally thought of posting this over at TeX.SE but the words "blasphemy" and "sacrilege" crossed my mind and I decided it may be better to post it here instead. There are many LaTeX tutorials ...
17
votes
3answers
6k views

Windows PDF viewer that auto-refreshes PDF when compiling with pdflatex

I'm writing a LaTeX document and am using the command line to compile the LaTeX code into a PDF document. In Linux I would just open the PDF with Evince PDF Viewer, and whenever I recompiled the LaTeX ...
17
votes
3answers
17k views

How to Cite software in LaTeX

Im currently writing a 15ects (quarter years worth) report as a part of my 2year masters in CS and I'm using LaTeX with BibTeX. In my report I use and "talk about" different pieces of software. As ...
16
votes
5answers
5k views

Word count for LaTeX within emacs

I want to count how many words my LaTeX document has in it. I can do this by going to the website for the texcount package and using the web interface there. but that's not ideal. I'd rather have ...
13
votes
9answers
14k views

Linux program to create a timeline diagram?

I want to create a diagram which will show a timeline, and at certain points of the timeline I want to annotate with text and/or a diagram. Cue ASCII art... Event in March ...
13
votes
2answers
2k views

Difference between XeTeX and LuaTeX

I have a hard time contrasting XeTeX and LuaTeX. At the moment, I am using XeTeX almost exclusively, mainly because it uses UTF-8 as the native input encoding and because it supports TTF and OTF ...
12
votes
5answers
19k views

Type math formulas in Microsoft Word the LaTeX way?

I wonder if there is some free solutions for typing math formulas the LaTeX way in Microsoft Word document (Office 2007)?
12
votes
2answers
7k views

Create latex style files

What (WYSIWYG) tools are there for creating LaTeX style files? What guides exist on how to build them by hand? Could you recommend some? =EDIT= To clarify - I'm looking for something that will ...
11
votes
4answers
2k views

How Can I use XeTeX do produce a PDF/X file?

I am using the XeTex typesetting system on a Macintosh running Snow Leopard. I would like it to produce a PDF/X-1a file.
10
votes
3answers
4k views

To use Markdown as LaTeX's substitute

I am trying to write a white paper for my database project by Markdown. However, I have already had several problems from TOC generation to getting content in A4 -format. I know LaTeX. However, my ...
9
votes
7answers
12k views

Fastest way to type in math formulas out of the box?

There is no restriction on platform in the answers, but a few things to keep in mind: Dragging a mouse and clicking on any button is far too slow and should be excluded from any answer. Latex is of ...
9
votes
8answers
777 views

Graphics in papers

I have always wondered with what programs do people do their graphics when they publish papers. They most of the time seem to be embedded in some way as vector graphics, I'd say, as when I try to zoom ...
9
votes
3answers
7k views

Setting color LaTeX generated PDF to print in black & white

I use LaTeX to generate PDF, and I see that colorful PDF is good for reading on screen but not so good with printing and reading. Is there any way to disable the color setting to make it all ...
8
votes
3answers
2k views

vim and TeX filetypes: plaintex vs. tex

I open .tex files with Vim, but some files are recognized as filetype=plaintex and others as filetype=tex. Why is this? What is the trigger that recognizes the file as tex, which has the highlighting ...
8
votes
2answers
2k views

How to cancel LaTeX compiling in Terminal?

When I compile a LaTeX document in the terminal like so: latex document.tex How do I then abort the process? Ctrl-C doesn't work.
8
votes
2answers
2k views

Why is Latex so big?

On windows, MikTex comes in a DVD. It's several times bigger than a typical Linux distribution. This makes it impossible to carry Latex on a memory stick like I do with many other useful software. ...
8
votes
1answer
5k views

Markdown to LaTeX conversion with a custom preamble using Pandoc

I know that I can use the -H or --include-in-header commands to include a custom preamble in the generated output. The problem is now that Pandoc includes my preamble but puts another preamble in ...
8
votes
1answer
21k views

Empty line on a slide in Latex Beamer

I am using Latex Beamer for creating a presentation. On one slide I have \frame { \frametitle{fdjsljklfdjs} What is fdjsljklfdjs \begin{itemize} \item item one \item item one ...
8
votes
2answers
8k views

Converting Open Office (odt) files to Latex

How do you convert Open Office (ODT) documents to tex files? I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to ...
8
votes
2answers
7k views

Emacs Auctex: How do I open the pdf in evince at the current cursor position

I use emacs auctex to write latex files. Since the text is pretty long, and I tend to change things in different places, I would like emacs to open the pdf so that the position in the text is shown ...
8
votes
2answers
579 views

Is there a Word interpretation of TeX's `\hfil` and `\vfil`?

I've come to love TeX's \hfil and \vfil macros, which insert a rubber space (horizontal or vertical, respectively) that can be used to shove content around on a page with respect to the margins. For ...
8
votes
3answers
9k views

Converting a Lyx document to MS Word

I've made several attempts of converting a Lyx document to MS Word , or RTF, and failed. I'm working with a moderately complex document, involving external includes ( Java code, Child documents ), ...
7
votes
4answers
12k views

Getting Emacs to use pdflatex

How can I configure Emacs to run pdflatex rather than latex on a LaTeX file when I type C-c C-f (tex-file)?
7
votes
5answers
6k views

Adding programming code into LaTex / LyX

Maybe I'm just being thick, but I can't find any sensible way to simply paste in my (python) code into latex without losing all the indent information (kinda important for python). Anyone got any ...
7
votes
1answer
993 views

emacs ORG-mode “headless” export-as commands?

When I use org-export-as-latex or org-export-as-html orgmode turns my buffer into a .tex file or .html file. But I don't want all the extra junk that it adds to the file: I want to handle the ...
7
votes
2answers
472 views

The very bare minimum of latex to compile documents

I'm creating a relatively small console program which will be used by some other people as well. As part of its output it will be creating a tex file which will contain some two tables, a few rows of ...
7
votes
1answer
547 views

How to enable automatic LaTeX math preview in org-mode/Emacs?

I am using org-mode 8.0, Emacs 24.3, Auctex 11.87, in Windows. I was able to use LaTeX preview functions in org-mode files by pressing Ctrl + X, Ctrl + C, Ctrl + L. However, I think it would be more ...
6
votes
5answers
5k views

Is there any way to convert a LaTeX document to any Microsoft Word format, while retaining the document's structure?

I'm currently working on a developer's manual to go with an application I'm making for work. I wrote a simple script to go through all of my code, and parse all of my comments into a LaTeX document, ...
6
votes
1answer
2k views

Unicode characters in bibtex

I am struggling with unicode chars in bibtex (Debian). I have the following entry in my .bib file: @Book{bjork2009, author = {Tomas Björk}, title = {Arbitrage Theory in Continuous Time}, publishe = ...
6
votes
0answers
111 views

Are there any niceties for dealing with custom [LaTeX] environments in LyX? [closed]

I have some LaTeX environments and commands I'd like to bind to keyboard shortcuts, and (optimally) have them handled a little better than: <LaTeX env -- "\mycommand{"> regular lyx code ...
5
votes
5answers
2k views

Proof-reading LaTex

I'll have to write some papers for the university written in German, in which my grammar and spelling is somewhat terrible. Now, my girlfriend is very good at that. How can she proofread and modify my ...
5
votes
4answers
1k views

LaTeX, HTML/CSS/XML, or something else to build a resume?

I'm finding it progressively more difficult to maintain my Google Docs resume, and I'd like to redo it with the separation of content and presentation in mind. I thought LaTeX would be the best tool ...
5
votes
2answers
2k views

Getting chapters to start on a new page in a pandoc-generated PDF

%Title %Author #Header 1 Lots of words. #Header 2 More words. ##Level 2 header The above text can be turned into an EPUB file for e-readers with pandoc -o output.epub input.mkd, and it can be ...
5
votes
4answers
7k views

LaTeX vs Powerpoint for presentations

I had been wondering what are the advantages of using LaTeX (specifically the presentation packages: beamer or texpower) over powerpoint for presentations. The advantages which I have seen on the web ...
5
votes
5answers
8k views

LaTeX Equations in MS Word/OpenOffice?

How can I turn something like: \[ H = \sum_{x \in X} p_x \log p_x \] into an image file that can be used to place into a MS Word or OpenOffice Document?
5
votes
3answers
879 views

Using vim for LaTeX versus something else?

For those that regularly use vim and that also regularly use LaTeX, do you recommend using vim for LaTeX? If not, what do you recommend?
5
votes
1answer
3k views

How can I switch between pdflatex and xelatex conversion in Sublime Text 2?

I often switch between compiling "classic" LaTeX and XeTeX documents. Sublime Text 2 has a package called LaTeXTools that allows you to build LaTeX documents via a simple CmdB. Neat. The build file ...
5
votes
3answers
6k views

Using the cases environment in LyX

In LyX, how does one add multiple cases to a cases environment? When I insert the cases template, I get the opening bracket followed by two placeholder boxes, i.e. {□□ I can put as much math in ...
5
votes
3answers
4k views

Display invisible characters in vim

When I compile my source with Latex, I get the following error message Unicode char \u8:  not set up for use with LaTeX. Now I suspect that this is due to an invisible character. The command ...
5
votes
1answer
166 views

Count of hyphenated words and their unhyphenated counterparts in latex files

I have a thesis of approximately 100,000 words, typeset in latex. I have rather inconsistently hyphenated some of the words, for example "spider-fear" and "spider fear". I would like to get a list ...
5
votes
1answer
537 views

Math formulas in emails

Is there a way to enter LaTeX (or similar) formulas into an E-Mail and get them rendered as typeset formulas on the receiving side, perhaps with cooperation of the receiving party? My preferred mail ...
5
votes
2answers
374 views

Compiling LaTeX document makes Google Drive crash

I've the issue that when I compile a LaTeX document that is located inside my Google Drive this will after a few turns make the OSX Google Drive application crash. As this is an important document I ...
5
votes
1answer
2k views

How can I perform a full texlive installation (all packages) in CentOS?

Title say it all, how can I install texlive and all the packages so I can run tex2pdf on CentOS? I'm rather used to Ubuntu and all this yum business is driving me nuts.
5
votes
2answers
2k views

How to cite a video game in Bibtex

I am writing an essay on video games and naturally I am referencing a number of them as examples. Since we are in Computer Science, we use the IEEE reference style and there is a section that ...
5
votes
2answers
434 views

Which gnuplot terminal type should I use in org-babel-gnuplot with latex export

All gnuplot examples on http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html use the png terminal. However, when exporting to latex I'd rather like to generate vector graphics. ...
4
votes
5answers
1k views

Tool to write LaTeX on the Mac?

I'm looking for a tool that makes it easy to write LaTeX on the Mac. I heard that the there are excellent tools available for the Mac? Which one can you recommend and why?
4
votes
5answers
4k views

A more structured way to typeset assignments in LaTeX

I'm typing up some assignments with the basic structure Problem problem number Solution and I'm not really satisfied with the LaTeX source I'm making. For example \section*{Problem 1} In ...
4
votes
3answers
1k views

Is there a good hotkey cheatsheet for using Latex in Emacs?

Is there a good hotkey cheatsheet for using Latex in Emacs? A few minutes of googling didn't turn up anything.
4
votes
2answers
10k views

Is there a LaTeX-like font for my other documents?

Every time I open a document written in LaTeX, I can tell just based on the font. I want to know if there is a Latex-like font out there I can use for my other documents. I realize that latex's way ...