How can I convert every line to a list item automatically?
for example I want following become a list (without adding more characters):
\begin{foo}
Persian
French
Arabic
Urdu
\end{foo}
- Persian
- French
- Arabic
- Urdu
|
How can I convert every line to a list item automatically? for example I want following become a list (without adding more characters):
|
||||
|
|
|
Here is one option: Using
|
|||
|
|
|
If the input is exactly laid out as you show, with
The result of the two environments will be the same. But the You can of course modify the appearance of the
will "kill" all vertical space, while You can even do the setup for each
so that the options can be passed as optional argument to
|
|||||||||
|