From a0bb46897c5de8f31ed59f8d152ccfc5cc97bb35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Sep 2022 20:03:12 +0000 Subject: beamertheme-tcolorbox (14sep22) git-svn-id: svn://tug.org/texlive/trunk@64387 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/beamertheme-tcolorbox/README.md | 2 +- .../beamertheme-tcolorbox-doc.pdf | Bin 181132 -> 177229 bytes .../beamertheme-tcolorbox-doc.tex | 48 +++++++++------------ 3 files changed, 21 insertions(+), 29 deletions(-) (limited to 'Master/texmf-dist/doc/latex/beamertheme-tcolorbox') diff --git a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/README.md b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/README.md index 17b1e7e79bf..f950f9b51b9 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/README.md +++ b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/README.md @@ -2,7 +2,7 @@ A beamer inner theme which reproduces standard beamer blocks using tcolorboxes -Current version: 2022/09/06 version v0.4 +Current version: 2022/09/14 version v0.5 This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt diff --git a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf index 07d7d84c78a..6c7f2c6a11c 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf and b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex index 234082375dd..1adec46b48c 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex +++ b/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex @@ -68,6 +68,15 @@ \lstset{style=tcolorboxstyle} +%\makeatletter +\newcommand{\prefix}{./build} +\tcbset{ + compilable listing/.style={listing file={\prefix/\jobname-listing-\thetcblistingcount.tex}}, + run pdflatex/.style={run@system@command={cd\space \prefix;\space pdflatex}{\jobname-listing-\thetcblistingcount.tex}},% +} +%\makeatother + + % meta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{The tcolorbox beamer inner theme} \subtitle{A beamer inner theme to reproduce standard beamer blocks using tcolorboxes} @@ -77,7 +86,7 @@ \url{https://github.com/samcarter/beamertheme-tcolorbox}\\ \url{https://www.ctan.org/pkg/beamertheme-tcolorbox} }{samcarter}} -\date{Version v0.4 \textendash{} 2022/09/06} +\date{Version v0.5 \textendash{} 2022/09/14} \begin{document} \maketitle @@ -89,9 +98,7 @@ Over the last decade of answering beamer problems and more recently also being o For all these cases, there is now an alternative to the default beamer blocks: The tcolorbox inner beamer theme will replace the usual beamer mechanism to draw blocks with tcolorboxes. The tcolorboxes will automatically adopt the look and feel (round vs.\ sharp corners and shadows) as well as the colours of the normal beamer blocks. -The package is included in \TeX{}Live -%and MiK\TeX\ -and available from \textsc{CTAN} (\url{https://www.ctan.org/pkg/beamertheme-tcolorbox}). +The package is included in \TeX{}Live and MiK\TeX\ and available from \textsc{CTAN} (\url{https://www.ctan.org/pkg/beamertheme-tcolorbox}). The development version of this package is located at \url{https://github.com/samcarter/beamertheme-tcolorbox}. If you have any problems, ideas or other feedback, please make constructive use of the issue tracker. Copyright \raisebox{0.2em}{\tiny\fontfamily{cmr}\selectfont\textcopyright} \texttt{samcarter}. Permission is granted to copy, distribute and\slash or modify this software under the terms of the LaTeX project public licence, version 1.3c or later \url{http://www.latex-project.org/lppl.txt}. @@ -137,28 +144,19 @@ In this simple configuration, the look and feel of the new blocks will be taken \section{Options} -In addition to automatically adopting settings from the other themes, one can also influence the look and feel via these options: +In addition to automatically adopting settings from other themes, one can also explicitly influence the look and feel via these options: \begin{description} -\item[inmargin] controls if the block titles are placed in the left sidebar instead of the top of the block, e.g. for themes like \lstinline|Bergen| (default: \lstinline|false|) -\item[rounded] controls if corners are rounded or sharp (default: \lstinline|false|) -\item[shadow] controls if the block has a shadow (default: \lstinline|false|) -\item[shaded] controls if there is a short colour gradient between the title and the body or if there is a sharp border between the colours (Default: \lstinline|false|; if rounded corners are activated, it is \lstinline|true|) +\item[blocks] controls if tcolorboxes should be used for beamer blocks (default: \lstinline|true|) +\item[inmargin] controls if the block titles are placed in the left sidebar instead of the top of the block, e.g. for themes like \lstinline|Bergen| (default: \lstinline|false|, but set to \lstinline|true| if the \lstinline|inmargin| inner theme is detected) +\item[rounded] controls if corners are rounded or sharp (default: \lstinline|false|, but set to \lstinline|true| if the \lstinline|rounded| inner theme is detected) +\item[shaded] controls if there is a short colour gradient between the title and the body (default: \lstinline|false|, but set to \lstinline|true| if the block corners are rounded) +\item[shadow] controls if the block has a shadow (default: \lstinline|false|, but set to \lstinline|true| if the \lstinline|shadow| outer theme is detected) +\item[showtitle] controls if a small coloured stripe is shown for blocks with empty title (default: \lstinline|true|, but set to \lstinline|false| if the block has rounded corners) +\item[titlepage] controls if tcolorboxes should be used for the title page, section page etc. (default: \lstinline|true|) \end{description} These options can be set to \lstinline|true| or \lstinline|false| (calling either option without explicit \lstinline|true| or \lstinline|false| will set it to \lstinline|true|). -\begin{tcolorbox}[title={}] -\begin{lstlisting} -\useinnertheme[ - rounded, - shadow=false, - shaded, - inmargin=false -]{tcolorbox} -\end{lstlisting} -\end{tcolorbox} - -If one for example likes the Antibes theme, but prefers the blocks to have shadows, they can now easily be added: - +If one for example likes the Antibes theme, but prefers the blocks to have shadows, they can now easily be added: \nopagebreak \begin{tcblisting}{ listing and comment, pdf comment, @@ -217,10 +215,4 @@ Beyond these two options, the users also has the myriads of options of the tcolo \end{document} \end{tcblisting} -\section{Caveats and known issues} - -\begin{itemize} -\item at the moment, this theme only applies to blocks. Things like the title page, which directly use beamercolorboxes, won't be replaced by tcolorboxes -\end{itemize} - \end{document} -- cgit v1.2.3