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

            acmart: Multiple authors: all with same affiliation, one author an additional affiliationHow to Write Names of Multiple Authors with Shared Affiliation in ACM 2017 Template?Multiple authors with different primary affiliation, but same additional affiliationSame affiliation for all authors without extra packagesIOS-Book-Article.cls: one author with multiple affiliationacmart: Shared Author AffiliationMultiple authors with different primary affiliation, but same additional affiliationAuthor affiliation with only 1 authorAdding Multiple Authors with Different Affiliation in LaTeX ArticleLaTeX: Multiple authors stays on same lineHow to Label Multiple Authors with Same DescriptionHow to make two authors use the same affiliationTwo authors with same affiliation on finished front page

            inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX

            Problem using RevTeX4-1 with “! Undefined control sequence. @bibitemShut”