Electronic absorption spectrum of a nonlinear carbon chain: trans-C6H4+.