3

What is the best way to customize the font style (e.g., use sans serif or bold or a different font than the text) for the title of a block in tikzposter?

I can't find any option in the documentation, even with \defineblockstyle. Unless I can alter the font style for the blocktitle tikz node?

Here's a MWE

\documentclass{tikzposter}
\usepackage{lipsum}

\title{Title}
\author{Pinco Pallino}
\institute{Boh}

\begin{document}
\maketitle

\block{How to make this sans serif?}{
\lipsum
}
\end{document}
3

You can patch the block like this:

\documentclass{tikzposter}
\usepackage{lipsum}

\title{Title}
\author{Pinco Pallino}
\institute{Boh}

\usepackage{xpatch}
\xpatchcmd{\block}{\bf\LARGE\color{blocktitlefgcolor}}{\sffamily\bfseries\LARGE\color{blocktitlefgcolor}}{}{}


\begin{document}
\maketitle

\block{How to make this sans serif?}{
\lipsum
}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.