color - background for warning symbolHow to scale a tikzpicture to textwidthHow to print a warning sign (triangle with exclamation point)?Align top-margin for icons in description list

What exploit are these user agents trying to use?

Is the Joker left-handed?

What is going on with Captain Marvel's blood colour?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Cronab fails because shell path not found

How to say in German "enjoying home comforts"

How to model explosives?

Forgetting the musical notes while performing in concert

Does casting Light, or a similar spell, have any effect when the caster is swallowed by a monster?

What's the point of deactivating Num Lock on login screens?

Do I have a twin with permutated remainders?

Why do I get two different answers for this counting problem?

Should I tell management that I intend to leave due to bad software development practices?

Can I ask the recruiters in my resume to put the reason why I am rejected?

Is it possible to download Internet Explorer on my Mac running OS X El Capitan?

Why is the ratio of two extensive quantities always intensive?

Is it inappropriate for a student to attend their mentor's dissertation defense?

How could indestructible materials be used in power generation?

What is the formal way to express the meaning of a variable?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

How do I write bicross product symbols in latex?

What is the most common color to indicate the input-field is disabled?

What is the word for reserving something for yourself before others do?

Why does Optional.map make this assignment work?



color - background for warning symbol


How to scale a tikzpicture to textwidthHow to print a warning sign (triangle with exclamation point)?Align top-margin for icons in description list













1















This warning icon in link: How to print a warning sign (triangle with exclamation point)?



i want to fill red colour in backgroud like attached image
enter image description here



This minimal code:



documentclassarticle
usepackagestackengine
usepackagescalerel
usepackagexcolor
newcommanddangersign[1][2ex]%
renewcommandstacktypeL%
scaletostackon[1.3pt]colorred$triangle$tiny !#1%

begindocument
This is a danger sign 5ex tall: dangersign[5ex]par
Here is the default (2ex) size: dangersign
enddocument


! can black or white
Please help.
Thank in advance










share|improve this question


























    1















    This warning icon in link: How to print a warning sign (triangle with exclamation point)?



    i want to fill red colour in backgroud like attached image
    enter image description here



    This minimal code:



    documentclassarticle
    usepackagestackengine
    usepackagescalerel
    usepackagexcolor
    newcommanddangersign[1][2ex]%
    renewcommandstacktypeL%
    scaletostackon[1.3pt]colorred$triangle$tiny !#1%

    begindocument
    This is a danger sign 5ex tall: dangersign[5ex]par
    Here is the default (2ex) size: dangersign
    enddocument


    ! can black or white
    Please help.
    Thank in advance










    share|improve this question
























      1












      1








      1








      This warning icon in link: How to print a warning sign (triangle with exclamation point)?



      i want to fill red colour in backgroud like attached image
      enter image description here



      This minimal code:



      documentclassarticle
      usepackagestackengine
      usepackagescalerel
      usepackagexcolor
      newcommanddangersign[1][2ex]%
      renewcommandstacktypeL%
      scaletostackon[1.3pt]colorred$triangle$tiny !#1%

      begindocument
      This is a danger sign 5ex tall: dangersign[5ex]par
      Here is the default (2ex) size: dangersign
      enddocument


      ! can black or white
      Please help.
      Thank in advance










      share|improve this question














      This warning icon in link: How to print a warning sign (triangle with exclamation point)?



      i want to fill red colour in backgroud like attached image
      enter image description here



      This minimal code:



      documentclassarticle
      usepackagestackengine
      usepackagescalerel
      usepackagexcolor
      newcommanddangersign[1][2ex]%
      renewcommandstacktypeL%
      scaletostackon[1.3pt]colorred$triangle$tiny !#1%

      begindocument
      This is a danger sign 5ex tall: dangersign[5ex]par
      Here is the default (2ex) size: dangersign
      enddocument


      ! can black or white
      Please help.
      Thank in advance







      icon






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      latexfortilatexforti

      4417




      4417




















          1 Answer
          1






          active

          oldest

          votes


















          4














          documentclassarticle
          usepackagestackengine
          usepackagescalerel
          usepackagexcolor,amssymb
          newcommanddangersignb[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$tinybfseries !OcFFL#1%

          newcommanddangersignw[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$colorwhitetinybfseries !OcFFL#1%

          begindocument
          This is a (black) danger sign 5ex tall: dangersignb[5ex]par
          Here is the default (2ex) size: dangersignb

          This is a (white) danger sign 5ex tall: dangersignw[5ex]par
          Here is the default (2ex) size: dangersignw
          enddocument


          enter image description here






          share|improve this answer























          • B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

            – latexforti
            1 hour ago











          • @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

            – Steven B. Segletes
            55 mins ago











          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%2f483162%2fcolor-background-for-warning-symbol%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









          4














          documentclassarticle
          usepackagestackengine
          usepackagescalerel
          usepackagexcolor,amssymb
          newcommanddangersignb[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$tinybfseries !OcFFL#1%

          newcommanddangersignw[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$colorwhitetinybfseries !OcFFL#1%

          begindocument
          This is a (black) danger sign 5ex tall: dangersignb[5ex]par
          Here is the default (2ex) size: dangersignb

          This is a (white) danger sign 5ex tall: dangersignw[5ex]par
          Here is the default (2ex) size: dangersignw
          enddocument


          enter image description here






          share|improve this answer























          • B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

            – latexforti
            1 hour ago











          • @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

            – Steven B. Segletes
            55 mins ago















          4














          documentclassarticle
          usepackagestackengine
          usepackagescalerel
          usepackagexcolor,amssymb
          newcommanddangersignb[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$tinybfseries !OcFFL#1%

          newcommanddangersignw[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$colorwhitetinybfseries !OcFFL#1%

          begindocument
          This is a (black) danger sign 5ex tall: dangersignb[5ex]par
          Here is the default (2ex) size: dangersignb

          This is a (white) danger sign 5ex tall: dangersignw[5ex]par
          Here is the default (2ex) size: dangersignw
          enddocument


          enter image description here






          share|improve this answer























          • B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

            – latexforti
            1 hour ago











          • @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

            – Steven B. Segletes
            55 mins ago













          4












          4








          4







          documentclassarticle
          usepackagestackengine
          usepackagescalerel
          usepackagexcolor,amssymb
          newcommanddangersignb[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$tinybfseries !OcFFL#1%

          newcommanddangersignw[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$colorwhitetinybfseries !OcFFL#1%

          begindocument
          This is a (black) danger sign 5ex tall: dangersignb[5ex]par
          Here is the default (2ex) size: dangersignb

          This is a (white) danger sign 5ex tall: dangersignw[5ex]par
          Here is the default (2ex) size: dangersignw
          enddocument


          enter image description here






          share|improve this answer













          documentclassarticle
          usepackagestackengine
          usepackagescalerel
          usepackagexcolor,amssymb
          newcommanddangersignb[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$tinybfseries !OcFFL#1%

          newcommanddangersignw[1][2ex]%
          scaletostackengine0.3ptscalebox1.1[.9]%
          colorred$blacktriangle$colorwhitetinybfseries !OcFFL#1%

          begindocument
          This is a (black) danger sign 5ex tall: dangersignb[5ex]par
          Here is the default (2ex) size: dangersignb

          This is a (white) danger sign 5ex tall: dangersignw[5ex]par
          Here is the default (2ex) size: dangersignw
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 hours ago









          Steven B. SegletesSteven B. Segletes

          161k9205414




          161k9205414












          • B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

            – latexforti
            1 hour ago











          • @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

            – Steven B. Segletes
            55 mins ago

















          • B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

            – latexforti
            1 hour ago











          • @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

            – Steven B. Segletes
            55 mins ago
















          B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

          – latexforti
          1 hour ago





          B.Segletes. Your above code work in overleaf. But I run in texmarker this come error: "package stackengine could not be installed". please help. thanks

          – latexforti
          1 hour ago













          @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

          – Steven B. Segletes
          55 mins ago





          @latexforti I am not familiar with texmarker, but you can find the style file at ctan.org/pkg/stackengine and place it in your working directory.

          – Steven B. Segletes
          55 mins ago

















          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%2f483162%2fcolor-background-for-warning-symbol%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?

          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"

          Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica