# Tag Info

33

The question asked about "typing math formulas in LaTeX way in Microsoft word document (Office 2007)." But the responses and comments to date actually answer a different question -- how to embed an actual LaTeX processor into Word. Very few people realize that the built-in equation editor in Word 2007 actually understands LaTeX-style equation entry. ...

19

SumatraPDF is free, for Windows, and plays nicely with LaTeX. It will automatically refresh when the pdf is updated.

17

Emacs has excellent support for LaTeX. Look for the AUCTeX package. I never got the hang of LyX admittedly, but maybe it has improved since I last tried it. And just to brag a little I have seen Donald Knuth using Emacs with my very own eyes:-)

17

Markdown is not designed for publishing of the LaTeX class. Here is a short treatise -- Markdown Doesn't Scale. I liked the clearly put, moral of the story is "use the right tool for the job", or something like that, "even when the right tool has backslashes." "Because if you don't, you'll just have to blog about it to admonish fellow coders - ...

15

For my latest work I used TeXnicCenter. It is pretty powerful, but also a bit complex to understand in the beginning ...

15

I recommend beginner to start with LyX as it is close to being a WYSIWYG editor for LaTeX (it's actually WYSIWYM). It's quite friendly runs on Linux/Unix, Windows, and Mac OS X so it can serve pretty much anybody. A more advance version is LEd (LaTeX Editor) but this one is Windows Only.

14

As you have discovered, --include-in-header adds text into the preamble specified in Pandoc's LaTeX template. There are a few ways to do what you are trying to do. If you would like a completely custom preamble, you need to specify a template file using pandoc -o output.tex --template=FILE input.txt The template can have variables (such as $title$ and, ...

13

I love using the built-in Equation Editor in Word 2007. Alt + = brings up the editor, then you type this: (a+b)^n=\sum_(k=0)^n (n\atop k)a^k b^(n-k) This will produce the following: It doesn't get much easier than that. There is also an entire paper (PDF) about using plaintext to type up formulas.

12

This is driven by the format of the citation required by the institution or journal. For example, the APA has guidelines for computer software references and, if these are to be followed, then the output from LaTeX needs to produce the appropriate format. An example they give (reference entry 92 for computer software) is Miller, M. E. (1993). The ...

12

Have a look at PGF/TikZ. A lot of good examples can be found in the PGF/TikZ examples gallery. Other options include: Asymptote, Sketch 3D, PSTricks, and Gnuplot TikZ terminal.

12

LaTeX is a markup language, meaning that everything in a document is about what it is rather than how it looks like. The final formatting is done by a program (e.g. pdflatex) that translates your input source files to an output file (e.g. a PDF file). This relieves you from having to worry about the looks of your document before you even have the content ...

12

(defun latex-word-count () (interactive) (shell-command (concat "/usr/local/bin/texcount.pl " ; "uncomment then options go here " (buffer-file-name)))) You may opt to put texcount.pl somewhere other than /usr/local/bin, just modify the code as appropriate if you do. This creates a new command "M-x ...

11

See http://tex.stackexchange.com/questions/9497/start-new-page-with-each-section. To make this work with pandoc, you'll need to insert the following into the preamble of the LaTeX document pandoc generates on the way to PDF: \usepackage{titlesec} \newcommand{\sectionbreak}{\clearpage} There are several ways to do that. One is to create a custom LaTeX ...

10

Note: LaTeXTools for Sublime Text now supports automatic engine detection if your file starts with %!TEX program = <program>, where <program> is any of pdflatex, xelatex or lualatex. The below instructions are only necessary if you need to manually switch engines for whatever reasons. Take the LaTeX.sublime-build file in the LaTeXTools ...

10

Write your Math formulas in LaTeX → Transform the LaTeX formulas in MathML Code → Copy/Paste the MathML Code in Word (after paste click CTRL and then T). Voila! EXAMPLE: Lets take for example this Formula: This is the LaTeX source Code from the above Formula: 0 \leq \lim_{n\to \infty}\frac{n!}{(2n)!} \leq \lim_{n\to \infty} \frac{n!}{(n!)^2} = ...

10

I'd stick to LaTeX if I were you, or more specifically, Xe(La)TeX. With a classy font and a decent template, you'll have a hard time getting as good a look with other software. Here are a couple of links to get you started: Typesetting your academic CV in LaTeX Fonts in LaTeX, Part One: XeLaTeX Your Curriculum in LaTeX exljbris Font Foundry (Some great ...

10

You can do this by setting latex-run-command; see the the emacs manual. Something like this in your .emacs should do it: (setq latex-run-command "pdflatex")

10

Are you using the LaTeX-suite plugin? If so, then you probably want let g:tex_flavor='latex' in your .vimrc.

9

Why are some .tex files opened in Vim as filetype=plaintex and others as filetype=tex? Since the same extension, .tex in this case, is used for multiple filetypes, "Vim tries to guess what kind of file it is" according to the Vim filetype-overrule documentation. The ft-tex-plugin section of the Vim filetype documentation lists the rules used by Vim ...

9

My favorite environment for this minted. I use it to input entire source files such as: \inputminted[linenos,fontsize=\scriptsize]{python}{script.py} You can also use it without inputing a file, and more importantly, define how much indent it gobbles once pasted: \newminted{python}{gobble=4,linenos,fontsize=\scriptsize} \begin{pythoncode} print('I am ...

9

The full install of MikTeX includes loads of add-on packages, most of which you will never use, plus loads of fonts for lots of different alphabets. Rather than install it all, it is better to do a minimal install and allow MikTeX to install required packages and fonts on the fly (assuming you have an internet connection when you are using it). The ...

9

There's an Evince version for Windows.

9

Ctrl-D will do the trick. However, use -file-line-error -halt-on-error on the command line. Or learn how to edit LaTeX from the compiler if you wanted to be hard core.

9

Here's a slightly nicer version of the above script (handles spaces in filenames, produces one-line output, etc...) The LaTeX hooks are for AuCTeX. (defun my-latex-setup () (defun latex-word-count () (interactive) (let* ((this-file (buffer-file-name)) (word-count (with-output-to-string (with-current-buffer ...

9

You're wanting to find the differences in files in two folders and merge the changes? If you're looking for a GUI utility you can use FileMerge which can be found at /Developer/Applications/Utilities/ if you have Apple's Developer Tools installed. It has some odd bugs - mostly to deal with handling file encoding. If you're looking for something faster and ...

9

Use \vspace, e.g. \vspace{1in} for a one inch vertical space. If you want it to be equal to the normal distance between two lines, use the length \baselineskip.

8

The easiest way would be to create a PDF or a print-out, and just let your girlfriend make notes and comments on that, then make her mark-ups. My preferred option would be to just let her use the original LaTeX file, and tell her to ignore the LaTeX code, though (and point out what \:u means).

8

There is latex2rtf which I have used in the past (with RTF being something Word et al can read). You will need some post-processing, but it is a start.

8

You can temporarily switch AucTeX to pdf mode with CTRLctp. To make this change permanent set (TeX-PDF-mode t) in your ~/.emacs file.

8

You used SetTitleMatchMode to set the title-matching mode to 2 which means A window's title can contain WinTitle anywhere inside it to be a match. So, it is trying to find .* TeXnicCenter *. in the title-bar. You should remove the .* and *. (unless the title bar actually contains those—which as far as I know, it does not). You can set the title-matching mode ...

Only top voted, non community-wiki answers of a minimum length are eligible