Hi here,

I want to have the feature of (Un)comment a line or several lines with
markers at an arbitrary position(s) in/spanning this/these line(s).
Say in the following example, `|` indicates the markers:

\usepackage|[T1]{fontenc}

\usepackage[utf8]{inputenc}|


`C-c ;` gives the following:

\usepackage% [T1]{fontenc}
% \usepackage[utf8]{inputenc}

`C-c %` gives the following:

\usepackage[T1]{fontenc}

% \usepackage[utf8]{inputenc}

But the desired result is something as follows:

% \usepackage[T1]{fontenc}
%
% \usepackage[utf8]{inputenc}

Any tips will be appreciated.

Regards,
Zhao
-- 
Assoc. Prof. Hongsheng Zhao <hongyi.z...@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

Reply via email to