0

Auctex has a nice feature that fills the paragraph (LaTeX-fill-paragraph) based on emacs' fill-column. This as you know extends to environments as well (C-c C-q C-e). This works fine for me when I write alone, however, when I work with colleagues who doesn't use emacs necessary, it becomes problematic.

My coauthors often complains that my latex code dictates my column width to them. Other editors has a soft-wrap functionality that looks like a newline in the editor but there is no real newline.

Is there a way, that I could have Auctex to fill paragraph but doesn't insert actual new lines?

  • 1
    You are probably looking for Visual Line Mode, which is an Emacs feature, rather than AUCTeX's. – gusbrs Jul 2 '18 at 10:12
  • 1
    The other way around could be for the coauthors to realize that having shorter lines, makes backwards-search more precise (I know texstudio has some extra tricks but it still stands) – daleif Jul 2 '18 at 10:15
  • If you use indentation (with spaces) and want the later parts of wrapped lines indented too you may additionally want to consider adaptive-wrap-prefix-mode (for which you need to install the adaptive-wrap package). It doesn't work with actual tabs (but can be made to). – Circumscribe Jul 2 '18 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.