UpArrow 就是向上的箭头
DownArrow 就是向下的箭头
LeftArrow 就是向左的箭头
RightArrow 就是向右的箭头
Ctrl + Home 光标跳转到文件最开头
Ctrl + End 光标跳转到文件最末尾
Home 光标跳转到行首
End 光标跳转到行末尾
Ctrl + LeftArrow 光标按单词向左移动
Ctrl + RightArrow 光标按单词向右移动
Ctrl + Shift + \ 光标跳转到匹配的括号
F12 跳转到函数定义
Ctrl + Alt + - 后退
Ctrl + Shift + - 前进
Ctrl + UpArrow 文本向上移动一行
Ctrl + DownArrow 文本向下移动一行
Alt + PgUp 向上翻页
Alt + PgDn 向下翻页
将当前行和上一行交换位置
Alt + UpArrow
将当前行和下一行交换位置
Alt + DownArrow
Ctrl + Shift + k 删除光标所在的行
Ctrl + c 复制光标所在的行,不需要选中
Ctrl + x 剪切光标所在的行,不需要选中
Ctrl + Enter 在光标所在行下面插入新的一行
Ctrl + Shift + Enter 在光标所在行上面插入新的一行
Ctrl + ] indent line 缩进光标所在的行,光标不需要在行首
Ctrl + [ Outdent line 和上一个命令相反
多行插入删除
Alt + 鼠标点击,可以在多个位置插入光标
先按住 Alt + Shift,
然后用鼠标点击多个位置
也可以用 UpArrow 和 DownArrow 上下扩展
字体放大
Ctrl +
字体缩小
Ctrl -
Ctrl + p Go to File...
Ctrl + g Go to Line...
Ctrl + Shift + p
这个命令和 Ctrl + p 的唯一区别就是帮你自动输入了 > 这个符号。
Ctrl + B 打开/关闭侧边栏
Ctrl + ` 打开/关闭集成终端
texdoc beamer
$ find /usr/local/texlive/2019 -name "beamer" -type d
/usr/local/texlive/2019/texmf-dist/doc/latex/beamer
/usr/local/texlive/2019/texmf-dist/doc/latex/presentations-en/images/beamer
/usr/local/texlive/2019/texmf-dist/doc/latex/presentations/images/beamer
/usr/local/texlive/2019/texmf-dist/tex/latex/beamer
https://www.latex-project.org/
https://liam.page/2014/09/08/latex-introduction/
https://www.cnblogs.com/yfceshi/p/6763758.html
https://www.linuxidc.com/Linux/2015-07/120653.htm
下载地址:
https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/
sudo mount texlive.iso /mnt
sudo perl /mnt/install-tl
======================> TeX Live installation procedure <=====================
======> Letters/digits in <angle brackets> indicate <=======
======> menu items for actions or customizations <=======
Detected platform: GNU/Linux on x86_64
<B> set binary platforms: 1 out of 5
<S> set installation scheme: scheme-full
<C> set installation collections:
40 collections out of 41, disk space required: 5845 MB
<D> set directories:
TEXDIR (the main TeX directory):
/usr/local/texlive/2019
TEXMFLOCAL (directory for site-wide local files):
/usr/local/texlive/texmf-local
TEXMFSYSVAR (directory for variable and automatically generated data):
/usr/local/texlive/2019/texmf-var
TEXMFSYSCONFIG (directory for local config):
/usr/local/texlive/2019/texmf-config
TEXMFVAR (personal directory for variable and automatically generated data):
~/.texlive2019/texmf-var
TEXMFCONFIG (personal directory for local config):
~/.texlive2019/texmf-config
TEXMFHOME (directory for user-specific files):
~/texmf
<O> options:
[ ] use letter size instead of A4 by default
[X] allow execution of restricted list of programs via \write18
[X] create all format files
[X] install macro/font doc tree
[X] install macro/font source tree
[ ] create symlinks to standard directories
[X] after install, set CTAN as source for package updates
<V> set up for portable installation
Actions:
<I> start installation to hard disk
<P> save installation profile to 'texlive.profile' and exit
<H> help
<Q> quit
Enter command:
# add this to .zshrc or .profile
export MANPATH=$MANPATH:/usr/local/texlive/2019/texmf-dist/doc/man
export INFOPATH=$INFOPATH:/usr/local/texlive/2019/texmf-dist/doc/info
export PATH=$PATH:/usr/local/texlive/2019/bin/x86_64-linux
sudo apt-get install texlive-lang-cjk
evince test.pdf
xdg-open test.pdf