function s = strrep_(s)
% Escape string characters with \ so that they are not interpretted as 
% TeX instructions.
% This function is used by several roms_*view routines so that ROMS
% filenames are not corrupted in the title string
%
% Copyright (c) 2021 - John L. Wilkin - jwilkin@rutgers.edu
% $Id$

s = strrep(s,'\','\\');
s = strrep(s,'_','\_');
s = strrep(s,'^','\^');

