We illustrate the theory of one-dimensional pluri-Lagrangian systems with the example of commuting billiard maps in confocal quadrics.