Search found 4 matches

by rafaelgoes
Sun Jul 21, 2013 11:24 pm
Forum: Text Formatting
Topic: Avoid figure or page break in a multiple line section title
Replies: 4
Views: 5267

Re: Avoid figure or page break in a multiple line section ti

It worked!
Totally solved the problem!
Thanks a lot!
by rafaelgoes
Sun Jul 21, 2013 6:51 pm
Forum: Text Formatting
Topic: Avoid figure or page break in a multiple line section title
Replies: 4
Views: 5267

Avoid figure or page break in a multiple line section title

Follow below the MWE:

\documentclass{book}%
\usepackage{graphicx}
\usepackage{titlesec}

\newcommand{\autolabel}[1]{\label{sec:#1}#1}
\titleformat{name=\chapter}
[display]
{\LARGE\bfseries}
{\thechapter}
{0pt}
{\autolabel}

\titleformat{name=\section}% Rafael Goes 25/04/2013
[display ...
by rafaelgoes
Sat Jul 20, 2013 1:56 am
Forum: Text Formatting
Topic: Avoid figure or page break in a multiple line section title
Replies: 4
Views: 5267

Avoid figure or page break in a multiple line section title

Hi there!

The formating rules for thesis in my university demmands that titles (chapters, sections, subsections...) are like:

<number>
<Section title>

-------------------------------------------------------------------
Example:

1.
First Chapter

text text text text text text text text text text ...
by rafaelgoes
Fri Mar 23, 2012 8:05 pm
Forum: MiKTeX and proTeXt
Topic: Driver Option Error
Replies: 1
Views: 10775

Driver Option Error

I am completely new to LaTeX. I'm using TeXnicCenter and MikTeX 2.9 and I'm trying to compile a document to pdf and I get the following error message:
! Package hyperref Error: Wrong DVI mode driver option `dvipdfm',
because pdfTeX or LuaTeX is running in pdf mode (hyperref)
If I change the ...