Category Archives: questions

minipage with defined height

Could I create a minipage with defined height? Yes, but it wouldn’t work the way I or you want.

For example here is a minipage with a defined height of 2cm:

\documentclass{article}
\usepackage[showboxes,overlay]{textpos} 
\begin{document}
\setlength{\parindent}{0cm} 


\TPshowboxestrue
\begin{textblock*}{\textwidth}(1cm,1cm)
   \begin{minipage}[t][2cm][t]{0.4\textwidth}
    The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. The height of this minipage is 2cm. 
   \end{minipage}
\end{textblock*} 
\end{document}

And here how it looks:
minipage-height

The framed box is only to show that there is a minipage with a height of 2cm, but this doesn’t count.

latex set font size points footnotesize normal=11

How to change font size of footnotesize to 11pt?

By using renewcommand the size of footnotesize could be changed. For example if normalsize is 12pt and you want 11pt for footnotesize just \renewcommand{\footnotesize}{\small}.

\documentclass[12pt]{article}

\begin{document}
\noindent
Just a dummy text\footnote{more senseless text in 10pt}.\\
\noindent
\renewcommand{\footnotesize}{\small} 
Just a dummy text\footnote{more senseless text now in 11pt}.

\end{document}

And how it look:
fg1
fg2

latex no new page in chapter

Or, how to stop the new page if a new chapter starts?

The real question is why there is allways a new page, if chapter is used?
If you take a look on book.cls you will find this:

\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}

to stop the new page clearpage and cleardoublepage must be deleted and chapter command has to re-newed in a way like this:

\makeatletter
\renewcommand\chapter{\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\makeatother 

latex new page command

How to make a new page in Latex?

The command \newpage will make new page but only there is somethink on the new i.e. even an empty space sign would be enough.

\documentclass{article}
\begin{document}

 How to make a new page in \LaTeX{}?

\newpage

command \newpage make a page break 

\newpage
\quad % without \quad no new page would be insert!!!
\newpage

but only there is somethink on this new page i.e. a quad or space
\end{document}

latex title without date

How to get a title wihtout date?

The problem is not so easy to solve because just leaving the \date command away is not a solution which works. If you want a title without date you have to use the \date command in a different way.

...
\title{Title}
\author{Author}
\date{}
\begin{document}
\maketitle
...
\end{document} 

Only if you use date like this: \date{} there would be no date. More about titlepage you will find here.

latex memoir 8pt

How to get 8 pt in memoir? In contrast to the default classes, memoir has 12 different sizes for normalsize. Five of them allow you to get a size of 8pt in your document. 9pt 10pt 11pt 12pt 14p

\documenclass[9pt]{memoir}
\begin{document}
\small
the text now is in 8pt 
\end{document}
\documenclass[10pt]{memoir}
\begin{document}
\footnotesize
the text now is in 8pt too
\end{document}
\documenclass[11pt]{memoir}
\begin{document}
\scriptsize
the text now is in 8pt too
\end{document}
\documenclass[12pt]{memoir}
\begin{document}
\tiny
the text is now also in 8pt
\end{document}
\documenclass[14pt]{memoir}
\begin{document}
\miniscule
the text is finally 8pt
\end{document}

latex book font size 14 pt

How to get font size 14 pt by using book as documentclass?

If you are using the default size i.e. 10 pt, the command \Large will change the size up to 14 pt.

\documentclass{book}
\begin{document}
\Large 
some text 
\end{document}

This also will work, if you set normalsize to 11 pt:

\documentclass[11pt]{book}
\begin{document}
\Large 
some text 
\end{document}

But if you set normalsize to 12 pt then use the command \large:

\documentclass[12pt]{book}
\begin{document}
\large 
some text 
\end{document}

what size is 20pt

Question: what size is 20 pt?
Answer: This depends on the default size you choose for normalsize and the document class you use.

E.g. article, report, book and letter

\LARGE and normalsize 12pt will be 20 pt

\huge and normalsize 11pt or 10 pt will be 20 pt

If you are are looking for more combinations of classes and commands which will lead to a size of 20 pt just take a look here.