Created
May 5, 2012 20:32
-
-
Save nkabir/2605445 to your computer and use it in GitHub Desktop.
LaTeX snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % listing for a deal specification | |
| \begin{listing} | |
| \begin{sidebox}[black][color_box_tip][1.0] | |
| \begin{packed_item} | |
| \item \textbf{Price Taker} The agent that invites the transaction by requesting the deal level for a particular deal then perhaps accepts the level. | |
| \item \textbf{Price Maker} The agent that quotes a deal level in response to the price taker's request, the confirms acceptance. | |
| \item \textbf{Execution Timestamp} The time at which both parties have confirmed acceptance. | |
| \item \textbf{Execution Venue} The legal context in which the transaction occurs. | |
| \item \textbf{Commitment to Settle} An agreement between the agents that stipulates: | |
| \begin{packed_item} | |
| \item \textbf{Settlement Date} The date on which the agents must legally enact the transfer actions. | |
| \item \textbf{Settlement Actions} The precise transfer actions that need to take place on the settlement date between the two agents. | |
| \end{packed_item} | |
| \end{packed_item} | |
| \end{sidebox} | |
| \caption{A Financial Transaction} | |
| \label{lst:financial-transaction} | |
| \end{listing} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % figure | |
| \begin{figure}[ht] \centering | |
| \includegraphics[width=0.5\textwidth]{media/single-timeline} | |
| \caption{All events for all agents map to a single time-line.} | |
| \label{fig:myfigure} | |
| \end{figure} | |
| Please see Figure~\ref{fig:myfigure} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % loading listing from file | |
| \begin{listing} | |
| \inputminted[bgcolor=mintbg]{xml}{quote-event.xml} | |
| \caption{Google Sale Quote} | |
| \label{lst:quote-event} | |
| \end{listing} | |
| Listing~\ref{lst:quote-event} is an example of an xml document for a quote event. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % table | |
| Please see Table ~\ref{tab:PCKEWR}. | |
| \begin{table}[h] | |
| \centering | |
| \begin{tabular}{llrrll}\hline | |
| \\ | |
| Timestamp & Level & Size & Type \\[0.5em] | |
| \hline | |
| \verb=20120430T10:16:16.123= & 603.67 & 5000 & BID \\ | |
| \hline | |
| \end{tabular} | |
| \caption{Cash Deals for GOOG} | |
| \label{tab:PCKEWR} | |
| \end{table} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment