Thanks, Mario
Using the diagram, here's how I arrived to mine:
L3 = L1 cos(theta)
L4 = L2 cos(90-theta) = L2 sin(theta)
L1 = L3+L4
L3 is the horizontal component of the radius at angle theta.
L4 is the horizontal component of the "upper" L2.
The sum thereof is the length L1.
Thus
L1 = L1cos(theta) + L2sin(theta)
L1-L1cos(theta) = L2 sin(theta)
L2 = L1/sin(theta) - L1cos(theta)/sin(theta)
L2 = L1 (1/sin(theta)-1/tan(theta))
After some though, I think I can see your identity - bisecting theta draws two right angle triangles. From the law of sines, you would then have...
L2/sin(theta/2)=L1/sin(90-theta/2)=L1/cos(theta/2)
L2 = L1 * sin(theta/2)/cos(theta/2) = L1 tan(theta/2)
When you see it, you see it, when you don't, you don't.