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 TeXnicCenterand 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会发挥更大的能力。

时间: 2024-07-30 06:50:33

LaTex 使用 - 配置的相关文章

在LaTeX中配置西夏文字体与环境

警告:这篇文章的部分内容需要西夏文字体才能正常显示.若您需要安装,可参考本文的第四部分. 赖云帆已经在他的博客里发布了在LaTeX中排印西夏文的基本方法.这里多说一点. 1 配置字族 我的做法是:直接占用sans字族,将其用于打印西夏文.对于中国的研究者,排西夏文的时候肯定是和汉文混排,所以还是建议直接上xeCJK宏包(或ctex宏包),免得麻烦多: \usepackage{xeCJK} \setCJKmainfont{华文仿宋} % 景永时字体比较接近于仿宋的字形,搭配效果较好 \setCJK

Atom + Texlive 配置 Latex 环境

Atom + Texlive 配置 Latex 环境 步骤1: 安装TexliveTexlive点击 "Download" 下载,然后安装,等待安装完成即可 步骤2: 安装Atom主程序 安装Atom插件: Language Latex安装好后只要是.tex后缀的代码自动高亮,且有Latex代码补全(基于snippet) Latex需要配置好环境的目录,对应系统的目录可参照 Path Config注意:一定要写全,不然会出现无法编译的情况每次保存的时候自动创建PDF 步骤3: 安装Su

VScode 配置为 LaTeX IDE

VScode 配置为 LaTeX IDE 安装扩展 ctrl+shift+x调出应用商店,搜索并安装如下扩展: LaTeX Workshop ; pdf-formatter LaTeX Preview 配置LaTeX Workshop LaTeX文件.tex的编译.预览.辅助文件的清理等都在扩展latex workshop中设置. LaTeX Workshop中,编译LaTeX文件时顺序执行的一系列/组命令称为LaTeX食谱(recipes),定义在latex-workshop.latex.re

latex学习(二)

首先,我是在ubuntu18.04下安装的,有人说直接用源安装会有兼容性问题,或者中文支持不好.我认为主要原因是:既然在命令行下安装,那么就得按照命令行的操作方式来运行,不要gui界面,一切问题都没有了. 一.安装: 先查看一下目前源内的texlive版本: apt show texlive-full 输出: ffly@noi:~$ apt show texlive-full Package: texlive-full Version: 2017.20180305-1 Priority: opt

ubuntu14.04配置中文latex完美环境(texlive+texmaker+lyx)

Ubuntu下的文档编辑虽然有libreoffice,但对中文和公式的排版始终不如ms office,因此要想写出高质量的文档,只能靠latex了,现在随着xeCjk的开发,中文文档在ubuntu下的排版已经非常棒了,已经足够支持和成熟,其组合是:texlive2014+texmaker+lyx+中文字体,这样在ubuntu下就可以开发出完美的中文文档了. 转入正题,以下的方法在3台电脑上成功安装(在64位系统上安装): 1.首先安装texlive2014,不推荐用官方源sudo apt-get

最近在 OS-10.9下配置opencv, cgal, latex, qt, pillow

其实我之前使用的Mac os的版本是10.8的雪豹,可是最近想体验一下Mac os10.9新版本,于是就开始更新Mac os,经过10多个小时的下载和成功安装后,发现之前的配置全乱了,首先是发现latex的pdflatex找不到文件,之后又打开eclipse写python发现PIL(python的一个图像处理库,matplotlib需要安装PIL让其能够对各种格式的图片进行操作)不能用了,之后再打开qt creator写cgal,打开xcode写opencv结果都编译失败(记得错误的信息是:dy

Windows下LaTex的中文配置

最近要用LaTeX编写中文,突然发现编译过程报错,没有中文包,识别不了.看了网上一些博客,缺少一些字体包的支持,也有不用安装字体包的.总结下来算是两种方法吧.第一种是QuickBuild换成XeLaTeX: \documentclass[2pt,a4paper]{article} \usepackage{fontspec, xunicode, xltxtra} \XeTeXlinebreaklocale "zh" \XeTeXlinebreakskip = 0pt plus 1pt m

LaTeX 环境安装&编译器配置

一. 安装LaTeX环境 1. 下载 下载链接 跟着下面红框圈到的超链接一步一步点击即可~ 静静的等待下载~ 2. 安装 下载好了之后我们用Windows资源管理器打开它(打开方式里面找) 点击这个pat文件 会出来这个玩意儿: 不一会他就会出来安装界面: Installation root 是安装的根目录,可以根据自己的实际情况进行更改 然后点击Advanced(左下角) 将左侧的语言选项除了中文和英文其他都去掉,右侧的安装包中去除TeXworks editor(是一个编辑器,比较老不推荐,后

VSCode配置LaTeX Workstation以支持中文

前言: 一直以来都羡慕着LaTeX的强大排版功能,这次在为美赛做准备时,发现VSCode也可以配置LaTeX(不得不说微软还是很牛逼的),所以有了这篇小文章. 系统环境配置 基于Windows 10 安装TexLive 官网下载地址安装过程会比较久,主要原因是要下载镜像.(可能需要配置系统环境变量) 安装VSCode 官网VSCode下载地址.VSCode自从面世以来,备受关注,我个人觉得也很好用,这是 安装LaTeX WorkStation 打开VSCode,点击左侧面板上第五个叫做[扩展]的