Page Layout\newpage problem

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
klone
Posts: 2
Joined: Sat Mar 28, 2015 6:42 am

\newpage problem

Post by klone »

Hello,
I have started to use MacTex with TexShop on MacOS few days ago. I have a problem with the \newpage command. If this I use this one in the same time that the \usepackage[T1]{fontenc}, I have strange caractère appearing : "ï£ij". I looked for solution on different forum, I do not read anything about it. A do a small script just to test this :

Code: Select all

\documentclass[a4paper, 12pt]{article}
\usepackage[french]{babel}
\usepackage{engrec}
\usepackage{graphicx}
\usepackage[T1]{fontenc}

\begin{document}
\title{test}
\author{Klone}
\date{\today}
\maketitle

\section{first section}
\subsubsection{dark vador is a geek}
\newpage

\subsection{Use the force :)}
\end{document}

Recommended reading 2024:

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

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

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

\newpage problem

Post by Johannes_B »

Your minimal working example unfortunately doesn't show the behaviour you are describing.

Looking at what you say you see, this is an inputencoding thing. I am pretty sure texshop uses utf8, so you need to add to your preamble
\usepackage[utf8]{inputenc}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply