Tabstops ignored if right of hanging indent

  • If the first line indent differs from the hanging indent (i.e. the first line indent marker is to the left of the hanging indent marker), then the first, and only the first, tabstop to the right of the hanging indent is ignored. Obviously, if the firstline indent is the same as the hanging indent, then the first tabstop is OK.... only when they differ is the first tabstop to the right ignored.

    Simple to demonstrate, but I'll send you an example if you want.

    WPTools 5.18.8, D7

    As usual, this is a rather critical issue! :)

    Eric

    • Offizieller Beitrag

    The tabs between first and left margin should never be ignored.

    You can vary the handling in FormatOptions

    wpfHangingIndentWithTab, (first tab in paragraph jumps to indent first (this always happens if no tabs are set!). The left indent will be handled as first tabstop not only if the tab is the first character but also if the text before the tab fits into the first indent.

    wpfDontTabToIndentFirst, (The oposite to wpfHangingIndentWithTab, also switch off the handling for pars which do not use tabstops at all)

    I recommend to set wpfHangingIndentWithTab - than the layout should be as expected (Word)

    Julian Ziersch

  • Yes, wpfDontTabToIndentFirst set to true corrects the problem.

    You might want to check something though. With that set to the default of false, if the first line indent is not equal to the left margin, i.e. set to the right of the left margin, then the first tab does not line the text up with the hanging indent, and is rather shifted by the first line indent amount. That just seems totally wrong for being a default setting.

    Sample:

    Code
    {\rtf1\ansi\deff0\uc1\ansicpg1252\deftab720{\fonttbl{\f0\fnil\fcharset1 Arial$;CharFontSize:;}{\f1\fnil\fcharset1 Arial;}{\f2\fnil\fcharset1 WingDings;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;}\wpprheadfoot1\paperw12240\paperh15840\margl1880\margr1880\margt1440\margb1440\headery720\footery720\endnhere\sectdefaultcl{\*\generator WPTools_5.18;}{\*\userprops {\propname databases}\proptype30{\staticval DATA,LOOP10,LOOP100}
    }{\li2835\fi-1701\plain\f1\fs22 2005/10/24\tab In my opinion, with the default settings, this should line up with the hanging indent text shown in the wrapped lines, but it is shifted by the amount of the first line indent.\par
    }}

    Thanks once again for your quick solution!
    Eric