Adding vertical and horizontal dashed lines to array{} and tabular{} environments in LaTeX:
arydshln Package
http://www.ctan.org/pkg/arydshln
A related question:
How to add vertical and horizontal dashed lines in array and tabular enviroments?
http://tex.stackexchange.com/questions/122301/how-to-add-vertical-and-horizontal-dashed-lines-in-array-and-tabular-enviroments
Thursday, October 25, 2012
Tuesday, October 2, 2012
PDFlatex when submitting to journal servers
If you are using PDFLaTeX for your paper, and want to submit it to EES
servers of Elsevier (for Pattern Recognition or other journals), you need to put these 5
lines at the beginning of your LaTeX file:
%&pdflatex
The first line is commented but will be used. The third line can be uncommented, if you want the references be sorted according to their appearance in the paper.
And, it is important that these line do not go beyond the first-5 lines of the file.
%&pdflatex
\documentclass[review,preprint,12pt]{elsarticle}
% \biboptions{sort&compress} % natbib is loaded by default
\pdfoutput=1
\pdfoptionpdfminorversion=5%
The first line is commented but will be used. The third line can be uncommented, if you want the references be sorted according to their appearance in the paper.
And, it is important that these line do not go beyond the first-5 lines of the file.
Thursday, September 27, 2012
Error using fit Too many input arguments. (How to solve)
The problem was that fit.m function of the Matlab Curvefit toolbox was shadowed by the other fit.m functions of the other Matlab toolboxes. Here, there is a solution with minimal intervention (no filename or no on-the-fly path correction is required). A new function handle is assigned to the fit.m function of the Matlab Curvefit toolbox. The solution is based on the discussions in the links below, and the credit goes to the contributors to those discussions.
The solution:
% first locate the correct fit.m of the Matlab Curvefit toolbox
current_pwd = pwd;
cd([[matlabroot, '\toolbox\curvefit\curvefit']])
exist('fit', 'file');
org_curvefit_fit = str2func('fit');
cd(current_pwd)
% use it
CDF_for_fit = fittype('a*(x-b)');
paramhat = org_curvefit_fit(t_0, CDF_empirical, CDF_for_fit, ...
'StartPoint', [5.6, 1.5], 'Lower', [0, 0], 'Robust', 'LAR');
Links:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/264354
http://www.mathworks.com/matlabcentral/answers/208
The solution:
% first locate the correct fit.m of the Matlab Curvefit toolbox
current_pwd = pwd;
cd([[matlabroot, '\toolbox\curvefit\curvefit']])
exist('fit', 'file');
org_curvefit_fit = str2func('fit');
cd(current_pwd)
% use it
CDF_for_fit = fittype('a*(x-b)');
paramhat = org_curvefit_fit(t_0, CDF_empirical, CDF_for_fit, ...
'StartPoint', [5.6, 1.5], 'Lower', [0, 0], 'Robust', 'LAR');
Links:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/264354
http://www.mathworks.com/matlabcentral/answers/208
Wednesday, September 5, 2012
"SpellCheckPlus" is a grammar checker that finds common spelling errors and grammatical mistakes in English.
http://spellcheckplus.com/
http://spellcheckplus.com/
Wednesday, August 22, 2012
Problems with \ref when using soul for highlighting in LaTeX
http://tex.stackexchange.com/questions/23307/problems-with-ref-when-using-soul-for-highlighting
Enclosing the
http://tex.stackexchange.com/questions/23307/problems-with-ref-when-using-soul-for-highlighting
Enclosing the
\ref{x} in { } works.
Monday, August 13, 2012
Subscribe to:
Posts (Atom)