SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
Collector
Topic Author
Posts: 3328
Joined: August 21st, 2001, 12:37 pm

Figures latest LaTeX, TexShop so small

October 25th, 2017, 1:20 pm

I upgraded my LaTeX and TeXShop, now using 2017 version. (Mac of course, not using my Ugly PC for artistic work)

embedded figures in older documents now suddenly became super small. I had to zoome them out?

Is latest version using higher resolution or so as default?
 
User avatar
Paul
Posts: 8071
Joined: July 20th, 2001, 3:28 pm

Re: Figures latest LaTeX, TexShop so small

October 25th, 2017, 1:44 pm

Pretty much every time I upgrade LaTeX or change to a slightly different brand I have to redo figure size and placement, or even change to/from eps,jpg,...
 
User avatar
Collector
Topic Author
Posts: 3328
Joined: August 21st, 2001, 12:37 pm

Re: Figures latest LaTeX, TexShop so small

October 30th, 2017, 12:36 pm

Thanx!
 
User avatar
ppauper
Posts: 65550
Joined: November 15th, 2001, 1:29 pm

Re: Figures latest LaTeX, TexShop so small

January 17th, 2018, 7:54 am

Paul wrote:
Pretty much every time I upgrade LaTeX or change to a slightly different brand I have to redo figure size and placement, or even change to/from eps,jpg,...

I'm using latex at an online site and just had to change the name of every plot file from .ps to .eps (so plot1.ps had to be renamed plot1.eps)
No changes to the actual content of the files, just the names had to be changed
 
User avatar
Collector
Topic Author
Posts: 3328
Joined: August 21st, 2001, 12:37 pm

Re: Figures latest LaTeX, TexShop so small

January 30th, 2018, 12:31 am

ppauper wrote:
Paul wrote:
Pretty much every time I upgrade LaTeX or change to a slightly different brand I have to redo figure size and placement, or even change to/from eps,jpg,...

I'm using latex at an online site and just had to change the name of every plot file from .ps to .eps (so plot1.ps had to be renamed plot1.eps)
No changes to the actual content of the files, just the names had to be changed

this to keep the old visual size or to even see the figures?
 
User avatar
ppauper
Posts: 65550
Joined: November 15th, 2001, 1:29 pm

Re: Figures latest LaTeX, TexShop so small

January 30th, 2018, 3:03 pm

Collector wrote:
ppauper wrote:
Paul wrote:
Pretty much every time I upgrade LaTeX or change to a slightly different brand I have to redo figure size and placement, or even change to/from eps,jpg,...

I'm using latex at an online site and just had to change the name of every plot file from .ps to .eps (so plot1.ps had to be renamed plot1.eps)
No changes to the actual content of the files, just the names had to be changed

this to keep the old visual size or to even see the figures?

just to see them. Then I get to spend hours playing with vskip, hskip, and epsfxsize to get things right.
I used to have to say \epsfbox{figure.ps}, now it's just \epsfbox{figure}, but the file has to be figure.eps

\ begin{figure} [thb]
\ vskip -1.7cm \ hskip 3.cm\ epsfxsize=5cm \ epsfbox{figure}}
\ vskip  .1cm
\ caption{My figure.}
\ label{fig1}
\ end{figure}
 
User avatar
Paul
Posts: 8071
Joined: July 20th, 2001, 3:28 pm

Re: Figures latest LaTeX, TexShop so small

January 30th, 2018, 5:24 pm

That's pretty much what I have to do. 

1. Get it to see the image
2. Place in the right position with respect to text [NB this is often ignored]
3. Get the image the right size
4. Mess around to move left or right a bit
5. Add subtract vertical distance above the image
6. Add subtract vertical space below
7. Hope that the image doesn't just 'disappear' into another dimension

Every time it is different!
 
User avatar
Collector
Topic Author
Posts: 3328
Joined: August 21st, 2001, 12:37 pm

Re: Figures latest LaTeX, TexShop so small

January 31st, 2018, 9:43 pm

Paul wrote:
That's pretty much what I have to do. 

1. Get it to see the image
2. Place in the right position with respect to text [NB this is often ignored]
3. Get the image the right size
4. Mess around to move left or right a bit
5. Add subtract vertical distance above the image
6. Add subtract vertical space below
7. Hope that the image doesn't just 'disappear' into another dimension

Every time it is different!

much the same experience. here is what I normally use

\ begin{figure}
\ vspace{-1em}
\ begin{center}
\ centerline{\includegraphics[scale=.16]{kubermotes.jpg}}
\ caption{Nice Drawing.}
\ end{center}
\ vspace{-1.5em}
\ end{figure}

so use the vspace functions to add white space above and below, and scale function to change scale, and new version I had to scale up all my old figures.

my graphics expert recommended converting all figures to jpg, she said jpg better when working with printing press (I think jpg had bad reputation for max print quality, that was the old jpg format or something I understood, recommended not using eps,ps, pdf or such). I use photoshop to convert all to jpg and to get the optimal light setting (to turn off readers I dont want, so I only got about 24). 
 
User avatar
ppauper
Posts: 65550
Joined: November 15th, 2001, 1:29 pm

Re: Figures latest LaTeX, TexShop so small

February 1st, 2018, 7:47 am

I can imagine this would be a major pain if you're bringing out a  new edition of a book and have to go through and change hundreds of figures
 
User avatar
Cuchulainn
Posts: 54171
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Figures latest LaTeX, TexShop so small

February 1st, 2018, 9:21 am

BTW, speaking of .ps files, you cannot add them as attachment on the forum as mentioned on the "Quad precision" thread.
http://www.datasimfinancial.com

What is 2^77232917 -1?
 
User avatar
ppauper
Posts: 65550
Joined: November 15th, 2001, 1:29 pm

Re: Figures latest LaTeX, TexShop so small

February 1st, 2018, 10:22 am

Cuchulainn wrote:
BTW, speaking of .ps files, you cannot add them as attachment on the forum as mentioned on the "Quad precision" thread.

I like .ps files because they're easy to edit
I tend to create graphics using an old version of gnuplot, and if you crack open the resulting .ps file it's fairly easy to figure out what all the things mean and to move labels around and so on.
I don't know how to do that with jpg or pdf files.
 
User avatar
pimpel
Posts: 363
Joined: May 12th, 2006, 5:26 pm

Re: Figures latest LaTeX, TexShop so small

February 12th, 2018, 9:34 pm

Correct me if I am wrong, but I always thought ps (or eps) is a vector graphic, while jpg is just a compressed bitmap. Then if jpg is not produced in very high resolution, it will not be possible to have clear picture in the final text if resized, whlie eps or pdf should perfectly resize without any loss in quality.
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...