\documentclass[a4paper]{article}
% package for strike through
\usepackage{ulem}
\usepackage{xcolor}
\definecolor{darkgreen}{rgb}{0,0.4,0}
\begin{document}
...
\textcolor{red}{\sout{something has to be struck out}}
\textcolor{blue}{something has been added}
\textcolor{darkgreen}{something has been updated}
...
\end{document...
Monday, May 18, 2015
Strikethrough package in Latex
Read more ...
Monday, May 4, 2015
Convert MATLAB history.m to History.xml
Link.
fid = fopen('history.m');
% Create the document node and the root element, 'history'
docNode = com.mathworks.xml.XMLUtils.createDocument('history');
% Get the history node
history = docNode.getDocumentElement;
% Read the first line of the old history.m file
line = fgetl(fid);
% Loop through every line of the old history.m file while there are lines
while ischar(line)
% Add a command element for each command
command =...
Subscribe to:
Posts (Atom)