Catalin
Catalin

Reputation: 1

Tab character in TCPDF

How do I enter TAB character befoare a paragraph. If I enter some spaces instead of TAB when I use the cell function to print some text that has two or three paragraphs justified the width of spaces before paragraphs is not the same for each paragraph and I need it to be.

Upvotes: 0

Views: 5047

Answers (2)

j_allen_morris
j_allen_morris

Reputation: 599

I set the units of my pages to millimeters so I use css style and add "text-indent: 12.7mm;" That gets the first line to be indented the correct distance of 0.5".

Upvotes: 1

Soren Beck Jensen
Soren Beck Jensen

Reputation: 335

You write \t.

It must be inside double quotes like this: "Some text \t some other text"

Upvotes: 0

Related Questions