Text FormattingSub-Paragraph Heading not as expected

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
wololoo
Posts: 2
Joined: Mon Sep 24, 2012 10:16 am

Sub-Paragraph Heading not as expected

Post by wololoo »

Hi,

I'm using the command \subparagraph because I like it's formatting, but for some reason the first letter of every sub-paragraph is spaced from the others of the word. You can see an example in the image below:
sub-paragraph.png
sub-paragraph.png (142.35 KiB) Viewed 3033 times
My file header is

Code: Select all

\documentclass[a4paper]{book}
\usepackage[utf8x]{inputenc}
\usepackage[italian]{babel}
\usepackage{color}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage[a4paper]{geometry}
\usepackage[absolute]{textpos}
\parskip 7.2pt
\parindent 8pt
\hypersetup{
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in Acrobat's bookmarks
    pdftoolbar=true,        % show Acrobat's toolbar?
    pdfmenubar=true,        % show Acrobat's menu?
    pdffitwindow=false,     % window fit to page when opened
    pdfstartview={FitH},    % fits the width of the page to the window
    pdftitle={Euristiche per problemi di sequenziamento basate su PQRTree},    % title
    pdfauthor={Orlandin Marco},     % author
    pdfsubject={Tesi di laurea magistrale per l'anno accademico 2011/2012},   % subject of the document
    %pdfcreator={Creator},   % creator of the document
    %pdfproducer={Producer}, % producer of the document
    pdfkeywords={PQRTree Heuristic TOS MOS MOSP C1P PQTree C++}, % list of keywords
    pdfnewwindow=true,      % links in new window
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=blue,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=cyan           % color of external links
}
I use MiKTeX with PDFLaTeX as the compiler engine. I don't understand why there is that space. Have you any idea?
Last edited by localghost on Mon Sep 24, 2012 10:47 am, edited 1 time in total.

Recommended reading 2024:

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

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Sub-Paragraph Heading not as expected

Post by cgnieder »

Hi and welcome to the LaTeX community!

Would you please add a full Infominimal working example (if you don't know what that is please follow the link). Without it I am unable to reproduce the erroneous behavior even if I use the whole preamble you provided. This means nothing in it causes the problem.

A starting example (which works nice, though):

Code: Select all

\documentclass[a4paper]{book}
\usepackage[utf8x]{inputenc}
\usepackage[italian]{babel}

\begin{document}
\subparagraph{Hallo} World
\end{document}
Regards
site moderator & package author
wololoo
Posts: 2
Joined: Mon Sep 24, 2012 10:16 am

Sub-Paragraph Heading not as expected

Post by wololoo »

ok, solved. It was my fault since i need to use \subparagraph{Title}Text instead of \subparagraph Text.

Anyway now i have a new problem, sometime latex put a blank page without reason before some chapter (not everychapter). I haven't clearpage or anything so i don't understand why i have this blank pages.
Last edited by cgnieder on Tue Sep 25, 2012 4:42 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Sub-Paragraph Heading not as expected

Post by cgnieder »

\chapter calls \cleardoublepage internally.

Regards
site moderator & package author
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Sub-Paragraph Heading not as expected

Post by localghost »

Perhaps some basic reading might help here.


Thorsten
Post Reply