When an author quotes another author in his novel, writes a poem in his book that he was reminded of when the events happened and that corresponds with what is happening in the text, what is that called? Is it a literary device? It can't be allusion.. I'm talking about where Che quotes a poem that he was reminded of when he left his loved one in the book The Motorcycle Diaries.

3 answers

http://grammar.ccc.commnet.edu/grammar/marks/quotation.htm

Scroll down and read the section called Single Quotation Marks.
I don't think this is a literary device, simply a punctuation issue.
Here are some websites that will help you identify literary devices:

http://www.tnellen.com/cybereng/lit_terms/

(Broken Link Removed)

http://web.cn.edu/kwheeler/lit_terms_A.html