Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
tuhh_latex_presentation tuhh_latex_presentation
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Institute of Communication Networks
  • tuhh_latex_presentationtuhh_latex_presentation
  • Issues
  • #25

Closed
Open
Created Mar 16, 2022 by Fabian Nuraddin Alexander Gabel@cfg0846Developer

typesetting blocks and theorems

adapts stylefiles based on the snippets in

Add this to the beamerthemetuhh.sty file:

\makeatletter
\setbeamertemplate{theorem begin}
{%
\begin{\inserttheoremblockenv}
{%
\inserttheoremheadfont
\ifx\inserttheoremaddition\@empty\else\ \inserttheoremaddition\fi%
}%
}
\setbeamertemplate{theorem end}{\end{\inserttheoremblockenv}}
\makeatother

Add this to the beamercolorthemetuhh.sty file:

\setbeamercolor{block title}{use=structure,fg=white,bg=tuhhTeal}
\setbeamercolor{block body}{parent=normal text,use=block title,bg=white}

Add this to the beamerfontthemetuhh.sty file:

\setbeamerfont{block body}{size=\fontsize{20pt}{7.5mm}, series=\fontfamily{poppins}}

Use in your document as:

\begin{theorem}[Cooperative Data Exchange (CDE)]
    A CDE Problem consists of a set of nodes and a set of information chunks.\\
    At the start of a CDE process each node only holds a subset of information chunks.\\
    At the end of a CDE process each node should hold \textbf{all} information chunks.
\end{theorem}
Edited Mar 16, 2022 by Fabian Nuraddin Alexander Gabel
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking