Tag Info

Hot answers tagged

23

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. ...


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:-)


16

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 - ...


16

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


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.


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

(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

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 ...


11

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.


10

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 ...


10

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$ ...


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")


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

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

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 ...


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.


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 ...


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

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.


8

There's an Evince version for Windows.


8

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


7

This (as I read the question) has nothing to do with printers, and appears to belong on stackoverflow, where it started. The color package has a monochrome option which turns all of the colour switching off: \documentclass{article} \usepackage[monochrome]{color} %\usepackage{color} \begin{document} Hello \textcolor[rgb]{1,0,0}{World}! \end{document} Is ...


7

OpenOffice used to have a LaTeX export functionality, which was later removed, I guess. Nevertheless, there is a LaTeX writer: sudo apt-get install openoffice.org-writer2latex writer2latex Or, if your distribution uses LibreOffice, use libreoffice-writer2latex instead of the above. Just confirm all messages with y. After installing, you can use it with ...


7

You can use Detexify to recognize symbols name, and then just google for it.


7

I use the exam document class for this task. A basic document then looks like this: \documentclass[answers]{exam} \begin{document} \firstpageheader{}{}{\bf\large Name \\ Class \\ Assignment \\ Due Date} \runningheader{Name}{Class Assignment}{Due Date} \begin{questions} \question This is the question. \begin{solution} This is the solution to the ...


7

Bibtex is not really unicode aware. In order to use extended characters, you need to use the standard Tex replacements. You might however want to use biblatex for a better management of bibliographic styles; and maybe have a look at biber, which aims to become a unicode aware Bibtex replacement.


7

If you are a programmer and use Eclipse, there is an Eclipse plugin that you can use to edit files. However, you need something like mikTeX to produce a PDF or PS file.



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