Emacs 组织模式表格标题格式未正确对齐
我在组织模式下的表格格式有问题。我使用单空间字体,固定间距字体,但它仍然倾斜,如下面的屏幕截图所示:Emacs 组织模式表格标题格式未正确对齐,emacs,org-mode,Emacs,Org Mode,我在组织模式下的表格格式有问题。我使用单空间字体,固定间距字体,但它仍然倾斜,如下面的屏幕截图所示: C-u C-x=显示: position: 358 of 23068 (2%), column: 26 character: - (displayed as -) (codepoint 45, #o55, #x2d) preferred charset: ascii (ASCII (ISO646 IRV)) code point in
C-u C-x=
显示:
position: 358 of 23068 (2%), column: 26
character: - (displayed as -) (codepoint 45, #o55, #x2d)
preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x2D
script: latin
syntax: _ which means: symbol
category: .:Base, >:Not at bol, a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET 2d" or "C-x 8 RET HYPHEN-MINUS"
buffer code: #x2D
file code: #x2D (encoded by coding system utf-8-unix)
display: by this font (glyph code)
xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x10)
Character code properties: customize what to show
name: HYPHEN-MINUS
general-category: Pd (Punctuation, Dash)
decomposition: (45) ('-')
There are text properties here:
face org-table
fontified t
运行描述面部
以查看组织表
面部报告:
Face: org-table (sample) (customize this face)
Documentation:
Face used for tables.
Defined in ‘org-faces.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: #859900
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: fixed-pitch
固定节面为:
Face: fixed-pitch (sample) (customize this face)
Documentation:
The basic fixed-pitch face.
Defined in ‘faces.el’.
Family: Monospace
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
换句话说,一切看起来都是正确的,但我的表格标题是歪斜的
关于Lunux的Emacs 25.2.2。组织模式9.2.2.固定音高的面部配置是什么样的<代码>组织表面本质上与它相同,因为
:inherit
@jpkotta我在上面的问题中添加了固定音高的面摘要。好的,没有什么奇怪的。表的其余部分是否也在org表
face中?我刚刚在org中创建了一个表,看起来所有的表都是org-table
face。除此之外,我真的不确定要检查什么。也许字体很奇怪。也许还可以尝试从shell中使用fc match Monospace
。我猜xft:
中的descripe char
行表示它是DejaVu Sans Mono,这是我的默认
面使用的。我的连字符和其他东西一样大。好的,我猜出来了。当我用C-x C--更改显示大小时,问题就出现了。不知何故,带有“:width 1”属性的初始列空间会记住旧的大小并显示更大的值。尝试在组织模式钩子中设置“(setq org table separator space“”)”会有所帮助,但当重新打开文档时,其效果将丢失。它看起来像一个bug。固定音高
面部配置是什么样子的<代码>组织表面本质上与它相同,因为:inherit
@jpkotta我在上面的问题中添加了固定音高的面摘要。好的,没有什么奇怪的。表的其余部分是否也在org表
face中?我刚刚在org中创建了一个表,看起来所有的表都是org-table
face。除此之外,我真的不确定要检查什么。也许字体很奇怪。也许还可以尝试从shell中使用fc match Monospace
。我猜xft:
中的descripe char
行表示它是DejaVu Sans Mono,这是我的默认
面使用的。我的连字符和其他东西一样大。好的,我猜出来了。当我用C-x C--更改显示大小时,问题就出现了。不知何故,带有“:width 1”属性的初始列空间会记住旧的大小并显示更大的值。尝试在组织模式钩子中设置“(setq org table separator space“”)”会有所帮助,但当重新打开文档时,其效果将丢失。它看起来像一只虫子。