The following works for your MWE with respect to the first problem:
\documentclass[openright,titlepage,numbers=enddot,headinclude=true,footinclude=true,fontsize=10pt,paper=b5]{scrbook}
\usepackage[parts,linedheaders,pdfspacing,dottedtoc,eulerchapternumbers,manychapters,listings]{classicthesis}
\usepackage[b5paper]{geometry}
\usepackage{lipsum}
\usepackage{tikz,everypage}
\usetikzlibrary{calc}
\newcounter{chapshift}
\addtocounter{chapshift}{-1}
\newcounter{chapNum}
\newcommand*\MyOddChapFrame{%
\begin{tikzpicture}[overlay,remember picture]
\node[fill=black!80,inner sep=0pt,rectangle,text width=1.3cm,
text height=1.4cm,align=center,anchor=north east]
at ($ (current page.north east) + (-0.0cm,-2*\thechapshift cm) $)
{{\parbox[c][1.0cm][t]{0.2cm}{%
\Huge\textcolor{white}{\scshape\thechapNum}}}};
\end{tikzpicture}%
}
\newcommand*\MyEvenChapFrame{%
\begin{tikzpicture}[overlay,remember picture]
\node[fill=black!80,inner sep=0pt,rectangle,text width=1.3cm,
text height=1.4cm,align=center,anchor=north west]
at ($ (current page.north west) + (+0.0cm,-2*\thechapshift cm) $)
{{\parbox[c][1.0cm][t]{0.2cm}{%
\Huge\textcolor{white}{\scshape\thechapNum}}}};
\end{tikzpicture}%
}
\makeatletter
\newcommand\ChapFrame{%
\let\MyOddFrame\MyOddChapFrame
\let\MyEvenFrame\MyEvenChapFrame
\AddEverypageHook{%
\ifthispageodd
{\MyOddFrame}
{\MyEvenFrame}
}%
\stepcounter{chapshift}
\stepcounter{chapNum}
}
\titleformat{\part}[display]{%
\normalfont\centering\large}{%
\thispagestyle{empty}\partname~\MakeTextUppercase{\thepart}}{1em}{%
\color{Maroon}\spacedallcaps}[\bigskip\normalfont\normalsize\color{Black}\begin{quote}\ct@parttext\end{quote}\global\let\MyOddFrame\relax\global\let\MyEvenFrame\relax]
\makeatother
\begin{document}
\part{Pluto}
\chapter{Topolino}
\ChapFrame
\lipsum
\chapter{Minnie}
\ChapFrame
\lipsum
\part{Pippo}
\chapter{Gambadilegno}
\ChapFrame
\lipsum
\end{document}
I have not investigated the second problem because I think it would be much better to rethink your approach. If you look at the output, you will see that complaints about over/under full boxes are only some of the warnings you get. In addition, you are getting lots of warnings from scrbook
because you are trampling heavily over its attempts to lay out your pages. I think you should decide whether you want to use scrbook
or a standard class with classicthesis
, geometry
etc. If you stick to scrbook
, use Koma Script's facilities to manage page layout, headings etc. If you want to use geometry
, titlesec
etc., use book
, for example, so that you don't have competing ways of doing things making for confusion. (Note that in that case, you need to use ifthen
and change the code back to the original for checking whether you are on an odd page.)
Here is a sample of the messages you should be looking at. typearea
is complaining that you've made the page bigger than the paper:
Package typearea Warning: page content and margins higher than paper.
(typearea) This may result in page footer out of paper.
(typearea) You should decrease DIV, decrease foot height,
(typearea) or decreate height of text area.
scrbook
is warning you about the use of titlesec
and explaining that using it will break stuff:
Class scrbook Warning: Usage of package `titlesec' together
(scrbook) with a KOMA-Script class is not recommended.
(scrbook) I'd suggest to use the package only
(scrbook) if you really need it, because it breaks several
(scrbook) KOMA-Script features, i.e., option `headings' and
(scrbook) the extended optional argument of the section
(scrbook) commands .
(scrbook) Nevertheless, using requested
(scrbook) package `titlesec' on input line 373.
scrbook
is also unhappy here:
Class scrbook Warning: \float@addtolists detected!
(scrbook) Implementation of \float@addtolist became
(scrbook) deprecated in KOMA-Script v3.01 2008/11/14 and
(scrbook) has been replaced by more several more flexible
(scrbook) features of package `tocbasic`.
(scrbook) Since Version 3.12 support for deprecated
(scrbook) \float@addtolist interface has been
(scrbook) restricted to only some of the KOMA-Script
(scrbook) features and been removed from others.
(scrbook) Loading of package `scrhack' may help to
(scrbook) avoid this warning, if you are using a
(scrbook) a package that still implements the
(scrbook) deprecated \float@addtolist interface .
If you prefer to stick with scrbook
, you can use xpatch
to patch the \part
command to control the display of the thumb tabs. I've also included a few examples of commands to configure the fonts etc. See the class documentation for the options you'd want to emulate the relevant aspects of classicthesis
:
\documentclass[openright,titlepage,numbers=enddot,fontsize=10pt,paper=b5]{scrbook}
\usepackage{lipsum}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz,everypage,xpatch}
\usetikzlibrary{calc}
\newcounter{chapshift}
\addtocounter{chapshift}{-1}
\newcounter{chapNum}
\newcommand*\MyOddChapFrame{%
\begin{tikzpicture}[overlay,remember picture]
\node[fill=black!80,inner sep=0pt,rectangle,text width=1.3cm,
text height=1.4cm,align=center,anchor=north east]
at ($ (current page.north east) + (-0.0cm,-2*\thechapshift cm) $)
{{\parbox[c][1.0cm][t]{0.2cm}{%
\Huge\textcolor{white}{\scshape\thechapNum}}}};
\end{tikzpicture}%
}
\newcommand*\MyEvenChapFrame{%
\begin{tikzpicture}[overlay,remember picture]
\node[fill=black!80,inner sep=0pt,rectangle,text width=1.3cm,
text height=1.4cm,align=center,anchor=north west]
at ($ (current page.north west) + (+0.0cm,-2*\thechapshift cm) $)
{{\parbox[c][1.0cm][t]{0.2cm}{%
\Huge\textcolor{white}{\scshape\thechapNum}}}};
\end{tikzpicture}%
}
\makeatletter
\newcommand\ChapFrame{%
\let\MyOddFrame\MyOddChapFrame
\let\MyEvenFrame\MyEvenChapFrame
\AddEverypageHook{%
\ifthispageodd
{\MyOddFrame}
{\MyEvenFrame}
}%
\stepcounter{chapshift}
\stepcounter{chapNum}
}
\xpatchcmd{\part}{\thispagestyle{\partpagestyle}}{\thispagestyle{\partpagestyle}\global\let\MyOddFrame\relax\global\let\MyEvenFrame\relax}{\typeout{Successfully patched part code.}}{\typeout{Oh, dear! Failed to patch part code.}}
\makeatother
\pagestyle{headings}
\renewcommand*\partpagestyle{empty}
\renewcommand*\chapterpagestyle{plain}
\setkomafont{part}{\normalfont\large\color{Maroon}}
\setkomafont{partnumber}{\normalfont\large}
\setkomafont{chapter}{\normalfont\normalsize\bfseries}
\begin{document}
\part{Pluto}
\chapter{Topolino}
\ChapFrame
\lipsum
\chapter{Minnie}
\ChapFrame
\lipsum
\part{Pippo}
\chapter{Gambadilegno}
\ChapFrame
\lipsum
\end{document}
\begin{tabular}{cc}
\includegraphics[trim=0cm 5.5cm 0cm 5.5cm, clip=true,width=0.5\textwidth,height=5cm]{Bla Bla.pdf} &
\includegraphics[trim=0cm 5.5cm 0cm 5.5cm, clip=true,width=0.5\textwidth,height=5cm]{Bla Bla.pdf}
\end{tabular}
Produces an overfull box as the content of each column is .5\textwidth wide and has \tabcolsep
padding either side so it 4\tabcolsep
too wide.
You don't need a tabular
you could use
\includegraphics[trim=0cm 5.5cm 0cm 5.5cm, clip=true,width=0.5\textwidth,height=5cm]{Bla Bla.pdf}%
\includegraphics[trim=0cm 5.5cm 0cm 5.5cm, clip=true,width=0.5\textwidth,height=5cm]{Bla Bla.pdf}
which will put the two images side by side with no space, or use some smaller width such as .4\textwidth depending on the intended effect.
Also never end a paragraph with \\
so
Three possible candidates:
\begin{enumerate}
not
Three possible candidates:\\
\begin{enumerate}
adding \listfiles
to the preamble the log shows
*File List*
beamer.cls 2015/01/05 3.36 A class for typesetting presentations (rcs-revi
sion 8a39122e1f63)
beamerbasercs.sty 2015/03/08 (rcs-revision 368aa9ba9d38)
beamerbasemodes.sty 2013/09/03 (rcs-revision 768f2d98ca64)
beamerbasedecode.sty 2010/05/01 (rcs-revision efa082c6111d)
ifpdf.sty 2016/05/14 v3.1 Provides the ifpdf switch
beamerbaseoptions.sty 2013/03/10 (rcs-revision 47431932db0d)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
geometry.sty 2010/09/12 v5.6 Page Geometry
ifvtex.sty 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
pgfcore.sty 2010/04/11 v3.0.1a (rcs-revision 1.7)
graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
pdftex.def 2016/07/10 v0.06j Graphics/color for pdfTeX
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
pgfsys.sty 2014/07/09 v3.0.1a (rcs-revision 1.48)
pgfrcs.sty 2015/08/07 v3.0.1a (rcs-revision 1.31)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pgfrcs.code.tex
pgfsys.code.tex
pgfsyssoftpath.code.tex 2013/09/09 (rcs-revision 1.9)
pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
pgfcore.code.tex
xxcolor.sty 2003/10/24 ver 0.1
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
hyperref.sty 2016/06/24 v6.83q Hypertext links for LaTeX
hobsub-hyperref.sty 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
hobsub-generic.sty 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
hobsub.sty 2016/05/16 v1.14 Construct package bundles (HO)
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
intcalc.sty 2016/05/16 v1.2 Expandable calculations with integers (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)
pdfescape.sty 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
bigintcalc.sty 2016/05/16 v1.4 Expandable calculations on big integers (HO)
bitset.sty 2016/05/16 v1.2 Handle bit-vector datatype (HO)
uniquecounter.sty 2016/05/16 v1.3 Provide unlimited unique counter (HO)
letltxmacro.sty 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
hopatch.sty 2016/05/16 v1.3 Wrapper for package hooks (HO)
xcolor-patch.sty 2016/05/16 xcolor patch
atveryend.sty 2016/05/16 v1.9 Hooks at the very end of document (HO)
refcount.sty 2016/05/16 v3.5 Data extraction from label references (HO)
hycolor.sty 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO)
pd1enc.def 2016/06/24 v6.83q Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc.
hpdftex.def 2016/06/24 v6.83q Hyperref driver for pdfTeX
rerunfilecheck.sty 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
beamerbaserequires.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbasecompatibility.sty 2012/05/01 (rcs-revision 67c48b3b652d)
beamerbasefont.sty 2015/01/05 (rcs-revision b4b4bee242e2)
amssymb.sty 2013/01/14 v3.01 AMS font symbols
amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
sansmathaccent.sty 2013/03/28
filehook.sty 2011/10/12 v0.5d Hooks for input files
beamerbasetranslator.sty 2010/06/11 (rcs-revision 85fd1cc7fc42)
translator.sty 2010/06/12 ver 1.10
translator-language-mappings.tex
beamerbasemisc.sty 2013/09/03 (rcs-revision a55719c41d85)
beamerbasetwoscreens.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseoverlay.sty 2013/12/25 (rcs-revision f6bd5e3805da)
beamerbasetitle.sty 2010/09/21 (rcs-revision f0446ed0b6ae)
beamerbasesection.sty 2013/06/07 (rcs-revision 60b9fe0f342f)
beamerbaseframe.sty 2014/02/20 (rcs-revision 4b8ceeeff434)
beamerbaseverbatim.sty 2015/01/05 (rcs-revision 431510bb5890)
beamerbaseframesize.sty 2011/09/12 (rcs-revision 70f9d8411e54)
beamerbaseframecomponents.sty 2013/10/18 (rcs-revision 5cf6c5555a45)
beamerbasecolor.sty 2015/02/21 (rcs-revision d944b04ee2d5)
beamerbasenotes.sty 2012/12/19 (rcs-revision 1686da3db3c9)
beamerbasetoc.sty 2015/03/08 (rcs-revision 7270298bbaae)
beamerbasetemplates.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseauxtemplates.sty 2014/06/30 (rcs-revision 580088513a67)
beamerbaseboxes.sty 2012/05/13 (rcs-revision 56972908a390)
beamerbaselocalstructure.sty 2014/09/10 (rcs-revision 393f6dcff371)
enumerate.sty 2015/07/23 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty 2015/02/27 (rcs-revision 923f4bf87efa)
beamerbasetheorems.sty 2010/06/06 (rcs-revision 7e7cc5e53e9d)
amsmath.sty 2016/06/28 v2.15d AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
amsthm.sty 2015/03/04 v2.20.2
beamerbasethemes.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerfontthemedefault.sty 2012/12/19 (rcs-revision 1686da3db3c9)
beamercolorthemedefault.sty 2012/12/19 (rcs-revision 1686da3db3c9)
beamerinnerthemedefault.sty 2014/06/30 (rcs-revision 580088513a67)
beamerouterthemedefault.sty 2012/12/19 (rcs-revision 1686da3db3c9)
beamerthemeBerlin.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerouterthememiniframes.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamercolorthemewhale.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamercolorthemeorchid.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerinnerthemerectangles.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
booktabs.sty 2016/04/27 v1.618033 publication quality tables
babel.sty 2016/04/23 3.9r The Babel package
english.ldf 2012/08/20 v3.3p English support from the babel system
tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151)
pgf.sty 2015/08/07 v3.0.1a (rcs-revision 1.15)
pgfcomp-version-0-65.sty 2007/07/03 v3.0.1a (rcs-revision 1.7)
pgfcomp-version-1-18.sty 2007/07/23 v3.0.1a (rcs-revision 1.1)
pgffor.sty 2013/12/13 v3.0.1a (rcs-revision 1.25)
pgfkeys.sty
pgfkeys.code.tex
pgfmath.sty
pgfmath.code.tex
pgffor.code.tex
tikz.code.tex
supp-pdf.mkii
epstopdf-base.sty 2016/05/15 v2.6 Base part for package epstopdf
grfext.sty 2016/05/16 v1.2 Manage graphics extensions (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
nameref.sty 2016/05/21 v2.44 Cross-referencing by name of section
gettitlestring.sty 2016/05/16 v1.5 Cleanup title references (HO)
test.out
test.out
translator-basic-dictionary-English.dict
translator-bibliography-dictionary-English.dict
translator-environment-dictionary-English.dict
translator-months-dictionary-English.dict
translator-numbers-dictionary-English.dict
translator-theorem-dictionary-English.dict
umsa.fd 2013/01/14 v3.01 AMS symbols A
umsb.fd 2013/01/14 v3.01 AMS symbols B
ot1mathkerncmss.fd 2013/03/27 Fontinst v1.933 font definitions for OT1/mathk
erncmss.
***********
Best Answer
The over/underfull box warnings are from TeX - not LaTeX. As
silence
's manual notes,You can tell they aren't LaTeX warnings because LaTeX tells you when it is the source of the warning.
[The effect of putting 10 paragraphs of Kant's first critique (in translation) into a float.]
In contrast, TeX warnings don't say this.