博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Embedding Greek and scripts into text IDL
阅读量:2444 次
发布时间:2019-05-10

本文共 1201 字,大约阅读时间需要 4 分钟。

The embedded symbols will be evaluated at run-time, so they will be correct both on the display and if you send this command to a PostScript file, or make a 

high-quality raster file with ImageMagick. Here, for example, is how the figure below was created.

cgPlot, cgDemoData(1), XTitle='Length ($\mu$M)', YTitle='Distance ($\Angstrom$$\up2$)', $       Output='embedsymbols_1.png', Aspect = 0.66
Embedded symbols are rendered correctly on the display and in PostScript.
Embedded symbols are rendered correctly on the display and in PostScript and in 
high-quality raster files.
 

There is no particular limit to how many characters can be included in superscripts and subscripts. The following embedded symbols can be used.

  • $\upTEXT$ — Raise the text in TEXT to superscript level and reduce character size by 62%.
  • $\extTEXT$ — Raise the text in TEXT to superscript level and reduce character size by 44%.
  • $\downTEXT$ — Lower the text in TEXT to subscript level and reduce character size by 62%.
  • $\subTEXT$ — Lower the text in TEXT to subscript level and reduce character size by 44%.

Here is a contrived example.

cgPlot, cgDemoData(1), Charsize=2.0, $       XTitle='Distance ($\angstrom$$\up2$)', $       YTitle='H$\subSubscript$ and B$\expSuperscript$'

You see the results here.

转载地址:http://qtiqb.baihongyu.com/

你可能感兴趣的文章
Express,请求参数
查看>>
express发送文件_使用Express发送文件
查看>>
Object toString()方法
查看>>
调试JavaScript的权威指南
查看>>
我如何运行一些JavaScript代码段
查看>>
地理位置api_如何使用地理位置API
查看>>
数据结构设计 数据字典_Go数据结构:字典
查看>>
node_modules文件夹的大小不是问题。 这是一种特权
查看>>
dom 删除所有子元素_如何从DOM元素中删除所有子级
查看>>
html 打印样式控制_如何使用样式打印HTML
查看>>
gatsby_Next.js vs Gatsby vs create-react-app
查看>>
掌握React.Memo
查看>>
golang 延迟_了解Go中的延迟
查看>>
react 组件样式_如何设置React组件的样式
查看>>
node.js 模块_如何创建Node.js模块
查看>>
centos上安装git_如何在CentOS 8上安装Git
查看>>
在JavaScript中优化switch语句
查看>>
express 模板引擎_了解Express模板引擎
查看>>
如何在CentOS 8上安装Node.js
查看>>
如何在Ubuntu 20.04上安装Git
查看>>