Quantcast
Channel: Active questions tagged copy-paste - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 70

Give permission to copy

$
0
0

I'm asking what usually people do not want. How can I give permission to copy my document? I mean, I haven't add some kind of obstacle, I can copy the titles, and some text that is in underline, bolded or in italics, but not the main text. The document language is in russian, but as I said, I can copy the titles, etc.

This is the mutavel style (short version, also could be downloaded from https://github.com/protsenkovi/latex-ssau-gost-style), I couldn't find nothing that generates this situation:

\ProvidesPackage{mutavel}\usepackage{calc}\RequirePackage[T2A]{fontenc} \RequirePackage[utf8]{inputenc}\RequirePackage[russian]{babel}\RequirePackage{misccorr} \RequirePackage{geometry}\geometry{    a4paper,    left=3cm,    right=1cm,    top=2cm,    bottom=2cm}\usepackage{titlesec}\newlength{\normalparindent}\AtBeginDocument{\setlength{\normalparindent}{1.25cm}}\newcommand{\sectionbreak}{\clearpage\newpage}\newcommand{\sectionFormat}[2][0em]{         \begin{minipage}[t]{\textwidth-\normalparindent-\widthof{\quad#1}}   % \quad is hardcoded value for separator between number and body.             \tolerance=10000                                                 % Длинныеслованевылезутзапределыграницыотступа.             \raggedright                                                     % Сбивкасловвлево. По-умолчаниюсловарастягиваютсяповсейстроке,                                                                               % равномернозаполняяпространствомеждусловамипробелами.              \nohyphens{#2}                                                   % Запретпереносов.         \end{minipage}}\titleformat{name=\section}[block]            {\normalsize\bfseries}                        % Стиль.                                  %¡¡¡SE HICIERON CAMBIOS!!! Anterior: {\Large\bfseries}                {\hspace*{\normalparindent}\thesection}  % Записьсабзацногоотступа.             {0em}                                    % Бездополнительногопробеламеждуномеромитекстомзаголовка.            {\sectionFormat[\thesection]}  \titleformat{name=\subsection}[block]    {\normalsize\bfseries}                                                      %¡¡¡SE HCIERON CAMBIOS!!! Anterior: {\Large\bfseries}        {\hspace*{\normalparindent}\thesubsection}    {0em}    {\sectionFormat[\thesubsection]}\titleformat{name=\subsubsection}[block]    {\normalsize\bfseries}                                                      %¡¡¡SE HICIERON CAMBIOS!!! Anterior: {\Large\bfseries}        {\hspace*{\normalparindent}\thesubsubsection}    {0em}    {\sectionFormat[\thesubsubsection]}\RequirePackage{tocloft}\renewcommand{\cfttoctitlefont}{~\hfill\normalsize\bfseries\MakeUppercase}\renewcommand{\cftaftertoctitle}{\hfill~}\newcommand{\structureElementFormat}[1]{    \tolerance=10000         \nohyphens{#1}        }\titleformat{name=\section, numberless=true}[block] % [shape]    {\normalsize\bfseries}                               % format                                       %¡¡¡SE HICIERON CAMBIOS!!! Anterior: {\Large\bfseries}                                                      {}                                              % label    {0em}                                           % separation    {}                                              % before section text.\newcommand{\summarytitle}{    \section*{\hfillРЕФЕРАТ\hfill}    }\newcommand{\introductiontitle}{      \section*{\hfillВВЕДЕНИЕ\hfill}    \addcontentsline{toc}{section}{Введение}  % Добавлениев toc.}\newcommand{\conclusiontitle}{    \section*{\hfillЗАКЛЮЧЕНИЕ\hfill}    \addcontentsline{toc}{section}{Заключение} % Добавлениев toc.}\newcounter{appendix}\renewcommand*\theappendix{\Asbuk{appendix}}\newcommand{\appendixtitle}[1]{    \clearpage\newpage    \titleformat{name=\section,numberless=true}[block]{\normalsize\bfseries}{}{1em}{\centering}  % Should be set only once i guess.    \refstepcounter{appendix}    \section*{ПРИЛОЖЕНИЕ \theappendix \\   #1}     \phantomsection                                                                         % Explanation for hyperref.    \addcontentsline{toc}{section}{Приложение \theappendix\quad#1}                          % Добавлениев toc.}\newcounter{totpages}\newcounter{totfigures}\newcounter{tottables}\newcounter{totreferences}\newcounter{totappendixes}\makeatletter    \AtEndDocument{      \clearpage      \addtocounter{page}{-1}      \addtocounter{totreferences}{-1}      \addtocounter{totpages}{\value{page}}      \addtocounter{totfigures}{\value{figure}}      \addtocounter{tottables}{\value{table}}      \addtocounter{totappendixes}{\value{appendix}}      \immediate\write\@mainaux{        \string\gdef\string\totpages{\number\value{totpages}}        \string\gdef\string\totfig{\number\value{totfigures}}        \string\gdef\string\tottab{\number\value{tottables}}        \string\gdef\string\totbibref{\number\value{totreferences}}        \string\gdef\string\totappendix{\number\value{totappendixes}}      }    }    \makeatother\gdef\totpages{??}\gdef\totfig{??}\gdef\tottab{??}\gdef\totbibref{??}\gdef\totappendix{??}\RequirePackage{fancyhdr} \lhead{}\chead{}\rhead{}\cfoot{\bfseries\thepage}\renewcommand{\headrulewidth}{0pt}\usepackage{enumitem}\renewcommand{\labelitemi}{--}\renewcommand{\labelenumi}{\theenumi.}\RequirePackage{color}\definecolor{mylinkcolor}{RGB}{0, 0, 0} %{0, 51, 102}\definecolor{mycitecolor}{RGB}{0, 0, 0} %{53, 75, 94}\definecolor{myfilecolor}{RGB}{0, 0, 0} %{53, 75, 94}\definecolor{myurlcolor}{RGB}{0, 0, 0}  %{0, 51, 102}\RequirePackage[    pdftex,     unicode,     pdfborder = {0 0 0},     colorlinks=true,    linkcolor=mylinkcolor,    citecolor=mycitecolor,     filecolor=myfilecolor,    urlcolor=myurlcolor]{hyperref}\RequirePackage{cmap}\RequirePackage{    amsmath,    amssymb,    amsthm}\RequirePackage[labelsep=endash]{caption} \RequirePackage{    multicol,    multirow,    colortbl}\captionsetup[table]{singlelinecheck=off, justification=raggedright}\RequirePackage{    graphicx,    floatflt,    grffile} \graphicspath{{images/}}\captionsetup[figure]{name=Рисунок}  % Рис 1. -> Рисунок 1\RequirePackage{subcaption} \renewcommand{\thesubfigure}{\asbuk{subfigure}}\RequirePackage[tracking=true, expansion=false]{microtype}\SetProtrusion{    encoding = T2A,    family = *}{« = {900,     },» = {    , 900},„ = {1000,     },“ = {    , 1000},    ( = {400,     },    ) = {    , 400},    ! = {    , 1000},    ? = {    , 1000},    : = {    , 1000},    ; = {    , 1000},    . = {    , 1000},    - = {    ,  700},    {,}= {    , 1000}}\SetTracking{encoding={*}, shape=sc}{40}\RequirePackage{    indentfirst,    hyphenat}\hyphenpenalty=5000\tolerance=1000\flushbottom\RequirePackage{cprotect}\RequirePackage{listings}\renewcommand{\lstlistingname}{Листинг}\definecolor{verywhite}{gray}{1}\lstset{    basicstyle=\ttfamily,    columns=fullflexible,    backgroundcolor=\color{verywhite},     showstringspaces=false,     showspaces=false,    keywordstyle=\bfseries,    keepspaces=true,    captionpos=b,    extendedchars=\true}\makeatletter\renewcommand{\@biblabel}[1]{\stepcounter{totreferences}#1.\hfill}\makeatother\AtBeginDocument{\renewcommand{\refname}{\normalsize\hfillСПИСОКИСПОЛЬЗОВАННЫХИСТОЧНИКОВ\hfill\phantomsection\addcontentsline{toc}{section}{Списокиспользованныхисточников}}}\input custom-math.tex

Viewing all articles
Browse latest Browse all 70

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>