linux下latex使用教程,LaTeX使用--XeLaTeX入门基础(二)
主机平台:Gentoo Linux 11.2 内核版本:Linux Kernel 3.2.1 编译环境:XeTeX 3.1415926-2.3-0.9997.5 (TeX Live 2011) 相关阅读
主机平台:Gentoo Linux 11.2
内核版本:Linux Kernel 3.2.1
编译环境:XeTeX 3.1415926-2.3-0.9997.5 (TeX Live 2011)
相关阅读:LaTeX使用--XeLaTeX入门基础(一)
1、首先是vim-latex插件的安装
去?subject=download&title=Download官方下载插件包
将其解压到~/.vim目录下,注意这里是将包文件加中的文件和文件夹放在.vim目录下。
追加~/.vimrc中
" REQUIRED. This makes vim invoke Latex-Suite when you open a tex file.
filetype plugin on
" IMPORTANT: win32 users will need to have 'shellslash' set so that latex
" can be called correctly.
set shellslash
" IMPORTANT: grep will sometimes skip displaying the file name if you
" search in a singe file. This will confuse Latex-Suite. Set your grep
" program to always generate a file-name.
set grepprg=grep\ -nH\ $*
" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'添加 ~/.vim/ftplugin/tex.vim中
" this is mostly a matter of taste. but LaTeX looks good with just a bit
" of indentation.
set sw=2
" TIP: if you write your \label's as \label{fig:something}, then if you
" type in \ref{fig: and press you will automatically cycle through
" all the figure labels. Very useful!
set iskeyword+=:由于我是使用xelatex编译pdf文件,然后使用evince查看pdf文件,所以需要修改~/.vim/ftplugin/latex-suite/texrc文件
为了简单设置所有的TexLet g:Tex_DefaultTargetFormat = 'pdf'
设置所有的TexLet g:Tex_ViewRule_pdf = 'evince'
设置TexLet g:Tex_CompileRule_pdf = 'xelatex -interaction=nonstopmode $*'
重启vim即可。
常用快捷键
\ll 采用xelatex编译文档
\lv 使用evince预览生成的pdf文档
F5 插入数学公式环境,主要包括eqnarray,equation,align,$$
F7 插入引用,包括footnote,cite,pageref,,label
shift+F5 变更插入环境
shift+F7 变更插入引用
下面就使用上面配置的环境来测试学习。
2、交叉引用
\section{交叉引用}
24 This is a ref \label{sec:this} example.See section~\ref{sec:this} on the page~\pageref{sec:this}
3、强调
\section{强调}
我的\emph{LinuxIDC.com}地址:\underline{}
linux下latex使用教程,LaTeX使用--XeLaTeX入门基础(二)相关推荐
- Linux 下 GitLab 安装教程
Linux 下 GitLab 安装教程 安装 Linux 下载 GitLab 安装 GitLab 登录 GitLab GitLab 汉化 GitLab 设置密钥 卸载 GitLab 为了便于以后使用, ...
- Linux 下 Redis 安装教程
Linux 下 Redis 安装教程 事先准备 下载 Redis 安装 Redis 设置 Redis 开机自启动 远程访问 Redis RDM 远程访问 Redis 笔者的运行环境: CentOS S ...
- mysql linux 安装_mysql-5.7.28 在Linux下的安装教程图解
2.上传tar包到服务器到 /usr/local/src 3.卸载系统自动的Mariadb rpm -qa | grep mariadb rpm -e --nodeps mariadb-libs-5. ...
- Linux下安装MATLAB教程
Linux下安装MATLAB教程 前言 由于之前ubuntu下分区总共只分了100个G,所以造成目前没有/home下没有空间,因此决定安装在windows磁盘下,然后再ubuntu下访问使用.因此将此 ...
- linux系统nginx安装教程,Linux下Nginx安装教程
Linux下Nginx安装教程分享,具体内容如下 1.安装编译文件及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl op ...
- linux下conda使用教程
linux下conda使用教程 管理conda 1.验证conda是否已经安装并在系统上运行 2.将conda更新到当前版本 管理环境 1.创建环境并在其中安装一个包 2.激活环境 3.查看所有环境 ...
- Linux下安装nginx教程
Linux下安装nginx教程 安装依赖包 #执行一下命令 安装4个依赖包 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl- ...
- Linux下安装zookeeper教程
Linux下安装zookeeper教程 Zookeeper简介 1.Zookeeper应用场景 Zookeeper单机版安装 1.获取安装包 1.使用wget命令获取 2.从官网下载 2.安装步骤 3 ...
- linux 编译汇编,linux下的汇编教程
linux下的汇编教程 第一部分 Linux下ARM汇编语法尽管在Linux下使用C或C++编写程序很方便,但汇编源程序用于系统最基本的初始化,如初始化堆栈指针.设置页表.操作 ARM的协处理器等.初 ...
- automake linux,Linux下automake软件编译与发布快速入门
Linux下automake软件编译与发布快速入门 2008-04-22 eNet&Ciweek 进入编辑界面,输入内容如下: AUTOMAKE_OPTIONS=foreign bin_PRO ...
最新文章
- 数据结构 - 二元查找树
- mina android 服务器,MINA框架----------android客户端与服务器端
- Apache URL重写的配置 及其 apache500错误
- typescript 类型映射 (ReadOnly、Partial)
- python3 web服务器_python3 简单web服务器
- java 第二天,Java复习第二天
- 改了上百遍!记上海交通大学第一篇《Science》
- 学棋五年的我输给了昇腾CANN
- cad常青藤插件_CAD 2020软件安装包+插件大合集+完整视频教程,自学也可以的
- 华为最强自研 NPU 问世,麒麟 810 测评远超骁龙系列!
- php面向对象封装mysql_PHP mysqli 扩展库(面向对象/数据库操作封装/事务控制/预编译)...
- 【java笔记】缓冲流
- 交换排序图解_排序算法(一):初级比较排序
- composer 完整路径才能访问_Docker 漏洞:允许攻击者获得主机 root 访问权限
- 使用GMM进行语音性别检测(入门)
- sps的process插件安装包_SPSS的Process插件下载和安装
- Android常用应用市场和应用包名
- 微信开发工具调试公众号
- C++输入一行数字存放到数组
- ETM地形编辑DEMO运行时出错问题