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

29
votes
7answers
59k 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)?
25
votes
4answers
28k 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 ...
24
votes
13answers
12k 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?
21
votes
3answers
10k 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 ...
18
votes
2answers
451 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
6answers
6k 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 ...
15
votes
2answers
3k 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 ...
14
votes
3answers
3k 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 ...
13
votes
10answers
17k views

Linux program to create a timeline diagram? [closed]

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
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.
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
3answers
5k 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 ...
10
votes
8answers
21k 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 ...
10
votes
3answers
5k 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 ...
10
votes
1answer
9k 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 ...
10
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.
10
votes
4answers
1k 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 ...
9
votes
8answers
825 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
5answers
10k 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 ...
9
votes
3answers
11k 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 ...
9
votes
2answers
3k 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. ...
9
votes
2answers
10k 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 ...
9
votes
2answers
3k views

Is there a way to render LaTEX/MathJax for Slack Chatting client (web or app)?

I have a workgroup that uses the Slack chatting app/website/destop version to communicate, and the desire to send usable mathematical expressions across to friends is something we'd like to do there. ...
9
votes
4answers
11k 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 ), ...
9
votes
1answer
1k 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 ...
8
votes
5answers
17k 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)?
8
votes
1answer
6k 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 ...
8
votes
1answer
29k 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 \end{...
8
votes
2answers
8k 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
866 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 ...
7
votes
6answers
9k 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?
7
votes
1answer
6k views

Using the IfWinActive keyword in AutoHotKey

This question about the use of AutoHotKey is specific to a Windows LaTeX editor called TeXnicCenter. So, I was trying to write my first AutoHotKey (AHK) script, and wanted the shortcuts to be ...
7
votes
2answers
2k views

Sublime Text 2: Working with multiple documents, building master file

I am currently working with LaTeX. I have a big document split up in several sub documents. When I am workin in a sub document, I'd love to compile the master file when pressing ctrl+b, not the file I ...
7
votes
1answer
1k 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
538 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 ...
6
votes
5answers
7k 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
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 ...
6
votes
3answers
977 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?
6
votes
2answers
12k views

Using Latex beamer and natbib packages at the same time

When I use both \documentclass{beamer} and \usepackage{natbib} I get the following error when running latex ! LaTeX Error: \newblock undefined. How can I solve this? If beamer and natbib are ...
6
votes
3answers
8k 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 ...
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
3answers
5k 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 :...
6
votes
3answers
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 ...
6
votes
1answer
7k 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.
6
votes
0answers
115 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
9k 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
3answers
4k views

Is there a way to install Latex, Sage and Gap on a Chromebook?

I just acquire a HP Chromebook 14", and I know it's limited for the installation of new applications. I would like to install Latex, Sage and Gap on it (and also some packages), but I did not find ...
5
votes
2answers
15k 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 ...
5
votes
7answers
19k views

How to import LaTeX equation into MS Word Equation or into MathType?

Say I have this LaTeX code: \begin{equation} \label{eq1} V_{conf}(r) = \frac{A}{r^2} + Br^2 - 2\sqrt{AB} \end{equation} How to import it in MS Word?