5

I was wondering if it is possible to create a chalkboard background in LaTeX, like in this picture (minus Bart of course). Then write in the chalkboard using white fill (chalk)?

Is it possible to do this in a non beamer type document class, i.e. not as frames?

chalkboard example

11

One option could be to desig a chalkboard with tcolorbox help.

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage{emerald}
\usepackage{tikz}
\usepackage{lipsum}
\usepackage{simpsons}
\usepackage[most]{tcolorbox}

\newtcolorbox{chalk}[1][]{
enhanced,
colback={green!40!black},
colupper=white,
fontupper=\ECFAugie\large,
notitle,
sharp corners,
colframe=brown!70!black,
height=.75\linewidth,
boxrule=2mm,
drop fuzzy shadow,
underlay={\tcbvignette{size=2mm, 
    inside node=frame, raised color=brown!70!black}},
#1
}

\begin{document}

\begin{chalk}
\lipsum[2]
\end{chalk}

\begin{chalk}[interior style image=blackboard.jpg]
\lipsum[2]

\hfill\Left\Bart
\end{chalk}

\end{document} 

enter image description here

The handwritten font was taken from samcarter's answer to I need a beamer theme simulating blackboard presentation

And the background image on second example is an edited version of this blackboard

  • Awesome. This is exactly what I was after. Thanks heaps @Ignasi. I also appreciate the Bart touch. – Mischief_Monkey Mar 1 '17 at 0:45

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.