Prompt
Create a realistic portrait of Sir James Ivory, a Scottish mathematician, in 18th-century attire, sitting in a study with mathematical instruments and books, with a subtle background hinting at his connection to the Royal Society and his work on mathematics and physics.