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

Coloured text backround - text centered verticaly

Explorer ,
Oct 03, 2023 Oct 03, 2023

Copy link to clipboard

Copied

Hello,

please how can I center text verticaly in Pgf. Box? I don´t like that the text is very close to the upper side.

Adam32628802cefq_0-1696348581626.png

@Barb Binder(https://www.youtube.com/watch?v=pWhHcvswB1I) I saw you have the coloured boxes in your Reference page. So is there possibility to put coloured box as a backround for the paragraph? I know how the put objects from Refence page above/below the paragraph in the Paragraph designer, but not as you have in the Caution paragraph....

Adam32628802cefq_1-1696348851195.png

 

Adam32628802cefq_2-1696349074459.png

Can you give me advice?

 

Thanks

 

Adam

 

Views

209

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

correct answers 1 Correct answer

Community Expert , Oct 03, 2023 Oct 03, 2023
  1. Go to Reference pages and create a new empty graphics frame. You will be prompted to name it and you name it Black
  2. Fill the empty graphics frame with black color using the graphics tools
  3. Go to Body pages
  4. Create a text frame
  5. Enter text in the text frame and use Paragraph Designer to make the text white
  6. In the Font tab of the Paragraph Designer assign a black background to the text
  7. In the Advanced tab of the Paragraph designer assign a black color to the Pgf Box (setting bottom corner right)
  8. In t
...

Votes

Translate

Translate
Community Expert ,
Oct 03, 2023 Oct 03, 2023

Copy link to clipboard

Copied

How is the "Pgf Box" implemented?

If done as a 1- or 2-cell borderless Table, the Table Cell Padding attributes can provide the spacing trivially.

As a Text Frame, you might need some empty spacing paragraphs.
There are other methods as well. Which to use might depend on the workflow target. To HTML or XML might rule out some approaches.

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
Community Expert ,
Oct 03, 2023 Oct 03, 2023

Copy link to clipboard

Copied

  1. Go to Reference pages and create a new empty graphics frame. You will be prompted to name it and you name it Black
  2. Fill the empty graphics frame with black color using the graphics tools
  3. Go to Body pages
  4. Create a text frame
  5. Enter text in the text frame and use Paragraph Designer to make the text white
  6. In the Font tab of the Paragraph Designer assign a black background to the text
  7. In the Advanced tab of the Paragraph designer assign a black color to the Pgf Box (setting bottom corner right)
  8. In the Advanced tab of the Paragraph designer assign a Frame above and below the text. Choose the graphics frame "Black" you created in #1.
  9. Alternatively you can create a single table cell in a text frame. Using the tables margins and padding settings you can customize sizes to your liking.

Bjørn Smalbro - FrameMaker.dk

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
Explorer ,
Oct 04, 2023 Oct 04, 2023

Copy link to clipboard

Copied

LATEST

Thank you.

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
Community Expert ,
Oct 03, 2023 Oct 03, 2023

Copy link to clipboard

Copied

Hi Adam:

 

Bjørn listed the 8 steps you need to accomplish the same look as seen in my video—and the missing piece is visible in your first screen shot.

 

That yellow CautionBlock frame on the Reference page is added above and below the Caution paragraph style in Paragraph Designer > Advanced > Frame Above Pgf and Frame Below Pgf to extend the shading above and below the caution paragraph. Once set up, you can format the paragraph by just assigning the style.

 

I'll mark his answer as correct but of course come back if you need additional clarification. 

 

~Barb

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
Explorer ,
Oct 03, 2023 Oct 03, 2023

Copy link to clipboard

Copied

Thank you very much Barb.

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