Skip to content

RGivisiez/Matplotlib-figsize-for-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Matplotlib figure size for latex

  • This module returns the correct figure size for a Latex document.
  • I used this site as a reference.

The first step is to get the width of the document. To do so, put the command below inside the document and compile it

  • If your latex document is a normal text: \showthe\textwidth
  • If your latex document has a column: \showthe\columnwidth

this should generate a .log file where you will find the width. It will be something like this:

> 455.0pt.

l.45 \showthe\textwidth

or

> 695.55pt

l.28 \showthe\columnwidth

The first number is used as a entry for the function. For example, if the width found is 455.0pt the entry in the python function will be 455.0.

My configurations:

Thesis: 455.0 pt == (6.32, 5.11)

Poster: 695.55 pt == (9.65, 7.81)

Slide:

About

Funções para dimensionar as figuras do matplotlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages