I would to get the chapter number tall n-times the chapter name in order to have a better proportion between the two elements. Why I get errors and how can I fix that behaviour?
I thought something like this to include it:
\setbox4\hbox{\resizebox*{!}{\myheight}{\hspace{10pt}}}
\edef\hchapterspace{\the\wd4}
And use \hchapterspace
but I get: Package graphics Error: Division by 0 }
So the simplest way is:
...\hspace{10pt}\vline\hspace{10pt}}\ }{0pt}
but is the same thing to use {10pt} as \titleformat argument?
\documentclass[headinclude,footinclude]{scrbook}
\usepackage[eulerchapternumbers,pdfspacing]{classicthesis}
\usepackage{arsclassica}
\usepackage{lipsum}
\setbox10\hbox{\normalfont\Large\sffamily\spacedallcaps{\chaptername}}
\setbox20\hbox{\resizebox*{!}{\dimexpr\ht10*3\relax}{\chapterNumber\thechapter}}
\titleformat{\chapter}[block]%
{\normalfont\Large\sffamily}%
{{\color{halfgray}\box20%
\hspace{10pt}\vline} }{10pt}%
{\spacedallcaps}
\begin{document}
\chapter{graphic test}
\lipsum[1-3]
\end{document}
