Re: Togliere “Capitolo N”

#87192
Up
0
Down
::

Spoiler

\documentclass[13pt,a4paper,openright,openany]{book}
\usepackage[table,usenames,dvipsnames]{xcolor}
\usepackage{float}
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage{fancyhdr}
\usepackage{indentfirst}
\usepackage{showkeys}
\usepackage{graphicx}
\usepackage{newlfont}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{amsthm}
\usepackage[backref]{hyperref}
\usepackage{floatflt}
\usepackage{multirow}
\hypersetup{pdfborder=0 0 0}
\usepackage{color}
\usepackage{amssymb}
\usepackage[bf, hang]{caption}
\usepackage[T1]{fontenc}
\usepackage{titlesec, blindtext, color}
\definecolor{gray75}{gray}{0.75}
\newcommand{\hsp}{\hspace{5pt}}
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter\hsp\textcolor{gray75}{|}\hsp}{0pt}{\Huge\bfseries}

\oddsidemargin=30pt \evensidemargin=20pt
\hyphenation{}
\theoremstyle{plain}
\newtheorem{teo}{Teorema}[section]
\newtheorem{prop}[teo]{Proposizione}
\newtheorem{cor}[teo]{Corollario}
\newtheorem{lem}[teo]{Lemma}
\theoremstyle{definition}
\newtheorem{defin}{Definizione}[chapter]
\newtheorem{ese}{Esempio}[chapter]
\theoremstyle{remark}
\newtheorem{oss}{Osservazione}

\pagestyle{fancy}\addtolength{\headwidth}{20pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}}
\rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}}
\cfoot{}

\linespread{1.3}

\newcommand{\df}{\displaystyle\frac}
\newcommand{\seq}[1]{\left<#1\right>}

\begin{document}
\chapter{Introduzione}
\blindtext
\blindtext
\blindtext
\blindtext
\end{document}

questa è una versione “accorciata”, ma dovrebbe esserci tutto l’indispensabile. Cioè, quello che ho tolto dall’originale è solo il testo e il relativo sezionamento.

Go to top