I have got some character sequences which I need to put into a documentation:
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{table}[h]
{\renewcommand\arraystretch{1.25}
\begin{tabular}{|l|l|l|l|} \hline
{} & \multicolumn{2}{l|}{Path} & Probability ($\ln(p)$) \\ \hline
1 & \multicolumn{2}{p{10cm}|}
{\raggedright
10101010101101101010101101010110101010101101011 01010101010110101010101010110101010101010110101 01011010101101010110101101010101010101011010101 01101011101010} &
$-778.850803$ \\\hline
2 & \multicolumn{2}{p{10cm}|}
{\raggedright
10101010101101011010101101010110101010101101011 01010101010110101010101010110101010101010110101 01011010101101010110101101010101010101011010101 01101011101010} &
$-778.854071$ \\\hline
3 & \multicolumn{2}{p{10cm}|}
{\raggedright
10101010101101101010101101010110101010101101011 01010101010110101010101010110101010101010110101 01011010110101010110101101010101010101011010101 01101011101010} &
$-778.875721$ \\\hline
4 & \multicolumn{2}{p{10cm}|}
{\raggedright
10101010101101011010101101010110101010101101011 01010101010110101010101010110101010101010110101 01011010110101010110101101010101010101011010101 01101011101010} &
$-778.878989$ \\\hline
5 & \multicolumn{2}{p{10cm}|}
{\raggedright
10101010101101101010101101010110101010101101011 01010101010110101010101010110101010101010101101 01011010101101010110101101010101010101011010101 01101011101010} &
$-778.965166$ \\\hline
\end{tabular}}
\end{table}
\end{document}
Is there a way to somehow highlight the differences in the second and the other ones compared to the first one? I would like to do it automatically as I have 50 tables like this and some character sequences are longer than this "short" one.
Thank you in advance.
\textbf{0}
or\textbf{1}
? Or your is your sequence inverbatim
environment? Please, clarify your question. The best would be to wrote small, complete document, which we can copy and compile.