LaTeX:TeXStudio编辑器快捷键大全

发布时间:2022-05-06 阅读 4178

Stata连享会   主页 || 视频 || 推文 || 知乎 || Bilibili 站

温馨提示: 定期 清理浏览器缓存,可以获得最佳浏览体验。

New! lianxh 命令发布了:
随时搜索推文、Stata 资源。安装:
. ssc install lianxh
详情参见帮助文件 (有惊喜):
. help lianxh
连享会新命令:cnssc, ihelp, rdbalance, gitee, installpkg

课程详情 https://gitee.com/lianxh/Course

课程主页 https://gitee.com/lianxh/Course

⛳ Stata 系列推文:

PDF下载 - 推文合集


目录


1. 够用了

A. 最常用的

  • F5 编译,常用
  • F6 生成 PDF,我很少用
  • Ctrl+Click TeX 文本和 PDF ⽂本相互定位
    • F7 定位到光标位置对应的 PDF 文本 (不能反向定位)
  • Ctrl+T 添加单行或多行注释,重复-取消
  • Ctrl+R 替换
  • 补充:WinEdt 正则表达式。以下是 Markdown 链接转 TeX 链接的正则表达式:
    • in:\[(.+?)\]\((.+?)\) (搜狗短语:mdtex → 1)
    • out: \href{\2}{\1} (搜狗短语:mdtex → 3)

B. 编辑

  • Ctrl+D 选中单词
  • Ctrl+L 选中整行 (以回车键为分界)
  • Ctrl+K 删除整行 (以回车键为分界)
  • Alt+K 删除本行光标后的内容

C. 人人都会

  • Undo : Ctrl+Z
  • Redo : Ctrl+Y
  • Copy : Ctrl+C
  • Cut : Ctrl+X
  • Paste : Ctrl+V
  • Select All : Ctrl+A
  • Ctrl+W 关闭文档

以下是完整版:

2. TeXStudio 快捷键 (中文)

打开快捷键完整列表: HelpUser Manual4.13 Keyboard shortcuts

重定义快捷键:OptionsConfigure TeXStudioShortCuts

以下列表是默认键盘快捷键的粗略概述。根据操作系统的不同,可能会有一些偏差以适应特定于操作系统的快捷方式约定。

  • 文件 菜单:
    • 新建: Ctrl+N
    • 打开: Ctrl+O
    • 保存: Ctrl+S
    • 另存为: Ctrl+Alt+S
    • 全部保存: Ctrl+Shift+Alt+S
    • 关闭: Ctrl+W
    • 打印源代码: Ctrl+P
    • 退出: Ctrl+Q
  • 编辑 菜单:
    • 撤消: Ctrl+Z
    • 重做: Ctrl+Y
    • 复制: Ctrl+C
    • 剪切: Ctrl+X
    • 粘贴: Ctrl+V
    • 全选: Ctrl+A
    • 将所选内容扩展到 Word: Ctrl+D
    • 选中整行: Ctrl+L
    • 删除行: Ctrl+K
    • 删除到行尾: Alt+K
    • 查找: Ctrl+F
    • 查找下一个: F3 / Ctrl+G
    • 查找上一个: Shift+F3 / Ctrl+Shift+G
    • 替换: CTRL+R
    • 转到行: Ctrl+G
    • 转到上一个更改: Ctrl+H
    • 转到下一个更改: Ctrl+Shift+H
    • 转到书签 0..9: Ctrl+0..9
    • 设置书签 0..9: Ctrl+Shift+0..9
    • 设置未命名书签: Ctrl+Shift+B
    • 下一个标记: Ctrl+Down
    • 上一个标记: Ctrl+Up
    • 返回: Alt+Left
    • 前进: Alt+Right
    • 插入 Unicode 字符: Ctrl+Alt+U
  • Idefix 菜单:
    • 擦除 Word/Cmd/Env: Alt+Del
    • 粘贴为 LaTeX: Ctrl+Shift+V
    • 显示预览: Alt+P
    • 注释: Ctrl+T
    • 取消注释: Ctrl+U
  • 工具 菜单:
    • 构建和查看: F5
    • 编译: F6
    • 视图: F7
    • 参考书目: F8
    • 词汇表: F9
    • 词库: Ctrl+Shift+F8
  • LaTeX 菜单:
    • 项目: Ctrl+Shift+I
    • 斜体: Ctrl+I
    • 倾斜: Ctrl+Shift+S
    • 粗体: Ctrl+B
    • 打字机: Ctrl+Shift+T
    • 小型大写字母: Ctrl+Shift+C
    • 重点: Ctrl+Shift+E
    • 新行: Ctrl+Return
    • 开始 {环境}: Ctrl+E
    • 插入对下一个标签的引用: Ctrl+Alt+R
  • 数学公式 菜单:
    • 内联数学模式: Ctrl+Shift+M
    • 显示数学模式: Alt+Shift+M
    • 编号方程: Ctrl+Shift+N
    • 下标: Ctrl+Shift+D
    • 上标: Ctrl+Shift+U
    • 分数: Alt+Shift+F
    • Dfrac: Ctrl+Shift+F
    • Sqrt : Ctrl+Shift+Q
    • 左: Ctrl+Shift+L
    • 右: Ctrl+Shift+R
  • 用户 菜单:
    • 用户标签: Shift+F1...Shift+F10
    • 用户命令: Shift+Alt+F1...Shift+Alt+F10
  • 查看 菜单:
    • 上一个文档: Ctrl+PgDown
    • 下一个文档: Ctrl+PgUp
    • 焦点编辑器: Ctrl+Alt+Left
    • 焦点查看器: Ctrl+Alt+Right
    • 关闭某事: Esc
    • 编辑器放大: Ctrl++
    • 编辑器缩小: Ctrl+-
    • 全屏模式: F11

3. Keyboard shortcuts

The keyboard shortcuts can be modified at OptionsConfigure TeXStudioShortCuts.

The following list is a rough overview of the defaults keyboard shortcuts. Depending on the operating system, there may be some deviations to adapt for OS-specific shortcut conventions.

  • File menu :
    • New : Ctrl+N
    • Open : Ctrl+O
    • Save : Ctrl+S
    • Save as: Ctrl+Alt+S
    • Save all: Ctrl+Shift+Alt+S
    • Close : Ctrl+W
    • Print Source Code : Ctrl+P
    • Exit : Ctrl+Q
  • Edit menu :
    • Undo : Ctrl+Z
    • Redo : Ctrl+Y
    • Copy : Ctrl+C
    • Cut : Ctrl+X
    • Paste : Ctrl+V
    • Select All : Ctrl+A
    • Expand Selection to Word : Ctrl+D
    • Expand Selection to Line : Ctrl+L
    • Delete Line : Ctrl+K
    • Delete to End of Line : Alt+K
    • Find : Ctrl+F
    • Find next : F3 / Ctrl+G
    • Find prev : Shift+F3 / Ctrl+Shift+G
    • Replace : CTrl+R
    • Go to line : Ctrl+G
    • Go to previous change: Ctrl+H
    • Go to to next change: Ctrl+Shift+H
    • Go to Bookmark 0..9: Ctrl+0..9
    • Set Bookmark 0..9: Ctrl+Shift+0..9
    • Set Unnamed Bookmark: Ctrl+Shift+B
    • Next Marker: Ctrl+Down
    • Previous Marker: Ctrl+Up
    • Go Back : Alt+Left
    • Go Forward : Alt+Right
    • Insert Unicode Character : Ctrl+Alt+U
  • Idefix menu :
    • Erase Word/Cmd/Env: Alt+Del
    • Paste as LaTeX: Ctrl+Shift+V
    • Show preview : Alt+P
    • Comment : Ctrl+T
    • Uncomment : Ctrl+U
    • Next Latex Error: Ctrl+Shift+Down
    • Previous Latex Error: Ctrl+Shift+Up
    • Next Latex Bad Box: Shift+Alt+Down
    • Previous Latex Bad Box: Shift+Alt+Up
    • Go to definition: Ctrl+Alt+F
    • Normal Completion: Ctrl+Space
    • \begin Completion: Ctrl+Alt+Space
    • Normal Text Completion: Alt+Shift+Space
    • Close Last Open Environment: Alt+Return
    • Remove Placeholders: Ctrl+Shift+K
  • Tools menu :
    • Build & View : F5
    • Compile : F6
    • View : F7
    • Bibliography : F8
    • Glossary : F9
    • Check spelling : Ctrl+:
    • Thesaurus : Ctrl+Shift+F8
  • LaTeX menu :
    • item : Ctrl+Shift+I
    • Italic : Ctrl+I
    • Slanted : Ctrl+Shift+S
    • Bold : Ctrl+B
    • Typewriter : Ctrl+Shift+T
    • Small caps : Ctrl+Shift+C
    • Emphasis : Ctrl+Shift+E
    • New line : Ctrl+Return
    • begin{environment} : Ctrl+E
    • Insert reference to next label : Ctrl+Alt+R
  • Math menu :
    • Inline math mode : Ctrl+Shift+M
    • Display math mode : Alt+Shift+M
    • Numbered equations : Ctrl+Shift+N
    • Subscript : Ctrl+Shift+D
    • Superscript : CTrl+Shift+U
    • Frac : Alt+Shift+F
    • Dfrac : Ctrl+Shift+F
    • Sqrt : Ctrl+Shift+Q
    • Left : Ctrl+Shift+L
    • Right : Ctrl+Shift+R
  • User menu :
    • User tags : Shift+F1...Shift+F10
    • User commands : Shift+Alt+F1...Shift+Alt+F10
  • View menu :`
    • Previous Document : Ctrl+PgDown
    • Next Document : Ctrl+PgUp
    • Focus Editor : Ctrl+Alt+Left
    • Focus Viewer : Ctrl+Alt+Right
    • Close Something : Esc
    • Editor Zoom In : Ctrl++
    • Editor Zoom Out : Ctrl+-
    • Fullscreeen Mode : F11

4. 相关推文

Note:产生如下推文列表的 Stata 命令为:
lianxh tex
安装最新版 lianxh 命令:
ssc install lianxh, replace

相关课程

免费公开课

最新课程-直播课

专题 嘉宾 直播/回看视频
最新专题 文本分析、机器学习、效率专题、生存分析等
研究设计 连玉君 我的特斯拉-实证研究设计-幻灯片-
面板模型 连玉君 动态面板模型-幻灯片-
面板模型 连玉君 直击面板数据模型 [免费公开课,2小时]
  • Note: 部分课程的资料,PPT 等可以前往 连享会-直播课 主页查看,下载。

课程主页

课程主页

关于我们

  • Stata连享会 由中山大学连玉君老师团队创办,定期分享实证分析经验。
  • 连享会-主页知乎专栏,700+ 推文,实证分析不再抓狂。直播间 有很多视频课程,可以随时观看。
  • 公众号关键词搜索/回复 功能已经上线。大家可以在公众号左下角点击键盘图标,输入简要关键词,以便快速呈现历史推文,获取工具软件和数据下载。常见关键词:课程, 直播, 视频, 客服, 模型设定, 研究设计, stata, plus, 绘图, 编程, 面板, 论文重现, 可视化, RDD, DID, PSM, 合成控制法

连享会小程序:扫一扫,看推文,看视频……

扫码加入连享会微信群,提问交流更方便

✏ 连享会-常见问题解答:
https://gitee.com/lianxh/Course/wikis

New! lianxh 命令发布了:
随时搜索连享会推文、Stata 资源,安装命令如下:
. ssc install lianxh
使用详情参见帮助文件 (有惊喜):
. help lianxh