Latex Tips: How to type a tilde (波浪符) ?
目录
0. 前言
波浪符号(tilde, wavy line)可以用在一个字母的头顶表达特殊的含义,比如说在信号估计中表示一个估计量;也可以作为一个独立的符号分隔前后,比如说,用于表达一个随机变量遵循某个概率分布。如何在Latex中输入波浪符号呢?本文简单介绍在Latex中几种不同情况下的波浪符号的输入方法。
以下代码可以在Jupyter Notebook Markdown cell中运行验证过。
1. 字母上方的波浪线(tilde)
置于字母上方的波浪线可以用命令"\tilde{letter}"来表示,如下例:
These are alphabets with a tilde symbol, $\tilde{a}$, $\tilde{A}$,$\tilde{p}$.
显示效果如下:
These are alphabets with a tilde symbol, .
2. 多个字母上方的长波浪线(tilde)
有时候我们需要给一个多个字母表示的变量顶上加波浪符,用\tilde命令的话,波浪符不会自动伸长,这样看上去不是很协调,如下例所示:
A tilde symbol over multiple letters: $\tilde{abc}$.
显示效果如下:
A tilde symbol over multiple letters: .
这种情况下我们可以用\widetilde命令如下所示:
A longtilde symbol over multiple letters: $\widetilde{abc}$.
显示效果如下:
A longtilde symbol over multiple letters: .
3. 独立的波浪线(tilde)符号
3.1 数学模式
在数学模式中可以用命令\sim来输入一个独立的波浪符。如下例所示:
X is a standard normal distribution random variable, i.e, 𝑋∼𝑁(𝜇,𝜎2)X∼N(μ,σ2)
显示效果如下:
X is a standard normal distribution random variable, i.e, .
3.2 文本模式
在文本模式中可以用命令\textasciitilde or \texttildelow来输入一个独立的波浪符,前者让波浪符出现在上方,后者让波浪符出现在中间。
呃。。。这个我不知道怎么在Jupyter Notebook Markdown cell中表现出来^-^,等搞明白了再来补全.
相关文章
- 【原创】ERROR 1142 (42000): command denied to user 引发的权限不足问题[亲测有效][通俗易懂]
- vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your w
- SqlBulkCopy – The given value of type String from the data source cannot be converted to type
- [Warning] large integer implicitly truncated to unsigned type [-Woverflow][通俗易懂]
- ubuntu怎么卸载docker_failed to start docker.service
- 解决使用Nginx错误 Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING问题
- ORA-22340: cannot string type “string”.”string”. Dependent tables must be upgraded to latest version ORACLE 报错 故障修复 远程处理
- ORA-24354: number fetched too large to fit in COBOL display type buffer. ORACLE 报错 故障修复 远程处理
- ORA-24355: attempt to store a negative number in an Unsigned Display type. ORACLE 报错 故障修复 远程处理
- ORA-24405: error occured while trying to create connections in the pool ORACLE 报错 故障修复 远程处理
- ORA-29520: name string resolved to a class in schema string that could not be accessed ORACLE 报错 故障修复 远程处理
- ORA-29839: failed to validate implementation type ORACLE 报错 故障修复 远程处理
- ORA-30749: column string not enabled to store objects of type string.string ORACLE 报错 故障修复 远程处理
- ORA-30750: cannot enable column string to store objects of type string.string ORACLE 报错 故障修复 远程处理
- ORA-31636: session is already attached to job string for user string ORACLE 报错 故障修复 远程处理
- ORA-39083: Object type string failed to create with error: string Failing sql is: string ORACLE 报错 故障修复 远程处理
- ORA-42015: online redefinition unable to log changes made to AQ tables ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-010828; Symbol: ER_BINLOG_FAILED_TO_OPEN_INDEX_FILE_AFTER_REBUILDING; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-02816: Unable to kill a process ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-011424; Symbol: ER_KEYRING_AWS_FAILED_TO_INIT_DUE_TO_INTERNAL_ERROR; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-12914: Cannot migrate tablespace to dictionary managed type ORACLE 报错 故障修复 远程处理
- ORA-13228: spatial index create failed due to invalid type ORACLE 报错 故障修复 远程处理
- ORA-16523: operation requires the client to connect to instance “string” ORACLE 报错 故障修复 远程处理
- ORA-19227: XPTY0007 – fn:data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content. ORACLE 报错 故障修复 远程处理
- ECC TO HANA FAGLB03 search-help on Account Number field doesn’t working or not returning the selected value to the Account Number field.详解编程语言
- 利用Oracle TO函数实现数据转换(oracle to_函数)