2010-03-15 63 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))) 
相關問題