I'm writing my thesis in LaTeX using ShareLaTeX but my university gives very specific format rules. I improved my chapter page with Styling the \part page but I still have two problems:
- I need to have "1 Introduction" all in the same line. I deleted "Chapter" and tried by adding negative vertical space between them but when it's correct in one chapter, in the next one they are unaligned.
- The page number appears (only in the first page of each
\chapter) at the bottom and I have to show it (as I have in the rest of the document), in the top right part (as it is always an odd page).
I leave the code I'm using for the moment. Hope it's clear and thanks a lot.
\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[english,spanish]{babel}
\usepackage{titlesec}
\titleformat{\chapter}
[display]
{\normalfont\huge\bfseries}
{\thechapter}
{-45.7pt} %Here's where I modify the vertical space
{\hspace{20pt}\huge}
\titlespacing*{\chapter}{0pt}{0pt}{30pt}
\begin{document}
\chapter{Introduction}
Here it starts the text of my introduction.
\end{document}

titlepsis much simpler than withfancyhdr, as you do not have to use themarkssystem (but you can, if you want). – Bernard Jul 31 '17 at 13:02Besides, I would also like that in every page odd page, in the header, instead of appearing "Chapter 1. Introduction", I'd rather had "1 Introduction", without the word "Chapter" and the point. But this last one is not a big deal.
Do you know a way to solve these things? Mostly the first one, but if you know also the second, it would be great! Thanks again!
– Hitch Aug 04 '17 at 20:00titleps). But what would you like to have on even pages? – Bernard Aug 04 '17 at 20:52plainstyle. For the second part use the new style defined in my updated answer (which I callheadplain). Page numbering is automatically set by the\frontmatterand\mainmatterswitches. – Bernard Aug 06 '17 at 18:36