Initializing tex document