Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #795 #798

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Indent fix in documentation
Kunal Gehlot committed Aug 24, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7dbb59b0388b9bc56606aa6ab79cf6acddd4d26b
8 changes: 4 additions & 4 deletions docs/source/howto/coordinates.rst
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ For more information on the Layout analysis algorithm, please refer to the
def show_ltitem_hierarchy(o: Any, depth=0):
"""Show location and text of LTItem and all its descendants"""
if depth == 0:
print('element x1 y1 x2'
' y2 fontinfo text')
print('------------------------------ --- --- --- '
'--- -------------------- -----')
print('element x1 y1 x2'
' y2 fontinfo text')
print('------------------------------ --- --- --- '
'--- -------------------- -----')

print(
f'{get_indented_name(o, depth):<30.30s} '