General ⇒ rookie question: paste texts into latex and reserve original
rookie question: paste texts into latex and reserve original
i am actually very new to latex as well, and have a very rookie question. say, i have a large paragraph of text that i want to paste into latex files, and the texts contain some latex keywords like "%" or "$", which i want to know whether there is a simple way to reserve the original look of the text, or do i have to modify every keyword occurred? there are really a lot...
thanks in advance!
Eric
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
rookie question: paste texts into latex and reserve original
Code: Select all
\begin{verbatim}
Text text text text text text text text
\end{verbatim}
rookie question: paste texts into latex and reserve original
That could be a solution if it would suffice to typeset the text in typewriter font. In general, I would paste the text in a LaTeX editor. Then I would use the "search&replace" feature of the editor to change, say, % by \%. Quick and easy.curiouslearn wrote:Try putting the text in the verbatim environment.