1st way:
input:
\begin{tabbing}
\\ $<$Sem\=anticBase id="Biglia\_Anderlecht\_58\_4" xsi:type="AgentObjectType"$>$ \\
\> $<$Lab\=el$>$ \\
\> \> $<$Name /$>$ \\
\> $<$/Label$>$ \\
\> $<$Def\=inition$>$ \\
\> \> $<$FreeTextAnnotation /$>$ \\
\> $<$/Definition$>$ \\
\> $<$Med\=iaOccurrence$>$ \\
\> \> $<$Med\=iaLocator xsi:type="TemporalSegmentLocatorType"$>$ \\
\> \> \> $<$Med\=iaTime$>$ \\
\> \> \> \> $<$MediaTimePoint$>$58$<$/MediaTimePoint$>$ \\
\> \> \> $<$/MediaTime$>$ \\
\> \> $<$/MediaLocator$>$ \\
\> $<$/MediaOccurrence$>$ \\
\> $<$Relation type="urn:...:agentOf" target="Corner" /$>$ \\
\> $<$Relation type="urn:...:memberOf" target="ANDERLECHT" /$>$ \\
\> $<$Age\=nt xsi:type="PersonType"$>$ \\
\> \> $<$Nam\=e$>$ \\
\> \> \> $<$GivenName$>$ Biglia $<$/GivenName$>$ \\
\> \> \> $<$FamilyName /$>$ \\
\> \> $<$/Name$>$ \\
\> $<$/Agent$>$ \\
$<$/SemanticBase$>$ \\
\end{tabbing}
output:
2nd way is by using
listings
style..for details, please see http://texblog.wordpress.com/2008/04/02/include-source-code-in-latex-with-listings/
Hiç yorum yok:
Yorum Gönder