To create a digital document, you can use a lot of free open source applications. There is LibreOffice that lets you create several types of documents. You can also try OpenOffice for the same. Apart from that, in case you need a distraction-free document editor that lets you focus on writing, you can use FocusWriter.