• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

EDD: Assign a Format Depending on the Previous Element, if Nested

Explorer ,
Nov 22, 2018 Nov 22, 2018

Copy link to clipboard

Copied

Hi folks,

I'm using structured FM13 and face spacing issues after table elements.

The spacing between the table and the next element is specified with the Table Designer (Basic>Indents & Spacing > Below). This works fine for all my elements but the note element. To obtain similar spacing as with the other elements, the spacing below for the table must be changed from 8pt to 18pt. I tried to work around with the EDD. Here is the structure:

    |-table

    |-note

    |    |-notesymbol

    |    |-p

In the EDD the rules for note element would be:

Format rules for first paragraph in element

    If context is: after table

        Basic properties > Paragraph spacing > Space above: 20pt

    Else

        Basic properties > Paragraph spacing > Space above: 12pt

This rule works but another possible structure torments me... the rule does not apply when the table is inside other elements, for instance:

    |-ul

    |    |-li

    |        |-table

    |-note

    |    |-notesymbol

    |    |-p

How would a fitting rule for this constellation look like? Is it even doable?

PS: the spacing specified in the paragraph format of the note element has no influence, this is why I change the spacing for notesymbol.

Kind Regards,

Fabian

TOPICS
Structured

Views

287

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Nov 23, 2018 Nov 23, 2018

Copy link to clipboard

Copied

LATEST

Fabian,

    An EDD context specification cannot test whether the last visible content preceding an element was a table. However, you may be able to get the result you want by setting the space below the table in the table format. This setting is called the bottom margin as of FM 2017.

--Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines