I am using classicthesis with the MWE below. When I compile locally, section numbers are not showing, but are included in the Table of Contents. However, compiling with Overleaf does show the section numbers, both in the ToC and in the document. So I think this is an issue with the version/compiler I am using to compile locally (pdflatex on Ubuntu-16.04). How can I check which version of classicthesis is being called locally by pdflatex? And if it is out of date, how can I update it? \documentclass{scrbook} \usepackage[parts,pdfspacing]{classicthesis}  \begin{document}     \tableofcontents     \chapter{First chapter}     \section{First section}         Hello, world          \section{Second section}  \end{document}  Here is an image of how it looks when compiled locally:  Thanks.
20998
After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost.  What could it be missing? Is there a modification I have not seen?  Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15).  \documentclass{book} \usepackage[margin=2cm,a4paper]{geometry} %\usepackage{prevtitlesec}% 2011/12/15 version \usepackage{titlesec}% 2016/03/15 version \usepackage{lipsum}  \begin{document}  \chapter{Title of the first chapter} \lipsum[1] \section{A test section} \lipsum[4] \subsection{A test subsection} \lipsum[4] \subsection{A test subsection} \lipsum[4]  \end{document}   titlesec package 2011/12/15:    titlesec package 2016/03/15:
113305
I'm working on a pretty big document with a lot of \usepackage and custom commands. I'm using texlive 2018 on both my laptop with Linux Mint 17 and my desktop with Windows 10. After updating texlive on Linux, the file does not compile anymore, and I get many errors for most of the tables and a  tree in the document. I completely reinstalled it, but compilation still fails. The file still compiles on my Windows pc, whose texlive installation has been updated a few days ago.  Here is a not-quite-minimal example:  \documentclass{book}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage[dvipsnames,table]{xcolor}  \begin{document}  \frontmatter \tableofcontents  \mainmatter  \begin{table}[h]     \begin{tabular}{lp{8.8cm}}         x &amp; y \\         x &amp; y \\     \end{tabular} \end{table}  \backmatter \end{document}   And here is the error log:  Use of \@startpbox doesn't match its definition. \begin{tabular}{lp{8.8cm}} Extra }, or forgotten \endgroup. \begin{tabular}{lp{8.8cm}} Use of \@startpbox doesn't match its definition. \begin{tabular}{lp{8.8cm}} Extra }, or forgotten \endgroup. \begin{tabular}{lp{8.8cm}} Extra }, or forgotten \endgroup. \begin{tabular}{lp{8.8cm}} Extra }, or forgotten \endgroup. \begin{tabular}{lp{8.8cm}} Missing # inserted in alignment preamble. \begin{tabular}{lp{8.8cm}} Missing { inserted. x &amp; y Missing } inserted. x Missing } inserted. x Missing } inserted. x Missing { inserted. x &amp; y Missing } inserted. \end Missing } inserted. \end Missing } inserted. \end   I'm using this command to compile:  pdflatex -synctex=1 -interaction=nonstopmode %.tex  I noticed that by replacing the column specification with {ll} I don't get any error. Also, removing the xcolor package solves the problem, at least on this MWE, but it can be it's fault as it is still an old 2016 version. Does anyone know which package may cause this problem?    Finally, here's a truly minimal MWE:  \documentclass{book} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{p{1cm}}         x \end{tabular} \end{document}
71636
I have been looking for two hours for an explanation to the problem I am facing, and so far I found no hint.  In a document of the book class, I am trying to include partial TOC at the beginning of my chapters after some text introducing the chapter. I was using the minitoc package successfully for that purpose. However, I needed the [toctitles] option of package titlesec to fix problems due to wide titles in headers. As minitoc complained that the use of titlesec was not compatible, I tried to get titletoc to generate my partial TOCs.  Here is a test document demonstrating my problem:  \documentclass[12pt,a4paper]{book}  \usepackage[hidelinks]{hyperref} \usepackage{titletoc} \usepackage[toctitles]{titlesec}  \newcommand{\PartialToc}{\vspace*{2pc}\hrule\vspace*{1pc}% \startcontents[chapters]\vbox{\bf\Large Outline} \printcontents[chapters]{}{1}{}\vspace*{1pc}\hrule}  \begin{document}  \chapter{First Chapter}  Text Text Text Text Text Text Text Text Text Text Text Text Text  \PartialToc  \section{First Section} \section{Another Section} \subsection{One Subsection} \subsection{Two Subsection}  \chapter{Second Chapter}  Text Text Text Text Text Text Text Text Text Text Text Text Text  \PartialToc  \section{Last Section} \subsection{Three Subsection} \subsection{Four Subsection}  \end{document}   This results in the following partial TOC for chapter 1   Notice the lines "chapter.1" and "section.2.1 subsection.2.1.1 subsection.2.1.2" before and after the TOC. I think this text comes from the last argument of the \contentsline instructions in the .ptc file, but I have no idea why they show up ...  Anyone knows how to get rid of them ?
90082
I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one.  \titlecontents*{subsection}[5.4em] {\small} {\thecontentslabel~ } {} {} [.~\textbullet\ ] [.]   this part does the subsection as a paragraph (with section number and without page number). I have realized that the problem is the pseudo-code used by tocloft for the entries in the TOC  {\cftXfont {\cftXpresnum SNUM\cftXaftersnum\hfil} \cftXaftersnumb TITLE}% {\cftXleader}{\cftXpagefont PAGE}\cftXafterpnum\par   I mean, the last command \par make impossible to leave two subsection entries in the same textline. Any idea? Another interesting solution is with etoolbox, some examples with that package are awesome, but it's not on my hands.  This is a MWE:  \documentclass{book}  \usepackage{titletoc} \titlecontents*{subsection}[5.4em]{\small} {\thecontentslabel~ }{}{}[.~\textbullet\ ][.]  \begin{document}  \tableofcontents  \chapter{Test Chapter 1} \section{Test Section 1.1} \subsection{First Test Subsection} \subsection{Second Test Subsection} \subsection{Third Test Subsection} \subsection{Fourth Test Subsection} \section{Test Section 1.2} \subsection{First Test Subsection} \subsection{Second Test Subsection}  \chapter{Test Chapter 2} \section{Test Section 2.1} \subsection{First Test Subsection} \subsection{Second Test Subsection} \subsection{Third Test Subsection} \subsection{Fourth Test Subsection} \section{Test Section 2.2} \subsection{First Test Subsection} \subsection{Second Test Subsection}  \end{document}
62400
I am currently writing a manuscript using \documentclass{book}.  I would like to devote one of the chapters in the manuscript to a proof of an earlier result.  I have named the Chapter:  \chapter{Proof of Theorem \ref{Theorem1}}   and the actual chapter itself (including the chapter name in the table of contents and the chapter title) looks fine.  I have include an image below.    However, in the even numbered pages of the chapter at the top right-hand side of the page is an all-capitalized version of the chapter title, and the reference there does not seem to go through:     I have compiled the code multiple times, so I am sure it is not a compiling error.  Is there any way I can keep the Theorem reference in the title and have it properly show up at the top of the even pages of the chapter?
3619
I wonder is there any way to change the format of section numbering from 1.1 to 1.1. ? I know this is trivial, but I really need to add one more dot after the section number. Does anybody know how to do that?  Thanks a lot
61857
Basically, here's my MWE, and I need to include "Chapter" before every section title in the ToC (without changing anything else).      \documentclass[12pt]{article} \usepackage[utf8]{inputenc}  \usepackage[english]{babel} \usepackage[titles]{tocloft} \usepackage{titlesec} \usepackage{titletoc}  \addto\captionsenglish{ \renewcommand*\contentsname{\centerline{TABLE OF CONTENTS}}}  %\renewcommand{\thesection}{CHAPTER} %\renewcommand{\cftsecpresnum}{Chapter \thesection} \titleformat{\section}[display]% {\null\vskip1em\sffamily\bfseries\filcenter}{Chapter \thesection}{0em}{}[] \titlespacing*{\section}{0em}{1em}{1em}  \titlecontents{section} [1.5em] % ie, 1.5em (chapter) + 2.3em {} {\contentslabel{1em}} {\hspace*{-1.5em}} {\titlerule*[0.5pc]{.}\contentspage}  \begin{document} \newpage \tableofcontents \newpage  \section{Section One} \section{Section Two} Content \end{document}   The commented out code is what I've already tried. The first one just changes the number to "CHAPTER" and doesn't move the text in the ToC (so it just overlays on top of the name of the section), and if I include "\thesection" after "CHAPTER" it creates an infinite loop definition error. The second one causes no differences, and the code still compiles.  Thanks!
109197
When I compile a document from within TexStudio on my Linux Mint 17 the software reports:  Process started: pdflatex -synctex=1 -interaction=nonstopmode "community-detection".tex   and the log file starts with:  This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)   But when I run exactly the same command from the Terminal I get:  This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)   When I run Help &gt; Check LaTeX Installation I get:  which pdflatex: /usr/bin/pdflatex   but running which pdflatex from my Terminal results in:  pdflatex is /usr/local/texlive/2014/bin/x86_64-linux/pdflatex pdflatex is /usr/bin/pdflatex pdflatex is /usr/local/texlive/2014/bin/x86_64-linux/pdflatex pdflatex is /usr/local/texlive/2014/bin/x86_64-linux/pdflatex   So what is the /usr/bin/pdflatex file doing there and which package should I uninstall to get rid of it?
60668
When compiling a tex file including references (by Texstudio editor and Miktex distribution) using biblatex with bibtex backend and ieee style, the results of the displayed references in the output pdf is messed up at the "volume" and "issue number" entries as follows:   The volume label "vol." is missing (Ref. 1 &amp; 2 in the given example below). The numeric issue number "3" is missing (Ref. 1 in the given example). The issue number label "no." is displayed although NO input entry was being given (Ref. 2 in the given example).   If it helps, this behavior was noticed after the recent update of Miktex on March 11, 2017, including  package (ver. 1.2a 2017-03-02). As before which, everything was going fine!  So is this issue noticed by someone else? Is there any idea about the reason of such strange act by biblatex?  \documentclass{article} \usepackage{filecontents} \begin{filecontents}{reference.bib}     @article{author1,         author  = "George Green",         title   = "Basic latex",         year    = "2000",         journal = "Sharelatex Journal",         volume  = "10",         number  = "3",         pages   = "100--101"     }     @article{author2,         author  = "Carol White",         title   = "Basic studio",         year    = "2010",         journal = "Club Journal",         volume  = "20",         pages   = "200--201"     } \end{filecontents} \usepackage[backend=bibtex, style=ieee]{biblatex}  \addbibresource{reference.bib} \begin{document}     Hi there! \\     Ref 1 Green \cite{author1}. \\     Ref 2 White \cite{author2}.     \printbibliography  \end{document}   The output is as follows:
3042
It seems I have spent two days trying to find out the solution to my problem. I have just finished typing my M.Sc thesis using Latex (MIKTEX 2.9). Unfortunately, all my chapters begin with the chapter number at the top left corner of a page. My supervisor asked me to remove that numbering of the chapters without removing them from the table of contents.  I have tried my best to do that but I failed. The last attempt I made is \chapter*{chapter title}, the moment I compiled my work, I found out that it began sectioning from 0.1, 0.2, and so on, which I don't like.    I have this code inside my thesis:  \chapter* {\quad \quad \quad \quad \quad\quad \large{CHAPTER ONE}} \addcontentsline{toc}{chapter}{CHAPTER ONE}  %Introduction}{} \pagenumbering{arabic} \onehalfspacing \begin{center} \textbf{\large \quad INTRODUCTION} \end{center}  \section{Introduction} This chapter gives a brief highlight on the concept of the Newton and quasi-Newton methods for solving nonlinear system of equations. The chapter contains motivation of the study, the aim and objectives, scope and limitations, methodology of the research. It includes some basic fundamentals and definitions of some basic terms.     After compiling, it gives me this:  CHAPTER ONE  INTRODUCTION  0.1 Introduction This chapter gives a brief highlight on the concept of the Newton and quasi- Newton methods for solving nonlinear system of equations. The chapter contains motivation of the study, the aim and objectives, scope and limitations, methodol- ogy of the research. It includes some basic fundamentals and definitions of some basic terms.   NB: Please observe how the section "Introduction" is numbered. I want it to be numbered 1.1 not 0.1.
4040
This is a follow up question of .  The formatting problem has nothing to do with cleanthesis.sty.  The problem is that if I use the charter font, page numbers greater than 99 are not formatted correctly in the table of content.  \documentclass[draft=on]{scrbook} \usepackage{blindtext} \usepackage{charter}  \listfiles  \begin{document} \tableofcontents \section{Section 1} \blindtext[100] \section{Section 2} \blindtext[500] \section{Section 3} \end{document}
90389
I was using this:    To try and create numbered examples in my document.  However, when I load it and put the example exe in that link in one of the separate Tex files (Introduction.tex) I include in main.tex, I get:  ./Chapters/Introduction.tex:14: TeX capacity exceeded, sorry [parameter stack s ize=10000]. \gb@ifnextchar #1#2#3-&gt;                        \let \reserved@d =#1\def \reserved@a {#2}\def \reserv... l.14 ... and political news \cite{washington_post}                                                   .  More importantly, when ...   Which is not even referring to the exe example I inserted but a couple of blocks of tex above it.  For info, here is my full code before my document begins:  \documentclass{report} % [fontsize=11pt,border=5pt] % standalone for the tree \usepackage{forest} % This overrides warnings like http://tex.stackexchange.com/questions/52576/difference-between-bookmark-levels-greater-than-one-what-does-this-mean \usepackage{bookmark} \usepackage{amsmath} \usepackage{subcaption} \usepackage{standalone} \usepackage[round]{natbib} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} % This is for hyperlinks \usepackage{hyperref} \hypersetup{     colorlinks=true,     linkcolor=blue,     filecolor=magenta,           urlcolor=cyan, }  \urlstyle{same} % Not sure why I need to use this % \usepackage{graphicx} % \graphicspath{ {images/} } % \usepackage[pdftex]{graphicx} % fontsize=11pt,twoside]{scrartcl} % This is for numbered examples \usepackage{gb4e}   Would appreciate some help as I feel like my Latex is very messy here.
11633
The standard titlepage is quite simple. I am looking for a very  and need help customizing my title page.  It should match the  classicthesis doctoral thesis template  Below a minimal working example:   \documentclass[12pt,a4paper,footinclude=true,twoside,headinclude=true]{scrbook} \XeTeXinputencoding iso-8859-1 \usepackage[marginparsep=8pt,left=3.5cm,right=3.5cm,top=3cm,bottom=3cm]{geometry}  \usepackage[parts,pdfspacing,dottedtoc]{classicthesis}    \frontmatter  \begin{document}     \pagestyle{scrheadings}        %this is the place to set up my cover sheet.       %*******************************************************      % Abstract     %*******************************************************    %\renewcommand{\abstractname}{Abstract}    \pdfbookmark[1]{Résumé}{Résumé}   \begingroup    \let\clearpage\relax    \let\cleardoublepage\relax    \let\cleardoublepage\relax       \chapter{Résumé}     Résumé de la thèse en français\dots      \vfill      \chapter*{Summary}   Résumé de la thèse en anglais\dots    \endgroup             \vfill     \end{document}
63350
I need to submit the final version of my paper to a conference but they request a .zip file that including .ps and .dvi file of my .tex document. Since my whole project is on Overleaf, I want to know how can I accomplish it?   Here, what I have done so far:   First I learned that I have to change compiler from pdflatex to latex... Done! Then when I compile, it returned errors that request natural size of figures. And I used the answer given here:     Now it doesn't yell out me, compiles with no error, however still can't see the figures in the output. I don't even know if it is normal or not. Also, can't download a .div file, still gives .pdf file to me.  About .ps file, I haven't there yet, didn't try. But if you know what to do, please inform me. Thanks in advance.
15259
I'm using classicthesis and have a problem with the header of my bibliography: instead of small caps I receive normalfont letters. I don't know how to make a reproducible MWE, because when I load a bibliography with   \begin{thebibliography}{99} \bibitem{example} \bibitem{example} \bibitem{example} \end{thebibliography}   the problem doesn't occur. And in the classicthesis-package itself, the bibliography is too short to show the problem (header starts at the second page).  So here's what I'm doing:   \documentclass[ twoside,openright,titlepage,numbers=noenddot,headinclude,footinclude=true,              cleardoublepage=empty,             fontsize=11pt, ngerman,american]{scrbook} \input{classicthesis-config}  \bibliography{bibliography} % change to your own bibliography \renewcommand*{\bibname}{Bibliography} \setbibpreamble{}  \begin{document} \tableofcontents \pagestyle{scrheadings} \part{Introduction} \include{Chapters/test} % insert chapter with lots of citations  \manualmark \markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} % work-around to have small caps also \refstepcounter{dummy} \addtocontents{toc}{\protect\vspace{\beforebibskip}} % to have the bib a bit from the rest in the toc \addcontentsline{toc}{chapter}{\tocEntry{\bibname}} \printbibliography   \end{document}   I'm not sure if this is working... if not you might have an idea anyway what I can try
47568
In my LaTeX code I add the line   \tableofcontents   And begging of each chapter i have these lines.  \renewcommand{\vspace}[2]{}\chapter{ } {\huge\bf Introduction} \addcontentsline{toc}{chapter}{Introduction}   When i compile my code it shows  1                                                                                 5     Introduction                                                                  5         1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    5 2                                                                                 6     Computing                                                                     6         2.1 Computing type . . . . .... . . . . . . . . . . . . . . . . . . . . . 6   Like this,  But I want to get the "Chapter" name to in front of the number like this.  Chapter 1      Introduction          1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 Chapter 2      Computing          2.1 Computing type . .  . . . . . . . . . . . . . . . . . . . . 6   How can I do that?
83218
I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I have (like, color vertical box at right end of the page, for chapter name). How this problem can be solved ?  %=======================================  \documentclass[11pt, b5paper,twoside, svgnames]{thesis}  % "thesis" uses book class  \usepackage{pdfpages} \usepackage{hyperref}   %---------------------------------------------------------  \begin{document}  \chapter{RESULTS} \includepdf[scale=0.9, pages={-}]{results.pdf}   \end{document}    %====================================== % HEADER and FOOTER %---------------------------------------  \usepackage{fancyhdr}   \pagestyle{fancy} \fancyfoot{} \fancyhead{}  \fancyhf{} \renewcommand{\headrulewidth}{0pt} \fancyfoot[RO]{\thepage}{\slshape \rightmark} \fancyfoot[LE]{\thepage}{\slshape \leftmark}  %=======================================================