Created
August 7, 2021 09:04
-
-
Save fmitha/fc185f9742e31be997d6ee602b889fa1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{scrartcl} | |
\usepackage{letltxmacro} | |
%\usepackage{quoting} | |
%\usepackage{tikz} | |
\usepackage[most]{tcolorbox} | |
\begin{document} | |
% Create new version of boxed quoting environment called | |
% 'bquoting'. Leave the original modified version of 'quoting' for | |
% backwards compatibility purposes. First, make a copy of the quoting | |
% environment called bquoting. | |
\LetLtxMacro\bquoting\quoting | |
\LetLtxMacro\endbquoting\endquoting | |
% \NewCommandCopy\bquoting\quoting | |
% \NewCommandCopy\endbquoting\endquoting | |
% Then modify it with \tcolorboxenvironment | |
\tcolorboxenvironment{bquoting}{ | |
beforeafter skip=\baselineskip, boxrule=2pt, sharp corners, breakable, skin=enhanced, colback=white} | |
% \newtcolorbox{bquoting}{ beforeafter skip=\baselineskip, boxrule=2pt, | |
% sharp corners, breakable, skin=enhanced, colback=white} | |
% \LetLtxMacro\bquoting\quoting | |
% \LetLtxMacro\endbquoting\endquoting | |
% \tcolorboxenvironment{bquoting}{ | |
% beforeafter skip=\baselineskip, boxrule=2pt, sharp corners, breakable, skin=enhanced, colback=white} | |
% \newtcolorbox{bquoting}{ beforeafter skip=\baselineskip, boxrule=2pt, | |
% sharp corners, breakable, skin=enhanced, colback=white} | |
% \begin{bquoting} | |
% FOO | |
% \end{bquoting} | |
% \begin{quoting} | |
% FOO | |
% \end{quoting} | |
\end{document} | |
%%% Local Variables: | |
%%% mode: latex | |
%%% TeX-master: t | |
%%% End: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment