vimtex/test/vader/format.vader

47 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-04-05 23:16:36 +02:00
Execute (Setup):
2016-04-05 23:18:13 +02:00
set textwidth=79
2016-04-05 23:16:36 +02:00
let g:vimtex_format_enabled = 1
2016-04-07 08:24:26 +02:00
silent! VimtexReload
2016-04-05 23:16:36 +02:00
2016-04-07 22:12:46 +02:00
Given tex (Format: Inline comment):
2016-04-05 23:16:36 +02:00
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
ipsum dolor sit amet.
2016-04-07 22:12:46 +02:00
Do (Format text):
2016-04-05 23:16:36 +02:00
gqG
2016-04-07 22:12:46 +02:00
Expect tex (Verify):
2016-04-05 23:16:36 +02:00
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet.
Given tex (Format: Line breaking):
start a new paragraph \\
start a new line but not a new paragraph \\*
flush all, start a new (odd numbered) page \cleardoublepage
flush all, start a new page \clearpage
allow to break the line here \linebreak
request a new line \newline
request a new page \newpage
encourage page break \pagebreak
Do (TODO Format text):
gqG
Expect tex (Verify):
start a new paragraph \\
start a new line but not a new paragraph \\*
flush all, start a new (odd numbered) page \cleardoublepage
flush all, start a new page \clearpage
allow to break the line here \linebreak
request a new line \newline
request a new page \newpage
encourage page break \pagebreak