2010-03-15 15 views
0

我在emacs有两个问题。如何在emacs中设置对齐 - 完整每行而不会搞乱返回?

首先。 如何为整个文档设置对齐 - 完整? 我可以为一个区域成功完成M-X set-justification-full,但我想让它在整个文档中工作。

二。 当我完成set-justification-full并按下回车键时,如何管理不从一处跳到另一处?也就是说,说我有以下段落:

%%if normalized beforehand then the rule would be, 
%%\begin{gather} 
%%(\hat{y}_{i}^{'} \times \hat{y}_{i+1}^{'}) \cdot \hat{z}_{mst} = 1, \quad then \ \Omega > 1\\ 
%%(\hat{y}_{i}^{'} \times \hat{y}_{i+1}^{'}) \cdot \hat{z}_{mst} = 
%%-1,\quad then \ \Omega < -1 
%%\end{gather} 

当我设置的理由满,它会半年线转换成三行,那就是我想要做的是一个每行的理由。这在emacs中可能吗?

非常感谢你的帮助。

Inhaki2006


对此深感抱歉。这个例子没有换行符,我的意思是。

%%如果事先标准化则该规则将是,
%% \ {开始收集}
%%(\帽子{Y} {I}^{'} \次\帽子{Y} {i}} {cd} \ hat {z} {mst} = 1,\ quad then \ \ Omega> 1 \
%%(\ hat {y}
{i}^{ } \ times \ hat {y} {i + 1}^{'})\ cdot \ hat {z} {mst} = %% - 1,\ quad then \ \ Omega
%% \ end {收集}

再次感谢,

回答

0

首先,介绍:

(defun set-justification-entire-buffer() 
    "do set-justification-full for the entire buffer" 
    (interactive) 
    (set-justification-full (point-min) (point-max))) 
相关问题