我的latex工作流

我的latex工作流 继WSL/gWSL技术使得”windows成为最好的Linux发行版“之后, 加上overleaf也是运行在linux里面的, 我发现我们的latex工作流完全可以全部迁移到*nix系统之中了。 这样的好处是我可以统一用linux的一些规范,避免一些不同系统带来的问题。 LATEX安装教程 我遇到过的错误 找不到字体STIX TWO MATH ubuntu里面可以直接用sudo apt install fonts-stix安装stix,但是它和所需的不一样。 stix2字体下载地址: 我用的ttf格式 Linux 安装字体

October 13, 2023 · 1 min · Leo

Computer-Aided Control Systems Design: Introduction and Historical Overview

infomation Varga, A. (2020). Computer-Aided Control Systems Design: Introduction and Historical Overview. In: Baillieul, J., Samad, T. (eds) Encyclopedia of Systems and Control. Springer, London. https://doi.org/10.1007/978-1-4471-5102-9_138-3 Source: springer, pdf First Online: 08 November 2019 Author: Andreas Varga Institution: German Aerospace Center, DLR Oberpfaffenhofen Institute of System Dynamics and Control email: Andreas.Varga@dlr.de Abstract Computer-aided control system design (CACSD) encompasses a broad range of methods, tools and technologies for system modelling, control system synthesis and tuning, dynamic system analysis and simulation, as well as validation and verification. The domain of CACSD enlarged progressively over decades from simple collections of algorithms and programs for control system analysis and synthesis, to comprehensive tool sets and user-friendly environments supporting all aspects of developing and deploying advanced control systems in various application fields. This article gives a brief introduction to CACSD and reviews the evolution of key concepts and technologies underlying the CACSD domain. Several cornerstone achievements in developing reliable numerical algorithms, implementing robust numerical software and developing sophisticated integrated modelling, simulation and design environments are highlighted. ...

August 9, 2022 · 15 min · Leo

windows 系统安装 Scoop 包管理工具

该内容似乎已经过时,因为目前似乎github.com.cnpmjs.org 和 hub.fastgit.org 镜像均无法使用 windows 系统安装 Scoop 包管理工具 https://scoop.sh/是一款 windows 系统下的包管理工具,根据官网只需要以下命令即可安装。 iwr -useb get.scoop.sh | iex #Note = if you get an error you might need to change the execution policy (i.e. enable Powershell) with Set-ExecutionPolicy RemoteSigned -scope CurrentUser 实际使用中,通常需要镜像加速以及修改安装位置,所以结合文章Windows 下 Scoop 安装、配置与使用,在此,我记录一下我的安装过程。 安装 SCOOP 由于我的 C 盘空间有限,可以修改安装位置我将目标目录修改为 #将Scoop安装到自定义目录(命令行方式),默认为C:\Users<user>\scoop $env:SCOOP='D:\Applications\Scoop' [Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User') #将Scoop配置为将全局程序安装到自定义目录 SCOOP_GLOBAL(命令行方式),默认为C:\ProgramData\scoop $env:SCOOP_GLOBAL='D:\Applications\GlobalScoopApps' [Environment]::SetEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine') 我的网络质量不佳,无法直接使用iwr -useb get.scoop.sh | iex安装,可以借助镜像,来实现安装,下面的脚本会自动替换掉安装脚本中的 github 的链接。 #可能需要通过下面的命令设置权限之后再安装 Set-ExecutionPolicy RemoteSigned -scope CurrentUser #iwr -useb get.scoop.sh | iex #网络慢可以使用下面替换为cnpm和fastgit的链接 iwr -useb https://raw.fastgit.org/ScoopInstaller/Scoop/master/bin/install.ps1 | %{$_.Content.replace("github.com","github.com.cnpmjs.org").replace("raw.githubusercontent.com","raw.fastgit.org") | iex 上面这个命令应该可以正常安装 scoop 程序,但是当需要使用 scoop 安装其他程序时可能会出现问题, 可以手动将文件$env:SCOOP\apps\scoop\current\lib\manifest.ps1中读取 json 文件的命令(如下 👇🏻 第一条命令) 替换为下面的第二条命令,从而实现自动替换掉 github 链接。 ...

January 25, 2022 · 3 min · Leo

Git常用拓展知识

Git 常用的一些拓展知识,例如commit message提交消息的规范, Code Review 行话, 以及一些个人感悟。 Some Tips for git links git commit 提交规范 Conventional Commits 约定式提交 gitmoji 使用表情来规范 commit 消息: one fork LGTM : code review 行话 Tip1 = Commit 规范中常用 commit 类型解释 feat: 新功能、新特性 fix: 修改 bug perf: 更改代码,以提高性能(在不影响代码内部行为的前提下,对程序性能进行优化) refactor: 代码重构(重构,在不影响代码内部行为、功能下的代码修改) docs: 文档修改 style: 代码格式修改, 注意不是 css 修改(例如分号修改) test: 测试用例新增、修改 build: 影响项目构建或依赖项修改 revert: 恢复上一次提交 ci: 持续集成相关文件修改 chore: 其他修改(不在上述类型中的修改) release: 发布新版本 workflow: 工作流相关文件修改 typo:拼写错误等小错误 Tip2:code Review 行话 PR: Pull Request. 拉取请求,给其他项目提交代码 LGTM: Looks Good To Me. 朕知道了 代码已经过 review,可以合并 SGTM: Sounds Good To Me. 和上面那句意思差不多,也是已经通过了 review 的意思 WIP: Work In Progress. 传说中提 PR 的最佳实践是,如果你有个改动很大的 PR,可以在写了一部分的情况下先提交,但是在标题里写- `上 WIP,以告诉项目维护者这个功能还未完成,方便维护者提前 review 部分提交的代码。 PTAL: Please Take A Look. 你来瞅瞅?用来提示别人来看一下 TBR: To Be Reviewed. 提示维护者进行 review TL;DR = Too Long; Didn’t Read. 太长懒得看。也有很多文档在做简略描述之前会写这么一句 TBD: To Be Done(or Defined/Discussed/Decided/Determined).根据语境不同意义有所区别,但一般都是还没搞定的意思 Tips3 = 一些个人感悟 变量名直观一点,不要害怕太长 人类创造编程语言,就是为了方便人类编写与理解,大部分语言编译器都会做相关的优化的 git 仓库也真的不在乎多那么几个字节,github 大小也没有限制,浅克隆问题也不大 主分支不用,其他分支少用git push -f,提交历史没有必要太好看 同上 2,多几个 commit 没什么大不了的 个人项目单分支模型就可以了,用太多分支往往徒增烦恼(这条不绝对,要看具体情况)

July 25, 2021 · 1 min · Leo

Markdown 常用拓展语法参考

Markdown 常用拓展语法参考 常用链接 基本语法 GitHub Flavored Markdown Spec gfm 比较细致的 markdown 参考资料 www.markdownguide.org github 上的 markdown 语法速查 markdown-cheatsheet,Markdown typora中提供的帮助 数学公式$\TeX$:通常 markdown 使用以下两种工具渲染公示 mathjax:typora、知乎等 katex:hugo 等 emoji 参考✌️ emoji 表来自caiyongji/emoji-list emoji-cheat-sheet Mermaid 图表:一般都是使用的 mermaid.js 来渲染的,注意版本 mermaid.js 官方文档:mermaid typora 的相关帮助文档:Draw Diagrams With Markdown (typora.io) Badge 徽章: https://shields.io/ https://forthebadge.com/ 在 gitee 中使用徽标:在 git 仓库主页一次点击管理、仓库挂件即可看到 常用 html 代码 行内 html Raw Markdown Source Output in Live Preview <span style='color:red'>This is red</span> This is red <ruby> 漢 <rt> ㄏㄢˋ </rt> </ruby> 漢 ㄏㄢ ˋ <kbd>Ctrl</kbd>+<kbd>F9</kbd> Ctrl+F9 <span style="font-size:2rem; background:yellow;">**Bigger**</span> Bigger HTML entities like &reg; &#182; HTML entities like ® ¶ 文本注释、隐藏与折叠 注释内容 <!--这是注释--> 隐藏段落 <p hidden>这是需要隐藏的段落 不可以有空行</p> 折叠 <details> <summary> I have keys but no locks. I have space but no room. You can enter but can't leave. What am I? </summary> A keyboard. </details> 效果: ...

July 25, 2021 · 2 min · Leo