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
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
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
add a comment |
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
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
add a comment |
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
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
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
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
icon
asked 3 hours ago
latexfortilatexforti
4417
4417
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
answered 2 hours ago
![](https://i.stack.imgur.com/s9mhJ.jpg?s=32&g=1)
![](https://i.stack.imgur.com/s9mhJ.jpg?s=32&g=1)
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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