Latex技巧(持续更新)(\newcommand{}{})

  1. 自定义一个新命令
    \newcommand{\tcr}{\textcolor{red}}
    为了方便设置文本颜色为红色而定义的简化命令。
    code:
\documentclass{article}

\usepackage{xcolor}
\newcommand{\tcr}{\textcolor{red}}

\begin{document}
	Stand on the \tcr{shoulders} of giants
\end{document}

效果如下:
在这里插入图片描述
2、 math accent
在这里插入图片描述

  1. 推荐一个latex 的工具,可以根据大概写的字母进行识别,给出相似相近的字母的命令以及所在的安装包
    http://detexify.kirelabs.org/classify.html

  2. 定理证明中如何去掉proof的编号here
    https://zhidao.baidu.com/question/1705203936151869060.html

\usepackage{ntheorem} 和amsmath没有冲突
\newtheorem*{Proof}{Proof:}就可以去掉标号了
也可以通过
\newtheorem*{Proof}{\it{Proof:}}这种方式直接来改变proof的倾斜或者加粗之类的
  1. tikz 画图时的线形:
    dotted:…
    dashed: _ _ _ _ _
    更多细节请前往 here
  2. tikz 颜色种类: here

orange/orange, jaune/yellow, jaune-vert/LimeGreen, vert/green,
bleu-vert/SeaGreen, cyan/Cyan, bleu-rois/NavyBlue, bleu/blue, violet/Violet, magenta/magenta, rouge-rosé/RubineRed, rouge/red

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值