iPad is not just great machine to read on, it's a great machine to write on, too. There are loads of excellent editors to write in, e.g., iVim, iA Writer, Scrivener, Ulysses. I use an iPad Pro in portrait mode (i.e., vertical orientation) with a Microsoft Wedge bluetooth keyboard. It's a great writing environment.