首页 > 代码库 > LaTex 使用 - 配置

LaTex 使用 - 配置

 

Reference Link: http://www.howtotex.com/howto/installing-latex-on-windows/

MikTeX:http://miktex.org/2.9/setup

Texmaker:http://www.xm1math.net/texmaker/download.html#windows

Wiki: http://en.wikibooks.org/wiki/LaTeX/Installation#Microsoft_Windows

Youtube:https://www.youtube.com/watch?v=SoDv0qhyysQ

 

Installing LaTeX on Windows

In this guide, I will show you how to install the needed components of LaTeX on Windows. In this tutorial Windows 7 is used, but the steps will be similar for other versions.

Installing MiKTeX

MiKTeX is a free TeX distribution for Windows systems. The current version is MiKTeX 2.9. The survey starts at the MiKTeX website. In the menu, click on MiKTeX 2.9 and scroll down to download the MiKTeX 2.9 Net Installer. This is the installation file that will be used to download the MiKTeX distribution. Run the file once it is downloaded. The installation wizard of MiKTeX will now pop up.

First, agree with the copying conditions and click next. In the following window, click ‘Download MiKTeX’ to download the distribution to a directory on your computer. Again, click next. Next you will be prompted whether you want install Basic or Complete MiKTeX. I recommend you to download the complete distribution, since it will save a lot of time in the future. Note that the complete package is quite large (1.2 GB) and it takes a while to install. So you’ll need a steady internet connection and enough space on your hard-disk. The next thing you have to choose is the source where the package will be downloaded from. Search for a source that is located in your country, or nearby. After you click next you’ll have to choose a directory where MiKTeX will be installed. This was the last step, the downloading will now begin. Note that this installation will take a while.

Once its finished, navigate to the directory where you’ve installed MiKTeX. There are a lot, really a lot, of files here. However, there is only one .exe file. Run this file (called setup-2.9.3959.exe for this version). This time, the real installation of MiKTeX will take place. This process will again be quite lengthy.

Installing the editor

In order to actually compile LaTeX documents, we need an editor. For windows, the most used editors are probably TeXnicCenter and Texmaker. I might add an overview of all editors in the future, but that is not where this tutorial is about. Personally, I like Texmaker the most, so let’s install that editor right away!

On the Texmaker website, go to the download section to download Texmaker for Windows. The current version is 2.2.1. We’re going to download the Executable file (.exe). When the downloading is complete, don’t run the installation wizard! Wait for the MiKTeX installation to be completed. This way, Texmaker will automatically configure the settings for you. Once you’re ready to install Texmaker, agree to the GPL license by clicking ‘I Agree’ and choose a directory to install the editor. Done! Wow, that was fast :-)

The installation of LaTeX is now complete. A guide to create your first document might be added in the future. For now, here are some references.

- See more at: http://www.howtotex.com/howto/installing-latex-on-windows/#sthash.Q5YjTZ2q.dpuf

 

注:最基本的LaTeX的使用需要两个东西:distubuter和compiler。 distributer 用来生成最终的文档合适,例如 PDF。 而compiler用来运行LaTeX代码。 一般还需要有IDE。 上文中的editor是包含了compiler和IDE的,即可以在editor里面写LaTeX 的code,然后编译执行,最后生成文档。

注:首先安装MikTeX(distributer),然后再安装Texmaker(editor),这样editor会自动找到distributer进行配置,省去很多麻烦。

注:特别复杂的公式和炫酷的格式编辑大量使用的时候, LaTeX会发挥更大的能力。

LaTex 使用 - 配置