In Isobelle Carmody's Ashling, Fian is borrowing the captain's cabin on the Cutter, because of all the books about the sea the captain has. Elspeth goes to talk with him in that tiny cabin: 'He had to flatten himself against the wall to get the door to the tiny chamber open, but there was hardly enough room even when it was closed. He waved me to the only seat that would fit, and propped himself on the corner of the rickety wooden table piled high with books' (p. 440). Though truly tiny, the cabin sounds comfortable indeed - no doubt, the effect of all those books.
But not only cramped places make good studies, witness this room (found on tumblr):
That's all for now!