| 1 |
%% |
| 2 |
%% This is file `callouts-box.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% callouts-box.dtx (with options: `package') |
| 8 |
%% This is a generated file. |
| 9 |
%% |
| 10 |
%% Copyright (C) 2025 by julinux60 |
| 11 |
%% |
| 12 |
%% This file may be distributed and/or modified under the |
| 13 |
%% conditions of the LaTeX Project Public License, either |
| 14 |
%% version 1.3 of this license or (at your option) any later |
| 15 |
%% version. The latest version of this license is in: |
| 16 |
%% |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% |
| 19 |
%% and version 1.3 or later is part of all distributions of |
| 20 |
%% LaTeX version 2005/12/01 or later. |
| 21 |
|
| 22 |
\NeedsTeXFormat{LaTeX2e} |
| 23 |
\ProvidesPackage{callouts-box}[2025/03/14 v1.1 Styled callout boxes] |
| 24 |
|
| 25 |
\RequirePackage{xcolor} |
| 26 |
\RequirePackage{tcolorbox} |
| 27 |
\tcbuselibrary{breakable} |
| 28 |
\RequirePackage{callouts-box-colors} |
| 29 |
|
| 30 |
\tcbset{ |
| 31 |
boxsettings/.style={ |
| 32 |
boxrule=1pt, rounded corners=all, arc=5pt, |
| 33 |
left=5pt, right=5pt, top=5pt, bottom=5pt, |
| 34 |
boxsep=5pt, before skip=10pt, after skip=10pt, |
| 35 |
breakable, before upper={\ignorespaces}, |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
\NewTColorBox{warningbox}{ O{Warning} }{ |
| 40 |
colframe=warning-border, colback=warning-content, |
| 41 |
coltitle=warning-text, fonttitle=\bfseries, |
| 42 |
coltext=warning-text, title={#1}, boxsettings, |
| 43 |
} |
| 44 |
|
| 45 |
\NewTColorBox{errorbox}{ O{Error} }{ |
| 46 |
colframe=error-border, colback=error-content, |
| 47 |
coltitle=error-text, fonttitle=\bfseries, |
| 48 |
coltext=error-text, title={#1}, boxsettings, |
| 49 |
} |
| 50 |
|
| 51 |
\NewTColorBox{notebox}{ O{Note} }{ |
| 52 |
colframe=note-border, colback=note-content, |
| 53 |
coltitle=note-text, fonttitle=\bfseries, |
| 54 |
coltext=note-text, title={#1}, boxsettings, |
| 55 |
} |
| 56 |
|
| 57 |
\NewTColorBox{successbox}{ O{Success} }{ |
| 58 |
colframe=success-border, colback=success-content, |
| 59 |
coltitle=success-text, fonttitle=\bfseries, |
| 60 |
coltext=success-text, title={#1}, boxsettings, |
| 61 |
} |
| 62 |
|
| 63 |
\endinput |
| 64 |
%% |
| 65 |
%% End of file `callouts-box.sty'. |