cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

First line indent has no effect.

Partner
14-Alexandrite

First line indent has no effect.

I have a text inside a definition, when this text is a large text, I am unable to shift the content to the left margin is equal to the starting line.  Inside PTC Arbortext Styler, setting indent has no effect or the undesired result.

I have attached a screenshot, you'll see "filling] of the act", that is the portion I want to show flush to "file" the previous line, in fact any long content should not be shifted to the left that way. 

 

Screenshot 2025-07-09 090756.pngScreenshot 2025-07-09 091001.pngScreenshot 2025-07-09 090944.pngScreenshot 2025-07-09 090935.png

 

Thanks.

4 REPLIES 4

I guess you are modifying the style for the <Text> element? A few questions:

  1. How is <Text> styled? As Paragraph, Block, Inline, something else?
  2. Do you have a specific style context for Text in Definition?
  3. Do you have other contexts or conditions for the styling of Text that may be overriding your settings here?
Partner
14-Alexandrite
(To:ClayHelberg)

1. Text is Inline, his parent is a Block (Definition element)

2.It follows multiple XPath test conditions. 

Screenshot 2025-07-29 110024.png3.I don't see any other properties overridden.

 

If your <Text> element is styled as inline, then you can't assign indents to it, because indenting an inline element doesn't really make sense (and Styler won't let you do it--the indent controls are grayed out for inline elements).

 

So are you assigning the indent values on the <Definition> element? If so, you would need to check to make sure that the rule you want for the <Definition> element is applying to this particular <Definition> element in your document, i.e. that any contexts or conditions are picking the right style definition with the desired indents.

 

You seem to have a custom doctype, but I did a quick test with a DITA reference topic, adding an <example> element (Block style) and a very long <ph> element (Inline style). Setting indents on the <example> element causes the expected indenting, complete with wrapping the inline element at the requested indent. So I think in your case, the <Definition> style is where you need to be troubleshooting your indent issue.

Hi @Partner,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Announcements

Top Tags