I want to do a command in LaTeX named \facil
where:
I read the counter
ejercicio
, I add 1 to it and I display it with sans-serif font, and then write down a dot. I've previously created it in the preamble, and the code I've done:{% \sffamily\arabic{ejercicio}% \addtocounter{ejercicio}{1}.% }%
Then write a space with "\ " (without quotes) and draw a blue circle (or point) where is exactly in the middle of the line, with color
blue!25!black
andminimum size=1ex
. That's what I don't know how to do it, I've tried withbaseline
option but I haven't done anything right.Write a large space "\;" (the text "Representa en forma..." is not part of the command).
An image of what I want to do:
\facil
should do 1. 2. and 3.?\facil
should be "1. * ", I mean, the counter followed by a dot, the middle circle and the thick space.