I need to explain the structure of a URL. I would like to do this with braces. To produce the following

service     address      page    parameter

the ---v--- are to represent the braces. I tried to do this by guessing the coordinates where to start, but already fail when I need to graphically draw the brace. I didn't even get to position the braces accordingly.

Is there an easy way to achieve this, without punctional positioning of the brace?

1 Answer 1


This is a solution without using tikz, it is easy and fast. I added a \vphantom{p} in the last two braces in order to have the same vertical alignment.



enter image description here

If you have a lot of such descriptions you can also define a command to keep things more ordered:



  • 1
    You should probably write “service”, “address”, etc. as \text{service}, etc., or \text{\itshape service} if you want italics. Commented Oct 14, 2013 at 13:11
  • @HaraldHanche-Olsen yes you're right, in that case one needs to include the amsmath package
    – Red
    Commented Oct 14, 2013 at 13:15
  • 2
    Or without amsmath, replace \text{service} by \mbox{\scriptsize service} (which, indeed, is rather cumbersome to write). Btw. shouldn't the 'page' brace end with the 'l' and not with the question mark?
    – Alex
    Commented Oct 14, 2013 at 14:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .