A Document is a computer file which primarily contains text. The simplest kind of document file is one which only contains raw text, with no support for custom fonts, styles, or images. This kind of document is called a text file. Other kinds of documents do offer various customization options allowing users to add things such as properties (bold, underline, strike-through, and italics), custom fonts, and colors to the text. Some also include the option to add images to the file.
Documents are very common for a wide variety of uses. There are many programs which read and create them, and many file formats as well. Theses are some common formats of document files:
- Office Document (.doc) - Perhaps the most common and compatible document format, though slightly dated
- Office Document XML (.docx) - The new format Microsoft Word uses, which compresses the XLM data of the file
- Microsoft Works Document (.wps) - A simpler version of the .doc format which does not include macros and some other advanced features, also used by Kingsoft (WPS) Office
- Open Document Format (.odf) - used by Open Office and its fork LibreOffice, which stores the XLM data of the file
- AbiWord (.abw) - AbiWord file format which stores the XML
- AbiWord Gzip compressed XML (.zabw or .abw.gz) - Another AbiWord file format which stores the Gzip Compressed XML
- Rich Text (.rtf) - An older, highly compatible format which offers some options but not nearly as many as most others
- Plain Text (.txt) - a plain text (ASCII, UTF-8) file which offers no styling
- Portable Document Format (.pdf) - A portable, minimally editable format for redistribution of a complete work
- Pages Document (.pages)
- LaTeX Source Document (.tex and LTX) - A high-quality typesetting system which can include text, symbols, mathematical expressions, and graphics.
- WordPerfect Document (.wpd) - A proprietary Corel format