Questions in category: TeX (TeX)
软件 >> TeX

1. 更改 WinEdt 工具栏中打开PDF的命令

Posted by haifeng on 2023-03-20 10:29:50 last update 2023-03-20 10:29:50 | Answers (0) | 收藏


如何更改 WinEdt 工具栏中打开PDF的命令?

点击 Options-->Execution Modes, 此时会弹出一个对话框. 点击 "PDF Viewer" 选项页, 

修改 PDF Viewer Executable 中的内容. 例如, 如果安装了 iLovePDF, 则可以填写

"C:\Program Files\iLovePDF\iLovePDF.exe"

如果下载了 SumatraPDF, 例如zip版, 将其放到 D:\bin 目录下, 填写正确的路径, 保存即可.

 

CTeX 中也默认有这个PDF阅读器, 位置在

C:\CTEX\CTeX\ctex\bin\SumatraPDF.exe

 


另外, 关于 WinEdt 工具栏的设置.

首先点击 Options-->Options Interface

在 Menus and Toolbar ... 下拉菜单中找到 Toolbar 并双击. 此时会在 WinEdt 中打开文件 Toolbar.ini .

(这个文件存放在 C:\Users\haife\AppData\Roaming\WinEdt Team\WinEdt 10\ConfigEx\ 目录下, 如果是默认安装的话.)

如果不放心, 可以将此文件备份一下. 然后就可以尝试修改其中的内容了.

2. ctex warning

Posted by haifeng on 2022-07-07 08:55:43 last update 2022-07-07 08:55:43 | Answers (0) | 收藏


Package ctex Warning: Option `fancyhdr' is deprecated.
(ctex)                `fancyhdr' package is loaded.


Package ctex Warning: Option `fntef' is deprecated.
(ctex)                `CJKfntef' package is loaded.


Package ctex Warning: Option `hyperref' is deprecated.
(ctex)                `hyperref' package will be loaded.

3. metafont 的使用, 安装 stmaryrd – St Mary Road symbols for theoretical computer science

Posted by haifeng on 2022-01-14 22:07:01 last update 2022-01-14 22:07:01 | Answers (0) | 收藏


stmaryrd – St Mary Road symbols for theoretical computer science

 

首先到 CTAN: Package stmaryrd 上下载 stmaryrd.zip

解压缩到相应目录, 比如 D:\TeX\w32tex2017\share\texmf-dist\tex\latex\

查看 INSTALL 文件, 根据指示运行相关命令. 例如运行

mf "\mode=localfont; input stmary5;"

返回的结果为:

This is METAFONT, Version 2.7182818 (TeX Live 2016/W32TeX) (preloaded base=mf)
(stmary5.mf
(d:/TeX/w32tex2017/share/texmf-dist/fonts/source/public/cm/cmbase.mf)
(d:/TeX/w32tex2017/share/texmf-dist/fonts/source/public/cm/cmsy5.mf)
(stmaryrd.mf (stmaryba.mf) (stmarych.mf) (stmaryjg.mf [0] [1] [2] [3] [4]
[5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]
[21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35]
[36] [37] [38] [39] [40] [41] [42] [43] [44]) (stmaryaj.mf [45] [46] [47]
[48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
[63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77]
[78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92]
[93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]
[107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118]
[119] [120] [121] [122] [123] [124] [125] [126] [127]) ) )
Font metrics written on stmary5.tfm.
Output written on stmary5.600gf (128 characters, 22364 bytes).
Transcript written on stmary5.log.

 

 

 

4. TFM(TeX font metrics)

Posted by haifeng on 2012-03-14 23:31:41 last update 2012-03-14 23:31:41 | Answers (0) | 收藏


TFM 指 Tex font metrics, TFM 文档是20世纪80年代开发的, 即使是目前, 也为 TeX 系统广泛使用. 其中保存了字体的 glyph 的相当多的信息. 当时为了节省硬盘空间, 所以这种文件比较难以将其内容进行解析.

libXTFM 为此提供了将 TFM 文档中的信息解析成 XML 格式的应用程序接口(API). libXTFM 的一个特点是字体的 glyph metrics, 充分结构化. 因此对它们进行 XML 编码是可行的, 而且对比 TFM, 容易得到字体 glyph metrics 的相同信息.

Reference:

Luca Padovani, MathML Formatting, PhD dissertation, 2003.

http://www.cs.unibo.it/~lpadovan/libxtfm/xtfm.html
 

Donald E. Knuth. The METAFONTbook, volume C of Computers and typesetting. Addison-Wesley, Reading, MA, USA, 1993.

5. TeX sites

Posted by haifeng on 2011-09-13 09:45:08 last update 2012-07-17 09:35:32 | Answers (0) | 收藏


FAQ

tex.stackexchange.com

Forum or community

www.latex-community.org

Others

http://www.inductiveload.com/posts/multi-line-latex-expressions-in-matplotlib/