Generalpage in blank?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
maquina
Posts: 3
Joined: Wed Mar 12, 2008 6:02 am

page in blank?

Post by maquina »

\documentclass[12pt,a4paper]{article}
%\usepackage{graphicx}

\title {Buffon's Needle}

\author {name \\institute \\city}

\begin{document}

\begin{center}
\maketitle
\end{center}

\pagebreak

\section{Introduction}

$\frac {2}{3}$

\end{document}
i am new to latex (First day :P)
didn't get why starts with a page in blank and them do what was supposed to do
can anyone help me? tks

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

page in blank?

Post by gmedina »

The problem was the center environment. You don't really need this environment, since the default format for the titlepage is centered. You can use the class option titlepage if you want this information to appear on a page of its own.

A modified version of your code:

Code: Select all

\documentclass[12pt,titlepage,a4paper]{article}
\usepackage{graphicx}

\title{Buffon's Needle}
\author{name \\institute \\city} 

\begin{document}

\maketitle

\section{Introduction}

$\frac{2}{3}$

\end{document}
The lshort and l2tabu documents can be useful.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
maquina
Posts: 3
Joined: Wed Mar 12, 2008 6:02 am

Re: page in blank?

Post by maquina »

interesting.. the l2 tabu i didn't have
and thanks
maquina
Posts: 3
Joined: Wed Mar 12, 2008 6:02 am

Re: page in blank?

Post by maquina »

how to puter Nº in latex?
N^\b o the thing after it goes strange
putting {}
putting $$ gives a error can't put b
any idea?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

page in blank?

Post by Stefan Kottwitz »

Hi maquina,

try

Code: Select all

\usepackage{textcomp}
...
N\textordmasculine
Stefan
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: page in blank?

Post by balf »

The frenchb option of babel defines \no and \No. You might use babel with this option even if you don't write in french and temporarily change the language via a macro. Or adapt the code from frenchpro with something like (maybe adding some kerning):
\newcommand{\No}{\ensuremath{\mathrm N^{\mathrm o}}}.

B.A.
Post Reply