Style package DMVN

When I saw on the main page topic about LaTeX in the same blog, I'm glad that habré is lit I close the topic (and a bit sad, I did not write that article himself ;)). Shoulders have some experience with Tex ohms in the 300 typeset pages of lectures on the calculus (three semesters), a pair of term papers and something on the little things. Experience a sin not to share — that's why I write this stuff.

Today we will talk about style package, which great simplifies the life of Those nicknames.

so style package DMVN is a collection of command-overrides (made in separate file) by which a set of formulas (Yes, because the main purpose latexa — this is a set of formulas!) greatly simplified. I will list those advantages, which saved a fair amount of time and I'll give you some examples. Read more in the document from the developers, which will be given at the end of the article.

Environment

In the lectures there is always the standard repetitive elements, such as theorem, proof, statement, etc. For convenience, you can define such a structure like the entourage in the header file (in our case, these environments are defined in style package), and in the text of the abstract is to write: \begin{theorem} ... \end{theorem}. The meaning of this is: first, to standardize the appearance of your document, and secondly, the automatic numbering (which can be adjusted on request).

the Council
For users powerful editor WinEdt — if you enter any environment \begin{[environment_name]}} to put a second extra curly brace, then WinEdt will automatically close the environment \end{[environment_name]}.

Simplified the Greek alphabet

Like nonsense, but Greek alphabet are known to be very widely used in mathematics. The reduction of some letters on a few of the characters lead to a certain gain in time. Compare: \lambda vs. \la and \varepsilon vs. \ep.

the Council
\varepsilon and \varphi looks prettier than \epsilon and \phi (in standard notation). Compare:


Images obtained using Online LaTeX Equation Editor.

Simplified set of limits, sums, integrals, etc.

This feature of the style pack at the time, blew me away, so much simpler set of equations. I'm not going to write beautiful words, just give a few examples — you can evaluate the amount of code written.

\lim\limits_{\delta\rightarrow0} vs. \the fat{\de\ra0}

\int\limits_{a}^{b}f(x)\,dx vs. \intl{a}{b}f(x)\,dx

\sum\limits_{k=1}^{n} vs. \sumkun


The developers have overridden the vast majority of characters used when typing mathematical texts. Memorized it fast enough, the benefit from this is huge.

Brackets

When set large, the formula size of parentheses surrounding the expression should be changed; if this is not done manually will be ugly:


In Teh e you can change the sizes of brackets, but to use it you need to surround the formula expression of the form \left( ... \right). In this style pack is enough to surround the formula expression \hr{} for the parentheses, \hs{} for square and so on for each bracket. Very convenient.

Matrix formulas

A set of "big" formulas (that don't go in a paragraph of text, and typed in a separate line) and matrix is simplified in the following way: it is enough to write \mat{a_1 &a_2 \\ b_1 &b_2} instead of
a_1 &a_2 \\ b_1 &b_2
\end{matrix}
to output this matrix:


For formulas instead of \begin{equation} .. \end{equation} is sufficient to write \equ{..}, the same simplification is made for multiline formulas, and formulas are numbered.

conclusion

Tell about an important redefinition of "special" characters for sets. To obtain one of the variants of the letter R

enough to write something of \Rc \Rb, \Rf, \Rg, \R.

Installation

In order to take advantage of this invaluable (at least for me) tool, just download this archive, unzip it into the folder with your TeX document and in the header (before \begin{document}) to write \usepackage{dmvn}.

Learn more about setting and the style pack can be read in official documentation.

Disadvantages

In a barrel of honey fly in the ointment. For myself I have no flaws found, but...
1) Code that is typed using the style package, will not compile in its absence. So, if you want to share your intellectual creativity with anyone, we must not forget to send me the files of the style pack.
2) the styling package has not been updated for a good two and a half years. Someone it may concern; I was talking about possible incompatibilities between new versions of LaTeX packages and that is used in the package DMVN. Me it, for some reason, a little worried.

To top it off I want to say thanks to Dmitry and Mikhail Veltishev — authors pack dmvn — and for their hard work and for your patient answers to my many questions when I was one of the originators of mastery learning Tex om :)

the Section on the authors website dedicated to Tex

Thank you for your attention.

In the future (if this article will be of interest to the community Habra) plan to write about installing and using WinEdt and working with graphics in TeX.
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

The use of Lisp in production

FreeBSD + PostgreSQL: tuning the database server

As we did a free Noodle for iOS and how we plan to earn