Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've used TeXnicCenter almost exclusively over the rather short amount of time I've been using LaTeX. I like it quite a bit, except that wrapped parts of long lines are not indented at all. I would prefer for long lines to soft-wrap to the same indentation as the beginning of the line so that I can easily see the structure of my document.

Are there any good LaTeX IDEs out there that preserve the indentation of a line when word-wrapping?

Note the following:

  • To me, hard word wrapping is unacceptable.
  • I'm using Windows (obviously, given that I use TeXnicCenter).
  • I don't have any desire to learn Emacs or Vim at the moment, although I suspect they have ways to do this. Their learning curves are too steep for my current situation.
  • I think WinEdt has this feature, but it's not free.
share|improve this question
add comment

4 Answers

up vote 7 down vote accepted

Did you try out TexMakerX http://texmakerx.sourceforge.net/? It is free, has a very, very powerful editor, is available for different platforms and it should do what you want (if I understood your question correctly, see example screenshot). enter image description here

share|improve this answer
    
+1 for TMX, it’s great :-) –  Tobi May 28 '11 at 7:51
1  
Note that this fork has been renamed to TexStudio, in case the link ever stops redirecting. –  Sean Allred Sep 20 '13 at 22:35
add comment

It's seems this feature is being worked on for Gedit (see also Text Wrapping in Gedit).

share|improve this answer
add comment

After looking around some, I noticed that this feature has been requested and implemented for TeXnicCenter. However, there have not been any official releases of TeXnicCenter since it got implemented. The most recent release (TeXnicCenter 2 alpha 3) was put out about a month before it got implemented.

Since it's an important feature to me and I'm not very patient, I just got the source code to TeXnicCenter and built the tip of the stable branch myself, which was actually quite easy to do (for someone who programs and is familiar with version control software). However, it requires that you have Visual Studio 2010. Here's what I did:

  1. Download TortoiseHg and install it (TeXnicCenter uses Mercurial for version control, and TortoiseHg seems like the easiest way to use Mercurial on Windows).
  2. Clone the TeXnicCenter repository to your computer from the URL they list on sourceforge (http://texniccenter.hg.sourceforge.net:8000/hgroot/texniccenter/texniccenter).
  3. Update the working directory to the most recent commit in the stable branch.
  4. Open the Visual Studio 2010 solution, switch to the win32 Release configuration, and build it.
  5. Find and run TeXnicCenter from the exe in the newly created "Output" folder in the working directory.
  6. Under the "View" menu in TeXnicCenter, check the "Same Indent for Wrapped Lines" option.

This works for me, at least until the next version of TeXnicCenter is officially released.

share|improve this answer
add comment

Kile has this feature in Linux, and the authors claim that it can be run under Windows. I find this feature important as well!

share|improve this answer
    
Kile runs (without any significant bug) in Windows using KDEWin, –  fabikw May 27 '11 at 21:50
    
Yup, KDEwin + Kile also seems to work well for this. +1 –  Brandon Jun 1 '11 at 19:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.