How to make Greek letters in formulas in italic font in LaTeX

As is known, in formulas of the Greek letters and integrals are inclined. In the old Soviet literature in the formulas of the Greek letters and integrals were straight and some people require articles, dissertations, abstracts and other documents of the Greek letters, too, were in normal font.
Here's a suggested package that can implement this in LaTeX. This package I did in the process of working on the dissertation when I was asked to Greek letters in the formulas was the straight type.

This is a picture that shows how will look formula written in LaTeX, if I connect my package:


If someone is suddenly needed, see cat.



Ready package for LaTeX that implements such a function, I have not found. The search for solutions has led to the use of mathptm package, but this package formula starting to look like in Word. Latin characters are intermediate between normal and bold. Also lose the bold font style of headings \section, \subsection.

In General, I had to make your own bike.
The idea forming the basis of my package borrowed here. The link explains how to redefine the Greek letters in the document preamble.

All decorated in the form of three packages:

the
    the
  • rumathgrk defines straight Greek characters.
    for example, \alphaup — direct letter alpha \betaup — video letter "beta", etc.
  • the
  • rumathgrk1 — overrides the standard Greek symbols ( \alpha, \beta, etc.) so they were straight
  • the
  • fixint overrides the integrals so that they were straight. It should be noted that the class disser option fixint does the same thing.


For use to connect in the preamble to any of these packages in any combination. To use the package fixint, you need to include the package amsmath. Packages compatible with popular set of styles to clearance of theses disser.

Here is an example of a minimal document:

the
\documentclass[a4paper,12pt]{article}
\usepackage[koi8-r]{inputenc}
\usepackage[russian]{babel}
\usepackage{hyperref}
\usepackage{mathtext}
\usepackage{amsmath}
\usepackage{fixint} % here hooked up our packages
\usepackage{rumathgrk1} % now Greek letters and integrals will be overridden

\begin{document}

% In these formulas, the Greek letters are printed in normal font
\begin{equation}
S(\omega)=F[s(t)]=\int\limits_{-\infty}^{+\infty}s(t)\mbox{e} ^{-j\omega t} dt
\end{equation}

\begin{equation}
F=\frac{q_1 q_2}{4\pi \varepsilon_0 \varepsilon r^2}
\end{equation}

\end{document}


If the direct integrals and Greek letters in the document becomes no longer necessary, simply remove from the preamble packets rumathgrk1 and fixint.

To pick up packages Githa: here In Linux, if you installed git, you can do so with the command:
the
git clone https://github.com/ra3xdh/rumathgrk


To install TeXlive in Linux and in the console go to the directory containing the package and execute the command:

the
make install


Windows packages have not been tested but should also work. Install MiKTeX for them it is necessary manually. Allowed use for any purpose.

And in conclusion, I like the standard slanted Greek letters and integrals of LaTeX. I note that in General, people are inclined integrals and Greek letters bearable. Usually the standard font in LaTeX suits all.
Article based on information from habrahabr.ru

Comments

Popular posts from this blog

Powershell and Cyrillic in the console (updated)

Active/Passive PostgreSQL Cluster, using Pacemaker, Corosync

Experience with the GPS logger Holux M-241. Working from under Windows, Mac OS X, Linux