Posts Tagged ‘latex notepad++’

Create LaTex PDF files in Notepad++

July 29th, 2012

Suppose the MiKTeX is installed under: C:\Program Files\MiKTeX 2.9\.

Start notepad++, press F5, enter this:
"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe" -output-directory="$(CURRENT_DIRECTORY)" -interaction=nonstopmode "$(FULL_CURRENT_PATH)"
in the input box. Click on “Save”, input a name for the shutcut like “LaTex To Pdf”, choose the shortcut (for example Ctrl+Shift+Alt+L), and press “OK”.

Now we can run the the command by shortcut Ctrl+Shift+Alt+L or by the menu Run -> LaTex To Pdf.

Here is a simple sample latex file:
Hallo, \textbf{\textit{\LaTeX}}!