开发者

Why would LaTeX ignore the font size in the documentclass [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

I have a LaTeX file. I'm experimenting with trying to reduce the font size (this is related to my other question here LaTeX - Changing the font size for a document, but in the preamble, not the document class? ).

The LaTeX file is generated from another programme. I have edited it to start with

\documentclass[4pt,a4paper,english]{report}

i.e. I am trying to make the text really small. However it doesn't work. I change that 4pt to anything and the font size is the same.

When running pdflatex on it, I get this message printed out.

LaTeX Warning: Unused global option(s):
    [4pt].

That might explain why the error message is

What could be g开发者_运维知识库oing on here? How do I make it use the font size in the documentclass definition?


You can use only

10pt|11pt|12pt

in the default documentclass

I think you have to redefine the main text command to support smaller (unreadable) font sizes


There is no option 4pt defined for documentclass article, as it was already mentioned. So your 4pt is simply not recognized by LaTeX.

You can however use extsizes package, which allows some more size options: 8 through 12, 14, 17 and 20pt. However no support for 4pt. There exist other packages that allow for non-standard default sizes, listed at the same page.


Use \documentclass[10pt,a4paper,english]{article} and then specify \tiny after \begin{document}.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜