jsvine / pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
MIT License
6.31k stars 647 forks source link

How to get information of superscript and subscript text in the pdf #731

Closed sarveshkrg closed 1 year ago

sarveshkrg commented 1 year ago

Hi, anyone please help to get superscript subscript text identification from normal text in the pdf so that I can save the chemical formula and other constant values present in the pdf as it is into the excel. Thanks in advance. Input image Output image

jsvine commented 1 year ago

Closing as duplicate of #730