candidate: As examples , Gide cites both paintings such as " Las Meninas " by Diego Velázquez , and literary forms such as Shakespeare 's use of the " play within a play " device in " Hamlet " , where a theatrical company presents a performance for the characters that illuminates a thematic aspect of the play itself .