Ubuntu16.04 Texlive TeXstudio Tikz 安装与环境配置_texstudio tikzp-程序员宅基地

技术标签: SLAM+SFM  

参考:

https://blog.csdn.net/williamyi96/article/details/90732304 

下载地址:

texlive

https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive.iso

texstudio

http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_16.04/amd64/texstudio_3.0.1-1+2.1_amd64.deb

https://github.com/texstudio-org/texstudio/releases/download/3.0.1/texstudio-3.0.1-x86_64.AppImage

Tikz

https://sourceforge.net/projects/pgf/files/pgf/version%203.1.1/pgf_3.1.1.tds.zip/download

http://mirrors.ctan.org/graphics/pgf/base.zip

xcolor

http://mirrors.ctan.org/macros/latex/contrib/xcolor.zip

everyshi

http://mirrors.ctan.org/macros/latex/contrib/ms.zip

pgfplots

https://www.ctan.org/pkg/pgfplots

http://mirrors.ctan.org/graphics/pgf/contrib/pgfplots.zip

Tikz样例集下载--Martin Thoma

https://www.latexstudio.net/archives/2276.html

http://pgfplots.net/http://texample.net/

Ubuntu Texlive TeXstudio Tikz 安装与环境配置

https://blog.csdn.net/williamyi96/article/details/90732304

中文文档:

https://mirrors.ustc.edu.cn/CTAN/info/lshort/chinese/lshort-zh-cn.pdf

Latex 安装tikz(tikz.sty not found 引发的学习)

https://blog.csdn.net/myriad_dreamin/article/details/83384110

TeX系列: tikz & pgf 宏包安装步骤

https://blog.csdn.net/mathsoperator/article/details/6747170

在 Debian GNU Linux 中安装 TeXLive

https://www.bilibili.com/video/BV1vx411P7JM?from=search&seid=13827856952040857618

[LaTeX 绘图指南 - 001] TikZ 的简介、资源以及学习方法

https://www.latexstudio.net/archives/51577.html

Ubuntu中如何安装LaTeX宏包

https://blog.51cto.com/lavenliu/1537368

ubuntu 下安装 texlive 并设置 ctex 中文套装

https://blog.csdn.net/weixin_34390996/article/details/85621215

klatexformular输出tikz & pgfplots绘图

https://blog.csdn.net/ouening/article/details/102758849

pgf笔记1-简介、安装和问题

https://blog.csdn.net/hecssy/article/details/3201067

Texlive下载地址

https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/

https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive.iso

http://www.latexstudio.net/


开始:

1.安装图形化用户界面

sudo apt-get install perl-tk

2.挂载 .iso 镜像文件

sudo mount -o loop texlive.iso /mnt

3.启动图形化安装配置

cd /mnt/

sudo ./install-tl -gui

4.卸载镜像文件

cd /; sudo umount /mnt

5.字体配置

sudo cp /usr/local/texlive/2020/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv
6.添加环境变量
在 ~/.bashrc 和 ~/.profile 中均添加如下变量:

export MANPATH=${MANPATH}:/usr/local/texlive/2020/texmf-dist/doc/man
export INFOPATH=${INFOPATH}:/usr/local/texlive/2020/texmf-dist/doc/info
export PATH=${PATH}:/usr/local/texlive/2020/bin/x86_64-linux

export PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH 

7.使添加变量立即生效

source ~/.bashrc

source ~/.profile

8.全局变量配置 /etc/manpath.config 下添加:

MANPATH_MAP /usr/local/texlive/2020/bin/x86_64-linux /usr/local/texlive/2020/texmf-dist/doc/man
9.测试latex是否成功:

/usr/local/texlive/2020/bin/x86_64-linux/tex --version

echo $PATH

source ~/.bashrc

echo $PATH

which latex

10.安装texstudio

texstudio_3.0.1-1+2.1_amd64.deb

sudo dpkg -i texstudio_3.0.1-1+2.1_amd64.deb

然后通过打开终端, ./texstudio

启动texstudio,否则在我这里会有一些问题,应该是因为latex默认在root用户路径下,访问权限问题

简单的测试

11.安装Tikz

解压下载的

base.zip

cd base

将文件夹中的tex重命名tikz

sudo cp -r tikz /usr/local/texlive/2020/texmf-dist/tex/latex/

sudo /usr/local/texlive/2020/bin/x86_64-linux/texhash

上面这一块操作,在texlive中不需要,默认安装了pgf,也就是tikz

/usr/local/texlive/2020/bin/x86_64-linux/tlmgr info pgf

 

ms.zip

cd ms

/usr/local/texlive/2020/bin/x86_64-linux/latex everysel.ins

sudo cp -r everysel.sty /usr/local/texlive/2020/texmf-dist/tex/latex/

sudo /usr/local/texlive/2020/bin/x86_64-linux/texhash

 

xcolor.zip

cd xcolor

/usr/local/texlive/2020/bin/x86_64-linux/latex xcolor/xcolor.ins

sudo cp -r ../xcolor/xcolor.sty /usr/local/texlive/2020/texmf-dist/tex/latex/

sudo /usr/local/texlive/2020/bin/x86_64-linux/texhash

 

pgfplots.zip

cd pgfplots

将文件夹中的tex重命名tikz

sudo cp -r pgfplots /usr/local/texlive/2020/texmf-dist/tex/latex/

sudo /usr/local/texlive/2020/bin/x86_64-linux/texhash

查看版本信息:

/usr/local/texlive/2020/bin/x86_64-linux/tlmgr info pgfplots

 

例子:

\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage{xcolor}
\begin{document}
	\pgfplotscreateplotcyclelist{mylist}{%
		{yellow},
		{neongreen, densely dashed},
		{turquoise, dashed},
		{blue,densely dotted},
		{lila,dotted},
		{red,loosely dotted},
		{black}}
	\begin{tikzpicture}
		\begin{axis}
			\addplot3[
			surf,
			]
			{exp(-x^2-y^2)*x};
		\end{axis}
	\end{tikzpicture}
\end{document}

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/baidu_40840693/article/details/109565585

智能推荐

台式计算机cpu允许温度,玩游戏cpu温度多少正常(台式电脑夏季CPU一般温度多少)...-程序员宅基地

文章浏览阅读1.1w次。随着炎热夏季的到来,当玩游戏正爽的时候,电脑突然死机了,自动关机了,是不是有想给主机一脚的冲动呢?这个很大的原因是因为CPU温度过高导致的。很多新手玩家可能都有一个疑虑,cpu温度多少以下正常?有些说是60,有些说是70,到底多高CPU温度不会死机呢?首先我们先看看如何查看CPU的温度。下载鲁大师并安装,运行鲁大师软件,即可进入软件界面,并点击温度管理,即可看到电脑各个硬件的温度。鲁大师一般情况下..._台式机玩游戏温度多少正常

小白自学Python日记 Day2-打印打印打印!_puthon打印任务收获-程序员宅基地

文章浏览阅读243次。Day2-打印打印打印!我终于更新了!(哭腔)一、 最简单的打印最最简单的打印语句: print(“打印内容”)注意:python是全英的,符号记得是半角下面是我写的例子:然后进入power shell ,注意:你需要使用cd来进入你保存的例子的文件夹,保存时名字应该取为xxx.py我终于知道为什么文件夹取名都建议取英文了,因为进入的时候是真的很麻烦!如果你没有进入正确的文件夹..._puthon打印任务收获

Docker安装:Errors during downloading metadata for repository ‘appstream‘:_"cenerrors during download metadata for repository-程序员宅基地

文章浏览阅读1k次。centos8问题参考CentOS 8 EOL如何切换源? - 云服务器 ECS - 阿里云_"cenerrors during download metadata for repository \"appstream"

尚硅谷_谷粒学苑-微服务+全栈在线教育实战项目之旅_基于微服务的在线教育平台尚硅谷-程序员宅基地

文章浏览阅读2.7k次,点赞3次,收藏11次。SpringBoot+Maven+MabatisPlusmaven在新建springboot项目引入RELEASE版本出错maven在新建springboot项目引入RELEASE版本出错maven详解maven就是通过pom.xml中的配置,就能够从仓库获取到想要的jar包。仓库分为:本地仓库、第三方仓库(私服)、中央仓库springframework.boot:spring-boot-starter-parent:2.2.1.RELEASE’ not found若出现jar包下载不了只有两_基于微服务的在线教育平台尚硅谷

java 实现 数据库备份_java数据备份-程序员宅基地

文章浏览阅读1k次。数据库备份的方法第一种:使用mysqldump结合exec函数进行数据库备份操作。第二种:使用php+mysql+header函数进行数据库备份和下载操作。下面 java 实现数据库备份的方法就是第一种首先我们得知道一些mysqldump的数据库备份语句备份一个数据库格式:mysqldump -h主机名 -P端口 -u用户名 -p密码 --database 数据库名 ..._java数据备份

window10_ffmpeg调试环境搭建-编译64位_win10如何使用mingw64编译ffmpeg-程序员宅基地

文章浏览阅读3.4k次,点赞2次,收藏14次。window10_ffmpeg调试环境搭建_win10如何使用mingw64编译ffmpeg

随便推点

Linux常用命令_ls-lmore-程序员宅基地

文章浏览阅读4.8k次,点赞17次,收藏51次。Linux的命令有几百个,对程序员来说,常用的并不多,考虑各位是初学者,先学习本章节前15个命令就可以了,其它的命令以后用到的时候再学习。1、开机 物理机服务器,按下电源开关,就像windows开机一样。 在VMware中点击“开启此虚拟机”。2、登录 启动完成后,输入用户名和密码,一般情况下,不要用root用户..._ls-lmore

MySQL基础命令_mysql -u user-程序员宅基地

文章浏览阅读4.1k次。1.登录MYSQL系统命令打开DOS命令框shengfen,以管理员的身份运行命令1:mysql -u usernae -p password命令2:mysql -u username -p password -h 需要连接的mysql主机名(localhost本地主机名)或是mysql的ip地址(默认为:127.0.0.1)-P 端口号(默认:3306端口)使用其中任意一个就OK,输入命令后DOS命令框得到mysql>就说明已经进入了mysql系统2. 查看mysql当中的._mysql -u user

LVS+Keepalived使用总结_this is the redundant configuration for lvs + keep-程序员宅基地

文章浏览阅读484次。一、lvs简介和推荐阅读的资料二、lvs和keepalived的安装三、LVS VS/DR模式搭建四、LVS VS/TUN模式搭建五、LVS VS/NAT模式搭建六、keepalived多种real server健康检测实例七、lvs持久性工作原理和配置八、lvs数据监控九、lvs+keepalived故障排除一、LVS简介和推荐阅读的资料 学习LVS+Keepalived必须阅读的三个文档。1、 《Keepalived权威指南》下载见http://..._this is the redundant configuration for lvs + keepalived server itself

Android面试官,面试时总喜欢挖基础坑,整理了26道面试题牢固你基础!(3)-程序员宅基地

文章浏览阅读795次,点赞20次,收藏15次。AIDL是使用bind机制来工作。java原生参数Stringparcelablelist & map 元素 需要支持AIDL其实Android开发的知识点就那么多,面试问来问去还是那么点东西。所以面试没有其他的诀窍,只看你对这些知识点准备的充分程度。so,出去面试时先看看自己复习到了哪个阶段就好。下图是我进阶学习所积累的历年腾讯、头条、阿里、美团、字节跳动等公司2019-2021年的高频面试题,博主还把这些技术点整理成了视频和PDF(实际上比预期多花了不少精力),包含知识脉络 + 诸多细节。

机器学习-数学基础02补充_李孟_新浪博客-程序员宅基地

文章浏览阅读248次。承接:数据基础02

短沟道效应 & 窄宽度效应 short channel effects & narrow width effects-程序员宅基地

文章浏览阅读2.8w次,点赞14次,收藏88次。文章目录1. 概念:Narrow Width Effect: 窄宽度效应Short Channel effects:短沟道效应阈值电压 (Threshold voltage)2. 阈值电压与沟道长和沟道宽的关系:Narrow channel 窄沟的分析Short channel 短沟的分析1. 概念:Narrow Width Effect: 窄宽度效应在CMOS器件工艺中,器件的阈值电压Vth 随着沟道宽度的变窄而增大,即窄宽度效应;目前,由于浅沟道隔离工艺的应用,器件的阈值电压 Vth 随着沟道宽度_短沟道效应