I want to create a few new paragraph styles for a user manual I am writing. The trick part is I want to add an Icon to the beging of the line.
I want to create three styles;
- Danger
- Warning
- Important
each is differnt in terms of color and have different icons. I want it to be more like a textbox with a boarder around it. keeping in mind that each instance will be no more than 2 lines at very most. e.g.
Warning; Risk of Electric Shock
Best Answer
You can define new icons for bclogo just following the pattern shown on page 18 of the documentation:
assuming that your logo is in
warning.png
;\logowidth
is a length parameter that defaults to 17pt and can be changed by\setlength{\logowidth}{<length>}
.You can then use