Re: special characters in tex file

Christopher Weedall <[email protected]> Fri, 21 Apr 2017 09:41:26 +1000
Newsgroups gmane.comp.tex.miktex
Message-ID <CAMCFPw=qJ6tpvaKtyFGfOKe+o3cZaAAJyKYsv9axcdcYTEUL0A@mail.gmail.com>
Hi Arkady,

What are you doing in the first place?  It appears you use \in and \infty
in your document...but what do you expect to appear?  You want "\in" and
"\infty" to appear literally?  \ is a special character in TeX.  If you use
\ followed by anything, you should expect the output to be different than
your raw .tex document.  In this case, for example, I would expect "\infty"
to be replace by the actual infinity symbol.  This is by design.

If you want \ to appear literally, you have two options.  1) use
\textbackslash{} instead of the backslash (e.g. \textbackslash{}infty ) or
2) use either the \verb command (e.g. \verb|\infty| ) or verbatim
environment (e.g. \being{verbatim} ...\infty... \end{verbatim} ).  See, for
example, https://tex.stackexchange.com/a/9365/78866 and
https://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting#Verbatim_text

There is no way to suppress this behavior in (La)TeX.  You simply need to
get in the habit of using these methods when you want to have \ appear in
your output.

Based on your message, it is unclear if my advice is what you are looking
for or not.  If not, include a minimal working example of the document and
also the exact output you receive from compiling that document.  This helps
others identify the problem more easily.

Best,
Chris


On Fri, Apr 21, 2017 at 9:06 AM, Arkady Kitover <[email protected]>
wrote:

> I am not sure if it is a Winedt or a Miktex issue but after compilation
> the program inserts into the tex file some special characters, e.g. ∈
> instead of \in or  ∞ instead of \infty. Is there any way to suppress this
> feature?
>
>
> Arkady Kitover
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Q: How can I leave the mailing list?
> A: See http://docs.miktex.org/faq/support.html#leavingml
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml