弃win10从良deepin操作记录

返回主页

主页地址 https://kz16.top/

所有软件都使用英文版本

win10下deepin双系统安装

可参考非常详细的视频安装教程
https://www.bilibili.com/video/av74958626

体验效果可看下面这个视频
https://www.bilibili.com/video/BV1uj411f791

常用操作

deepin相关工具安装记录

安装常用软件记录

打印机和数位板

C++科学计算包

git相关安装

node.js相关安装

java相关安装

python相关安装

deepin15.11 系统自带python3.5,终端输入python3可查看具体版本号

切换版本

不太建议用这个,因为可能有些程序基于python2,这样修改容易出BUG

软件包的安装

常用到的在线工具

一些工具用得不多,实在没必要安装,或者它本身就基于浏览器,因此可以选择在线工具

ssh远程连接相关

查看服务器ip

ping测试

ping ip地址 -c 4

上面的命令用于linux系统,后面的-c 4表示次数为4

ssh安装

查看服务器是否安装ssh
命令行输入ssh
如果已经出现错误结果,说还没安装,否则需要输入命令安装
sudo apt install openssh-server
查看ssh的状态
service ssh statussudo ps -e |grep ssh
开启、关闭和重启ssh的命令分别为

service ssh start
service ssh stop
service ssh restart

开机自动启动
sudo systemctl enable ssh

禁止开机启动
sudo systemctl disable ssh

查看ssh开机启动状态
sudo chkconfig | grep ssh

latex的安装

安装

latex 模板

建议用xelatex编译,设置顺序依次为
options->configure->bulid->Default Complier
latex 论文模板https://github.com/mohuangrui/ucasthesis
latex 常用模板,显示中文并且有书签,比较实用

\documentclass{ctexart}
%\documentclass{article}

\usepackage{xeCJK} %中文字体
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{algorithm} %format of the algorithm 
\usepackage{algorithmic} %format of the algorithm 
\usepackage{multirow} %multirow for format oftable 
\usepackage{amsmath} 
\usepackage{xcolor}
\usepackage{amssymb,version,fancybox,mathrsfs,multirow}
\usepackage[bookmarksnumbered, bookmarksopen, 
colorlinks, citecolor=blue, 
linkcolor=blue, unicode]{hyperref}


\usepackage{geometry}
\geometry{a4paper,left=3cm,right=3cm,top=2cm,bottom=2cm}



\makeatletter\@addtoreset{equation}{section}\makeatother
%\catcode`\@=11 \theoremstyle{plain}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\makeatletter
\@addtoreset{figure}{section}
\renewcommand\thefigure{\thesection.\@arabic\c@figure}



\newcommand{\comm}[1]{\marginpar{%
		\vskip-\baselineskip %raise the marginpar a bit
		\raggedright\footnotesize
		\itshape\hrule\smallskip#1\par\smallskip\hrule}}

%\renewcommand{\theequation}{\thesection.\arabic{equation}}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\newtheorem{lemma}{引理}[section]
\newtheorem{theorem}{定理}[section]
\newtheorem{corollary}{推论}[section]
\newtheorem{proposition}{性质}[section]
\newtheorem{definition}{定义}[section]
\newtheorem{remark}{}[section]
\newtheorem{example}{}[section]
\newtheorem{proof}{证明}[section]
\newcommand{\bs}[1]{\boldsymbol{#1}}
\def \ri {{\rm i}}
\def \ds {{\Delta s}}
\renewcommand{\arraystretch}{1.5}

\makeatletter
\@addtoreset{figure}{section}
\renewcommand\thefigure{\thesection.\@arabic\c@figure}

\title{总标题}
\author{Bingzhen Zhou}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{大标题}

n hello, \LaTeX! 你好这是一个很好的测试
n hello, \LaTeX! 你好这是一个很好的测试
n hello, \LaTeX! 你好这是一个很好的测试

\subsection{小标题$\beta$}
公式测试
\begin{equation}\label{11}
x + \theta = \beta
\end{equation}
上面的公式\eqref{11}

\section{大标题}

n hello, \LaTeX! 你好这是一个很好的测试
n hello, \LaTeX! 你好这是一个很好的测试
n hello, \LaTeX! 你好这是一个很好的测试

\subsection{小标题}
公式测试
\begin{equation}\label{22}
x + \theta = \beta
\end{equation}
上面的公式\eqref{22}

\end{document}

Vscode写LaTex与Markdown

插件

File --> Preference --> Extensions

配置

File --> Preference --> Settings --> Opening Settings

LaTex的配置参考https://tex.stackexchange.com/questions/462365/how-to-use-latex-on-vs-code

{
    "extensions.ignoreRecommendations": true,
    // "editor.fontSize": 17,
    "workbench.activityBar.visible": false,
    // "workbench.startupEditor": "newUntitledFile",
    // "window.zoomLevel": 1,
    "editor.wordWrap": "on",
    "editor.cursorBlinking": "solid",
    "editor.wordWrapColumn": 80,
    "editor.wrappingIndent": "same",

	"workbench.colorCustomizations": {
	// 设置光标颜色
	"editorCursor.foreground": "#FF0000",},

    "spellright.latexSpellParameters": [
      "author",
      "title",
      "date",
      "chapter",
      "section\\*?",
      "subsection\\*?",
      "subsubsection\\*?",
      "part",
      "paragraph",
      "subparagraph",
      "text(rm|sf|tt|md|bf|up|it|sl|sc|normal)",
      "underline",
      "emph",
      "item",
      "footnote(text)?",
      "caption(of)?",
      "multicolumn",
      "href",
      "hyperref",
      "begin\\{frame\\}"
  ],

    "telemetry.enableCrashReporter": false,
    "telemetry.enableTelemetry": false,
    "latex-workshop.showContextMenu":true, //右键菜单 
    "latex-workshop.intellisense.package.enabled": true, //根据加载的包,自动完成命令或包 

    "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": "latexmk",
  "command": "latexmk",
  "args": [
    "-synctex=1",
    "-interaction=nonstopmode",
    "-file-line-error",
    "-pdf",
    "%DOC%"
  ]
  }, {
  "name": "xelatex",
  "command": "xelatex",
  "args": [
    "-synctex=1",
    "-interaction=nonstopmode",
    "-file-line-error",
    "%DOC%"
  ]
  }, {
  "name": "pdflatex",
  "command": "pdflatex",
  "args": [
    "-synctex=1",
    "-interaction=nonstopmode",
    "-file-line-error",
    "%DOC%"
  ]
  }, {
  "name": "bibtex",
  "command": "bibtex",
  "args": [
    "%DOCFILE%"
  ]
  }],
  "latex-workshop.view.pdf.viewer": "tab",
  "latex-workshop.latex.clean.fileTypes": [
  "*.aux",
  "*.bbl",
  "*.blg",
  "*.idx",
  "*.ind",
  "*.lof",
  "*.lot",
  "*.out",
  "*.toc",
  "*.acn",
  "*.acr",
  "*.alg",
  "*.glg",
  "*.glo",
  "*.gls",
  "*.ist",
  "*.fls",
  "*.log",
  "*.fdb_latexmk"
  ],
  "editor.minimap.enabled": false,
  "breadcrumbs.enabled": false,
  "spellright.language": [
    "English (American)"
  ],
  "spellright.documentTypes": [],
  "window.zoomLevel": 1,
  "diffEditor.ignoreTrimWhitespace": true,

  }

返回主页

主页地址 https://kz16.top/


欢迎非商业转载,转载请指明来源,
本文来源 https://kz16.top/deepin