Putting definitions in color boxesProblem with solution to ntheorem and bad boxes; involves newtheoremstyleIs it possible to reuse tcolorbox definitions in another tcolorbox definition?How to create theorem boxesPictures in boxes with rounded cornersHow to make box sizes consistent and “glue” boxes together (in beamer)?How can I put two colored boxes next to each other?tcolorbox: It is possible to put breakable boxes behind each other (overlap)?Keep font color in a breakable tcolorboxHow do you remove spacing from multiple beamer color boxes on the same line?Consecutive numbering and labels in tcolorbox

Why doesn't H₄O²⁺ exist?

How do I draw and define two right triangles next to each other?

Paid for article while in US on F-1 visa?

Why can't we play rap on piano?

To string or not to string

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

How can bays and straits be determined in a procedurally generated map?

Client team has low performances and low technical skills: we always fix their work and now they stop collaborate with us. How to solve?

Perform and show arithmetic with LuaLaTeX

Is it possible to do 50 km distance without any previous training?

Have astronauts in space suits ever taken selfies? If so, how?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

How to format long polynomial?

US citizen flying to France today and my passport expires in less than 2 months

What does the "remote control" for a QF-4 look like?

dbcc cleantable batch size explanation

High voltage LED indicator 40-1000 VDC without additional power supply

Maximum likelihood parameters deviate from posterior distributions

Why are electrically insulating heatsinks so rare? Is it just cost?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Arrow those variables!

RSA: Danger of using p to create q

How old can references or sources in a thesis be?



Putting definitions in color boxes


Problem with solution to ntheorem and bad boxes; involves newtheoremstyleIs it possible to reuse tcolorbox definitions in another tcolorbox definition?How to create theorem boxesPictures in boxes with rounded cornersHow to make box sizes consistent and “glue” boxes together (in beamer)?How can I put two colored boxes next to each other?tcolorbox: It is possible to put breakable boxes behind each other (overlap)?Keep font color in a breakable tcolorboxHow do you remove spacing from multiple beamer color boxes on the same line?Consecutive numbering and labels in tcolorbox













1















I've found a awesome document (doing some research in Model Theory).



enter image description here



I would like to know how I can do those color boxes for definitions, theorems and other stuff. Thanks a lot!










share|improve this question

















  • 2





    Have a look at the tcolorbox manual, it is very informative

    – BambOo
    Sep 6 '18 at 17:14












  • I'm not so sure about the choice of colours... :)

    – Andrew
    Sep 7 '18 at 5:54















1















I've found a awesome document (doing some research in Model Theory).



enter image description here



I would like to know how I can do those color boxes for definitions, theorems and other stuff. Thanks a lot!










share|improve this question

















  • 2





    Have a look at the tcolorbox manual, it is very informative

    – BambOo
    Sep 6 '18 at 17:14












  • I'm not so sure about the choice of colours... :)

    – Andrew
    Sep 7 '18 at 5:54













1












1








1


0






I've found a awesome document (doing some research in Model Theory).



enter image description here



I would like to know how I can do those color boxes for definitions, theorems and other stuff. Thanks a lot!










share|improve this question














I've found a awesome document (doing some research in Model Theory).



enter image description here



I would like to know how I can do those color boxes for definitions, theorems and other stuff. Thanks a lot!







math-mode tcolorbox colorbox






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 6 '18 at 16:48









Alexei0709Alexei0709

1402




1402







  • 2





    Have a look at the tcolorbox manual, it is very informative

    – BambOo
    Sep 6 '18 at 17:14












  • I'm not so sure about the choice of colours... :)

    – Andrew
    Sep 7 '18 at 5:54












  • 2





    Have a look at the tcolorbox manual, it is very informative

    – BambOo
    Sep 6 '18 at 17:14












  • I'm not so sure about the choice of colours... :)

    – Andrew
    Sep 7 '18 at 5:54







2




2





Have a look at the tcolorbox manual, it is very informative

– BambOo
Sep 6 '18 at 17:14






Have a look at the tcolorbox manual, it is very informative

– BambOo
Sep 6 '18 at 17:14














I'm not so sure about the choice of colours... :)

– Andrew
Sep 7 '18 at 5:54





I'm not so sure about the choice of colours... :)

– Andrew
Sep 7 '18 at 5:54










1 Answer
1






active

oldest

votes


















0














You can do like this



documentclass[border=5mm]standalone
usepackage[most]tcolorbox

newtcolorboxmyBox[3][]
arc=5mm,
lower separated=false,
fonttitle=bfseries,
colbacktitle=green!10,
coltitle=green!50!black,
enhanced,
attach boxed title to top left=xshift=0.5cm,
yshift=-2mm,
colframe=green!50!black,
colback=green!10,
overlay=
node[draw=green!50!black,thick,
%inner sep=2mm,
fill= green!10,rounded corners=1mm,
yshift=0pt,
xshift=-0.5cm,
left,
text=green!50!black,
anchor=east,
font=bfseries]
at (frame.north east) #3;,
title=#2,#1

begindocument


beginmyBox[]contentSome
content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text
endmyBox

enddocument


enter image description here






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f449735%2fputting-definitions-in-color-boxes%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You can do like this



    documentclass[border=5mm]standalone
    usepackage[most]tcolorbox

    newtcolorboxmyBox[3][]
    arc=5mm,
    lower separated=false,
    fonttitle=bfseries,
    colbacktitle=green!10,
    coltitle=green!50!black,
    enhanced,
    attach boxed title to top left=xshift=0.5cm,
    yshift=-2mm,
    colframe=green!50!black,
    colback=green!10,
    overlay=
    node[draw=green!50!black,thick,
    %inner sep=2mm,
    fill= green!10,rounded corners=1mm,
    yshift=0pt,
    xshift=-0.5cm,
    left,
    text=green!50!black,
    anchor=east,
    font=bfseries]
    at (frame.north east) #3;,
    title=#2,#1

    begindocument


    beginmyBox[]contentSome
    content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text
    endmyBox

    enddocument


    enter image description here






    share|improve this answer



























      0














      You can do like this



      documentclass[border=5mm]standalone
      usepackage[most]tcolorbox

      newtcolorboxmyBox[3][]
      arc=5mm,
      lower separated=false,
      fonttitle=bfseries,
      colbacktitle=green!10,
      coltitle=green!50!black,
      enhanced,
      attach boxed title to top left=xshift=0.5cm,
      yshift=-2mm,
      colframe=green!50!black,
      colback=green!10,
      overlay=
      node[draw=green!50!black,thick,
      %inner sep=2mm,
      fill= green!10,rounded corners=1mm,
      yshift=0pt,
      xshift=-0.5cm,
      left,
      text=green!50!black,
      anchor=east,
      font=bfseries]
      at (frame.north east) #3;,
      title=#2,#1

      begindocument


      beginmyBox[]contentSome
      content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text
      endmyBox

      enddocument


      enter image description here






      share|improve this answer

























        0












        0








        0







        You can do like this



        documentclass[border=5mm]standalone
        usepackage[most]tcolorbox

        newtcolorboxmyBox[3][]
        arc=5mm,
        lower separated=false,
        fonttitle=bfseries,
        colbacktitle=green!10,
        coltitle=green!50!black,
        enhanced,
        attach boxed title to top left=xshift=0.5cm,
        yshift=-2mm,
        colframe=green!50!black,
        colback=green!10,
        overlay=
        node[draw=green!50!black,thick,
        %inner sep=2mm,
        fill= green!10,rounded corners=1mm,
        yshift=0pt,
        xshift=-0.5cm,
        left,
        text=green!50!black,
        anchor=east,
        font=bfseries]
        at (frame.north east) #3;,
        title=#2,#1

        begindocument


        beginmyBox[]contentSome
        content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text
        endmyBox

        enddocument


        enter image description here






        share|improve this answer













        You can do like this



        documentclass[border=5mm]standalone
        usepackage[most]tcolorbox

        newtcolorboxmyBox[3][]
        arc=5mm,
        lower separated=false,
        fonttitle=bfseries,
        colbacktitle=green!10,
        coltitle=green!50!black,
        enhanced,
        attach boxed title to top left=xshift=0.5cm,
        yshift=-2mm,
        colframe=green!50!black,
        colback=green!10,
        overlay=
        node[draw=green!50!black,thick,
        %inner sep=2mm,
        fill= green!10,rounded corners=1mm,
        yshift=0pt,
        xshift=-0.5cm,
        left,
        text=green!50!black,
        anchor=east,
        font=bfseries]
        at (frame.north east) #3;,
        title=#2,#1

        begindocument


        beginmyBox[]contentSome
        content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text content text
        endmyBox

        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 11 mins ago









        sandusandu

        3,72342856




        3,72342856



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f449735%2fputting-definitions-in-color-boxes%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

            Tender dossier with centered articlesHow can I get legal style indentation on section, subsection, subsubsec.. using titlesec?missing item with addtocontents before sectionsubsubsubsection, paragraph and subparagraph count not reset when starting a new section, subsection, etcTikZ won't support HSB color model hsb in article document classAdding a vskip1em before each section - won't compile with itHow to implement a customized hierarchical table of content using titletoc with changing number formatsSection title formatGrouped entries in index don't spill over to next columnParagraph spacing in documentclassarticle with Figure and ListingsRagged Right Index Entries

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"