Emperor Gregor Vorbarra, from the Vorkosigan series.
This seems like a weird thing to post for inspiration, considering he’s a depressive Russian-ish royal with a messed-up family history and a really grim kind of life, but 1) I really unabashedly like him, 2) I’m a depressive Russian-ish person with a weird family, and 3) it’s actually kind of hard to find fictional characters whose nods to student living basically amount to ‘and then I blew off school to save the world, again’.
Gregor lived his whole life under scrutiny, yet only discovered the messier aspects of his family history later in life. He went through school under the microscope of the public eye, without having any relationships until well into adulthood, and until he met Laisa it seemed like the happiest, freest period of his life was that time he spent as a bond-slave, installing lights, after he basically ran away from home post-attempted suicide. He was depressed, lonely, and hyper-aware that everyone was watching out to see if he, too, would become a monster.
But he didn’t. Gregor survived, got through school and ship duty and an incredibly lonely adolescence, and by all appearances lived to be as happy as any adult with depression can be. I like Gregor a lot.