Text FormattingText not indenting

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
g4167
Posts: 2
Joined: Mon Nov 28, 2022 12:59 am

Text not indenting

Post by g4167 »

I've tried everything. Set the length of\parindent, package indentfirst, double space, double bar for line break. Nothing seems to indent the text. I highly doubt my preamble is the issue, but I'll leave it here, nonetheless.

Code: Select all

\ProvidesPackage{pre}
\usepackage{lmodern}  %fonte do livro
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}  %Language hyphenation and typographical rules  
%%%%%%%%%%%%%%%%%%%%%%%BIBLIOGRAFIA%%%%%%%%%%%%%%%%
\usepackage[bibstyle=abnt-numeric,noslsn,backend=biber]{biblatex}
\addbibresource{Referências.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath,amsfonts,amssymb,amsthm} %fontes matemáticas
\usepackage{multicol}
\usepackage{fancybox}   %criar caixas
\usepackage{lipsum} %gerador de texto fictício 
\usepackage{graphicx}  %Figures and Graphs
\usepackage{pdfpages}  %inserir paginas de pdf
\usepackage{float}  %definir objetos flutuantes como figuras e tabelas  
\usepackage{url}     %acesso a links

\usepackage{enumerate}   %cria listas numeradas (ordenadas)  
\usepackage[bf]{caption}     %legenda de figuras e tabelas
\usepackage[hyperfootnotes=false]{hyperref}  %criar referência cruzada

\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{pgfplots}
\usepgfplotslibrary{colormaps}
\pgfplotsset{compat = newest}
\usepgfplotslibrary{colorbrewer}
\usepackage{subcaption}
\usepackage{filecontents}
\usepackage{tkz-euclide}
\usepackage{xcolor}
\usetikzlibrary{patterns}
\pgfdeclarepatternformonly{mydots}{\pgfqpoint{-1pt}{-1pt}}{\pgfqpoint{1pt}{1pt}}{\pgfqpoint{2pt}{2pt}}% original definition: \pgfqpoint{3pt}{3pt}
{%
	\pgfpathcircle{\pgfqpoint{0pt}{0pt}}{.5pt}%
	\pgfusepath{fill}%
}%
\usepackage{cleveref}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%TEOREMAS ESPECÍFICOS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\theoremstyle{definition}
\newtheorem{teo}{Teorema}[section] % usar contador associado a chapter
\newtheorem{cor}{Corolário}[section] % usar mesmo contador do chapter
\newtheorem{lem}{Lema}[section] % usar mesmo contador do chapter
\newtheorem{prop}{Proposição}[section] % usar mesmo contador do chapter
\newtheorem{axi}{Axioma}[section] % usar mesmo contador do chapter
\newtheorem{ex}{Exemplo}[section] % usar mesmo contador do chapter
\newtheorem{df}{Definição}[section] % usar mesmo contador do chapter
\newtheorem{obs}{Observação}[section] % usar mesmo contador do chapter
\newtheorem{exc}{Exercício}[section]
\newtheorem*{AC}{Axioma da Escolha}
\newtheorem*{TD}{Teorema da Dimensão}
\newtheorem*{pc}{Princípio de Cavalieri}
\newtheorem*{paralelepípedo}{Volume do paralelepípedo reto-retangular}
\newtheorem*{prisma}{Volume do prisma}
\newtheorem*{pir}{Volume da pirâmide}
\newtheorem*{cone}{Volume do cone}
\newtheorem*{cil}{Volume do cilindro}
\newtheorem*{esf}{Volume da esfera}
\newtheorem*{cunha}{Volume da cunha}
\newtheorem*{calota}{Volume da calota}
\newtheorem*{zona}{Volume da zona}
\theoremstyle{remark}
\newtheorem*{dem}{Demonstração}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\newcommand%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\I}{\mathbb{I}}
\newcommand{\dlim}{\displaystyle\lim}
\newcommand{\dsum}{\displaystyle\sum}
\newcommand{\dsup}{\displaystyle\sup}
\newcommand{\dmax}{\displaystyle\max}
\newcommand{\dinf}{\displaystyle\inf}
\newcommand{\dprod}{\displaystyle\prod}
\newcommand{\dbigcup}{\displaystyle\bigcup}
\newcommand{\dbigcap}{\displaystyle\bigcap}
\renewcommand{\qedsymbol}{$\blacksquare$}
\renewenvironment{proof}{{\bfseries Demonstração.}}{\qed}

%%%%%%%%%%%%%%%%%%%%GEOMETRIA E MARGENS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{geometry}
\geometry{left=3cm,right=2cm,top=3cm,bottom=2cm,includefoot}
\usepackage{sectsty,fancyhdr}

%%%%%%%%%%%PROFUNDIDADE DA ORGANIZAÇÃO DO TEXTO%%%%%%%%%%%%%%%%%%%%%%%%%%
%o padrão é numerar (e mostrar no sumário) até subsection. Coloquei para numerar até subsubsection.
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\usepackage{indentfirst} %recuar um parágrafo inteiro
\usepackage{setspace} %Fornece suporte para definir o espaçamento entre linhas
Also, my text is arranged in a tree, it is a multifile project. That's most likely where the problem is, but again, I do not know where it could be.

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{pre}
\begin{document}
%\input{Pré textuais/Capa.tex}
%\input{Pré textuais/folha de rosto.tex}


\tableofcontents
\listoffigures
% CAPÍTULO UM
\chapter{O Princípio de Cavalieri como axioma}

\section{Volume de um paralelepípedo reto-retangular}

\input{Capítulo 1/Volume de Sólidos/Paralelepípedo.tex}\newpage

\section{O Princípio de Cavalieri e aplicações no cálculo de volumes}
\input{Capítulo 1/PC.tex}

\subsection{Prisma}

\input{Capítulo 1/Volume de Sólidos/Prisma.tex}

\subsection{Pirâmide}

\input{Capítulo 1/Volume de Sólidos/Pirâmide.tex}

\subsection{Cone}

\input{Capítulo 1/Volume de Sólidos/Cone.tex}

\subsection{Cilindro}

\input{Capítulo 1/Volume de Sólidos/Cilindro.tex}

\subsection{Esfera}

\input{Capítulo 1/Volume de Sólidos/Esfera.tex}

\subsubsection{Calota Esférica}

\input{Capítulo 1/Volume de Sólidos/Calota Esférica.tex}

\subsubsection{Zona esférica}

\input{Capítulo 1/Volume de Sólidos/Zona Esférica}

\section{Um pouco mais da contribuição de Cavalieri}

\input{Capítulo 1/Um pouco mais da contribuição de Cavalieri.tex}


\printbibliography


\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.

Post Reply