Tag Info

Hot answers tagged

4

Are you sure you want to do this? If you are planning to submit this to IEEE, you shouldn't be doing this. \documentclass[10pt, conference]{IEEEtran} \renewcommand{\abstractname}{\large ABSTRACT\\} \makeatletter \ifCLASSOPTIONconference% % IEEE wants section heading spacing to decrease for conference mode \def\section{\@startsection{section}{1}{\z@}{1.5ex ...


4

Commands such as \rotatebox are fragile, meaning that they are not safe for usage in moving arguments (sectional titles or captions). The simplest workaround is to use \protected\def'{% \IfItElse{\kern.12em}{\kern.0em}% \textsuperscript{\protect\raisebox{1.1ex}{\rotatebox{180}{c}}}% \IfItElse{\kern-.1em}{\kern-.05em}% {}% } so that TeX won't try ...


3

\documentclass[final]{book} \usepackage{lipsum} \begin{document} \chapter{Regular chapter} \lipsum[1-10] \chapter{Next regular chapter} \lipsum[5-10] \chapter{Another regular chapter} \lipsum[1-2] \csname @openrightfalse\endcsname \chapter{About author (it should start on first free page - which is even one, not odd one)} \lipsum[3-4] \end{document}


2

With babel there is no default definition for \subsubsectionname; you're probably referring to what \autoref does, which requires a different strategy. \documentclass{article} \usepackage[spanish]{babel} \usepackage{hyperref} \addto\extrasspanish{% \def\subsectionname{Secci\'on}% \def\subsectionautorefname{Secci\'on}% ...


2

textcase is your friend here. I would not hardcode the uppercasing in the titles itself for several reasons. The main reason is that uppercasing them makes it impossible to have no uppercased titles in the header - what you try to achieve. Unfortunately you can't use titlsec because you need to uppercase in the redefinition of the chapter-head (when you ...


1

\documentclass{book} \usepackage{remreset} \makeatletter \@removefromreset{section}{chapter} \makeatother \renewcommand{\thesection}{\arabic{section}} \begin{document} \tableofcontents \chapter{First} \section{First} \section{Second} \section{Third} \chapter{Second} \section{Fourth} \section{Fifth} \section{Sixth} \end{document}


1

If titlesec can't help you, you have to somehow reinvent the wheel: \documentclass[10pt,conference]{IEEEtran} \makeatletter \renewcommand\section{\@startsection{section}{1}{\z@} {1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip} {1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip} {\normalfont\large\bfseries}}% \makeatother ...


1

The chapter font is already \Huge in book class. Do you really want to change it? There are few ways. One is to use sectsty \documentclass{book} \usepackage{lipsum} \usepackage{sectsty} \chapterfont{\huge} \pagestyle{headings} \begin{document} \chapter{THIS CHAPTER TITLE IS TOO LONG} \lipsum \chapter{Some Chapter} \lipsum \end{document} Another ...


1

Or with the package titlesec. This allows to change the format in a way more flexible. \documentclass{book} \usepackage{titlesec} \titleformat{\chapter}[display]{\bfseries\huge}{\chaptertitlename\space\thechapter}{20pt}{\huge}{} \begin{document} \chapter{THIS CHAPTER TITLE IS TOO LONG} Text \chapter{THIS CHAPTER TITLE IS OTHER TOO LONG} Text\newpage Text ...



Only top voted, non community-wiki answers of a minimum length are eligible