I want to do tags like the ones used in blogs (like the tags in the picture shown below). Any ideas how I can do them ?

enter image description here

  • It is not clear what you are asking. Please, show us your code. Do you want to create a button style? – Sigur May 2 '14 at 21:38
  • I'm sorry, but are you trying to more-or-less duplicate the image shown here? – Sean Allred May 2 '14 at 21:38
  • @SeanAllred no I am just trying to create tags like this in picture. Baiscally a button like shape which I can write in (the rectangle things in the picture) but they wont have an X image on the right – Cemre May 2 '14 at 21:40
  • @Sigur I dont have any code since I am trying to come up with the code. I am trying to create tags like in this image which like you said can be in the shape of buttons – Cemre May 2 '14 at 21:40
  • The most simple way to insert boxes is \fbox{}. But it works fine with short texts. – Sigur May 2 '14 at 21:47

I ended up using

  boxsep=0pt,left=3pt,right=3pt,top=4pt,bottom=4pt,tcbox raise base}

  • This is nice, but tags with risers (like h) and no hangers (like j) don't align vertically with tags with both, or just hangers. Shame... – LondonRob Jul 3 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.