Great it worked out! Thanks a lot!
If I may ask further:
I would like now to insert itemize or small into the a collumn.
I don't get any errors with itemize with the code below:
Code: Select all
\documentclass[a4paper,english,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{abstract}
\usepackage{bbm}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{enumerate}
\usepackage{rotating}
\usepackage{color}
\usepackage{graphicx}
\usepackage{array}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tabular}{l|p{5cm}p{5cm}}
\textbf{Simulation} & \textbf{Advantage} & \textbf{Drawback} \\
\hline
\textbf{Monte Carlo} &
{\begin{itemize}
\item Accurate for all instruments
\item Provide a full distribution of potential portfolio values
\item Permit use of various distributional assumption and therefore has potential to address the issue of fat tails
\item No need for extensive historical data
\end{itemize}} &
{\begin{itemize}
\item Computationally intensive and time-consuming
\item Quantifies fat-tailed risk only if market scenarios are generated from the appropriate distribution
\end{itemize}}\\
\hline
\textbf{Historical} &
{\begin{itemize}
\item Accurate for all instruments
\item Provide a full distribution of potential portfolio values
\item No need to make distributional assumption Coarse at high confidence levels
\item Faster than Monte Carlo simulation because less scenarios are used
\end{itemize}} &
{\begin{itemize}
\item Requires a significant amount of daily rate history
\item Difficult to scale far into the future
\item Somewhat computationally intensive and time-consuming
\item Incorporate tail risk only if historical data set includes tail events
\end{itemize}}
\end{tabular}
\end{document}
The problem is that the environment creates a return before the first item and the last one resulting in a too big table such as the one I attached (problem table.pdf).
So instead of using \begin{itemize} I tried using \begin{small}:
Code: Select all
\documentclass[a4paper,english,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{abstract}
\usepackage{bbm}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{enumerate}
\usepackage{rotating}
\usepackage{color}
\usepackage{graphicx}
\usepackage{array}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tabular}{l|p{5cm}p{5cm}}
\textbf{Simulation} & \textbf{Advantage} & \textbf{Drawback} \\
\hline
\textbf{Monte Carlo} &
{\begin{small}
\item Accurate for all instruments
\item Provide a full distribution of potential portfolio values
\item Permit use of various distributional assumption and therefore has potential to address the issue of fat tails
\item No need for extensive historical data
\end{small}} &
{\begin{small}
\item Computationally intensive and time-consuming
\item Quantifies fat-tailed risk only if market scenarios are generated from the appropriate distribution
\end{small}}\\
\hline
\textbf{Historical} &
{\begin{small}
\item Accurate for all instruments
\item Provide a full distribution of potential portfolio values
\item No need to make distributional assumption Coarse at high confidence levels
\item Faster than Monte Carlo simulation because less scenarios are used
\end{small}} &
{\begin{small}
\item Requires a significant amount of daily rate history
\item Difficult to scale far into the future
\item Somewhat computationally intensive and time-consuming
\item Incorporate tail risk only if historical data set includes tail events
\end{small}}
\end{tabular}
\end{document}
which gives me:
- smaller output which is what want.
- it still keeps the return before first which I'd like to remove.
- and I get errors when compiling such as: "Lonely \item--perhaps a missing list environement.
The output is provided in the problem table2.pdf attachement.
Would be nice if I can sort out this problem!
Thanks a lot again guys!
Julien