# Read more about SSH config files: https://linux.die.net/man/5/ssh_config
Host name
HostName {ip}
User {user}
[Port {port}]
[IdentityFile {~/.ssh/id_rsa}]
...
SET REMOTEHOST=your-user-name-on-host@host-fqdn-or-ip-goes-here
scp %USERPROFILE%\.ssh\id_rsa.pub %REMOTEHOST%:~/tmp.pub
ssh %REMOTEHOST% "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat ~/tmp.pub >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys && rm -f ~/tmp.pub"
texlive 2018利用镜像安装节省下载时间
https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/
或者种子下载镜像
http://www.tug.org/texlive/acquire-iso.html#torrent
{
"latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.synctex.afterBuild.enabled": true,
"latex-workshop.view.pdf.external.command": {
"command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
"args": [
"%PDF%"
]
},
"latex-workshop.view.pdf.external.synctex": {
"command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
"args": [
"-forward-search",
"%TEX%",
"%LINE%",
"%PDF%"
]
},
"latex-workshop.view.pdf.viewer": "external"
}
通过 vscode 调用 SumatraPDF 后,在 SumatraPDF 中设置C:\Program Files\Microsoft VS Code\Code.exe -g "%f:%l"
\usepackage[UTF8]{ctex}
beamer
\bibliographystyle{IEEEtran} //会议应用风格
\bibliography{reference} //bib文件名
书写数学公式可以用\begin{equation}
和\end{equation}
.
想来一段居中的文本, 可以用\begin{center}
和\end{center}
. 将 center
换成flushleft
或flushright
, 分别得到居左和居右的文本.