Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\begin{environment} \end{enviroment} #51

Open
pauloney opened this issue Feb 25, 2019 · 0 comments
Open

\begin{environment} \end{enviroment} #51

pauloney opened this issue Feb 25, 2019 · 0 comments

Comments

@pauloney
Copy link

pauloney commented Feb 25, 2019

There are two types of environments -- as far as preservation of of the content of options. We should separate them in two classes and deal with them appropriately.

No matter if we preserve or delete the contents (insides) of an environment, we should always delete the \begin{environment} and \end{environment}, including the name of the environment. So far, we take the \begin{} and \end{} only and leve the name of the environment back -- which is not good.

Type I:

Any content as an option of the first environment type as in:

\begin{teo}[Uniformidade transversal de $\mathscr{F}$]
    This is a content to be preserved.
\end{teo}

should be preserved.

Type II:

At the same time the contents in the options of environments like:

\begin{figure}[htb]
\includegraphics[scale=1.0]{f31}
\caption{This is a text to be preserved}
\end{figure}

should be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant