[Tex/LaTex] How to make an observation numbering in bold

boldcross-referencingformatting

I'm writing a paper in LIPIcs template.

\newtheorem{observation}[theorem]{\textbf{Observation}}

\newcommand{\robs}[1]{Observation~\ref{#1}}
\newcommand{\rfig}[1]{Fig.~\ref{#1}} 
\newcommand{\rlem}[1]{Lemma~\ref{#1}}
\newcommand{\rdef}[1]{Definition~\ref{#1}}
\newcommand{\rthm}[1]{Theorem~\ref{#1}}
\newcommand{\rpro}[1]{Proposition~\ref{#1}}
\newcommand{\rcor}[1]{Corollary~\ref{#1}} 
\newcommand{\rse}[1]{Section~\ref{#1}}

However the observation number is not in bold.
I want to make the observation number bold.

How can I do this?

Best Answer

You can use the definition style (available though amsthm internally loaded by the class) for your observation theorem-like structure:

\documentclass[a4paper,UKenglish]{lipics}

\theoremstyle{definition}
\newtheorem{observation}[theorem]{Observation}

\begin{document}

\begin{observation}
test
\end{observation}

\end{document}

enter image description here