Text Formattingtext is changing to bold inexplicably

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jorge
Posts: 3
Joined: Sat May 21, 2011 9:30 pm

text is changing to bold inexplicably

Post by jorge »

Hi everyone!

I'm having some bizarre problems with latex. I'm using MikTeX 2.9 to build a report document. My problem is that in some pages, all the text is changing to something similar to bold.

This is only happening at the pages with some graphics. Those graphics are throwing a Underfull \vbox warning. In the first place I thought that maybe there could be a relation with that, but I found out that some other pictures were throwing those warnings too and there was no problem with the text in those pages.

The most weird thing is that it seems to be random, but it happens most of the times. Sometimes I compile the document twice (one just after the other) with the same exact document and in the first try works wrong and in the second one everything is just as I expected.

BTW, I couldn't find a solution to those underfull warnings. What do they mean?


Thanks and regards,

Jorge

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

text is changing to bold inexplicably

Post by Stefan Kottwitz »

Hi Jorge,

welcome to the board!

Underfull \vbox warnings can appear if there's not enough text on the page, for example when big tables or pictures are used. More can be said if you show an example.

Regarding the bold text: it could be a problem of the PDF viewer. Try a different viewer or print it out, to see if it's just a viewer software problem.

Stefan
LaTeX.org admin
jorge
Posts: 3
Joined: Sat May 21, 2011 9:30 pm

Re: text is changing to bold inexplicably

Post by jorge »

Hi Stefan,

Thanks for the welcoming and the quick reply.

Some of the pictures I'm using are in png format, of 1280x760, and in the document I restrict its size to 5 inches or even less.

About the Viewer, I'm using Adobe PDF and I'll try to print to see what happens.

About the example, I'm not sure of what you need. I've tried to attach some source but I cannot upload the pictures because it is limited. Is there any other way I can send you the files?

As you shall know, when you don't want something to happen, it happens, and when you do, it won't happen. At this moment I cannot show you the problem with the font weight because last times I've compiled it haven't happen.

Thanks,

Jorge
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

text is changing to bold inexplicably

Post by Stefan Kottwitz »

Hi Jorge,

for testing, source code is relevant. Screenshots aren't necessary. If you mean original pictures, you can replace them by a \rule{width}{height} or use the demo option for graphicx:

Code: Select all

\usepackage[demo]{graphicx}
Then \inludegraphics[widht=...,height=...]{filename} would be replaced by a filled rectangle of these dimensions, so no original pictures are needed.

Stefan
LaTeX.org admin
jorge
Posts: 3
Joined: Sat May 21, 2011 9:30 pm

Re: text is changing to bold inexplicably

Post by jorge »

Hi Stefan,

Good news. I could reproduce the bold font thing and it was just what you've said. I did a first test with a pdf printer (printed the page to another pdf) and, the font was OK. So thanks.

About the underfull, yes, I was talking about the original images. I used demo option and had to establish height parameter for picture replacings to have the same size as original pictures (I was establishing only width parameter). I did it for some of them.

In the files I'm uploading I see four underfull:

one in chapter one, at the paragraph starting by "Dende entón apareceron multitude de"
two of them at the same line: the first picture of chapter 2 and the other

one in appendixb at the paragraph starting by "Como se pode ver na figura"

Im attaching two logs too (one of the entire document)


Thanks and regards,

Jorge
Attachments
proxecto.zip
(42.62 KiB) Downloaded 173 times
Post Reply