Hi everyone, I am new at the forum, nice to c u all!!
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
General ⇒ rookie question: paste texts into latex and reserve original
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
rookie question: paste texts into latex and reserve original
Try putting the text in the verbatim environment.
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.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.