texlive[43350] Master: fnspe (27feb17)

commits+karl at tug.org commits+karl at tug.org
Mon Feb 27 23:38:16 CET 2017


Revision: 43350
          http://tug.org/svn/texlive?view=revision&revision=43350
Author:   karl
Date:     2017-02-27 23:38:16 +0100 (Mon, 27 Feb 2017)
Log Message:
-----------
fnspe (27feb17)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/fnspe/
    trunk/Master/texmf-dist/doc/latex/fnspe/README
    trunk/Master/texmf-dist/doc/latex/fnspe/README.TEXLIVE
    trunk/Master/texmf-dist/tex/latex/fnspe/
    trunk/Master/texmf-dist/tex/latex/fnspe/fnspe.sty
    trunk/Master/tlpkg/tlpsrc/fnspe.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/fnspe/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fnspe/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/fnspe/README	2017-02-27 22:38:16 UTC (rev 43350)
@@ -0,0 +1,19 @@
+README for fnspe.sty
+
+fnspe 1.0
+Created by Michal Zeman
+Updated February 27, 2017
+
+E-mail comments and suggestions to: michalzemaster at gmail.com
+GIT contribution: https://bitbucket.org/Zemaster/fnspe-latex-package
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for 
+the details of that license.
+
+This package is primary intended for students of FNSPE CTU in Prague 
+but many other students or scientists can found this package as useful. 
+
+This package implements different standards of tensor notation, 
+interval notation and complex notation. Further many macros and 
+shortcuts are added, e.q. for spaces, operators, physics unit, etc. 
\ No newline at end of file

Added: trunk/Master/texmf-dist/doc/latex/fnspe/README.TEXLIVE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fnspe/README.TEXLIVE	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/fnspe/README.TEXLIVE	2017-02-27 22:38:16 UTC (rev 43350)
@@ -0,0 +1,7 @@
+The following files have been removed in the TeX Live installation of
+the current package, typically due to duplication, lack of space, or
+missing source code.  You can find these files on CTAN at
+	http://mirror.ctan.org/macros/latex/contrib/fnspe
+If questions or concerns, email tex-live at tug.org.
+
+	fnspe.pdf

Added: trunk/Master/texmf-dist/tex/latex/fnspe/fnspe.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fnspe/fnspe.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fnspe/fnspe.sty	2017-02-27 22:38:16 UTC (rev 43350)
@@ -0,0 +1,150 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{fnspe}[2017/02/27 Package for FNSPE CTU in Prague made by Michal Zeman]
+
+\RequirePackage{xstring}
+\RequirePackage{bm}
+
+\RequirePackage{amsmath}
+\RequirePackage{amsfonts}
+\RequirePackage{mathrsfs}
+\RequirePackage{amsthm}
+\RequirePackage{amssymb}
+\RequirePackage{xcolor}
+\RequirePackage{listings}
+\RequirePackage{physics}
+
+\newif\if at isointerval\@isointervalfalse
+\DeclareOption{isointerval}{
+	\@isointervaltrue
+}
+
+\newif\if at isoointerval\@isoointervalfalse
+\DeclareOption{isoointerval}{
+	\@isoointervaltrue
+}
+
+\newif\if at fnspeinterval\@fnspeintervalfalse
+\DeclareOption{fnspeinterval}{
+	\@fnspeintervaltrue
+}
+
+\newif\if at isotensor\@isotensorfalse
+\DeclareOption{isotensor}{
+	\@isotensortrue
+}
+
+\newif\if at undertensor\@undertensorfalse
+\DeclareOption{undertensor}{
+	\@undertensortrue
+}
+
+\newif\if at arrowtensor\@arrowtensorfalse
+\DeclareOption{arrowtensor}{
+	\@arrowtensortrue
+}
+
+\newif\if at oldcomplex\@oldcomplexfalse
+\DeclareOption{oldcomplex}{
+	\@oldcomplextrue
+}
+
+\newif\if at isocomplex\@isocomplexfalse
+\DeclareOption{isocomplex}{
+	\@isocomplextrue
+}
+
+\ProcessOptions\relax
+
+\lstset
+{
+	language=[LaTeX]TeX,
+	breaklines=true,
+	basicstyle=\tt\scriptsize,
+	morekeywords = [28]{ci,oi,lci,rci,rest,dif, hlf, degree, hem, htem, oover, realn, inte, ratin, compn, natun, impem, rot, dive, grad, lapl, varun, unit, expv, norm, abs, pder, tder,mat,curl,laplacian,divisionsymbol},
+	keywordstyle=\color{blue},
+	identifierstyle=\color{magenta},
+}
+
+%\catcode`_=\active
+
+%\newcommand_[1]{\IfSubStr{#1}{!}{\sb{\mathrm{\StrBehind{#1}{!}}}}{\sb{#1}} }
+
+\mathcode`\_=\string"8000
+\catcode`\_=12
+
+\begingroup
+\catcode`\_=\active
+\gdef_#1{\IfSubStr{#1}{!}{\sb{\mathrm{\StrBehind{#1}{!}}}}{\sb{#1}} }
+\endgroup
+\mathcode`\_=\string"8000
+\catcode`\_=12
+
+\if at arrowtensor
+\else
+\renewcommand{\vec}[1]{\ensuremath{\if at undertensor \underline{#1} \else \bm{\mathrm{\MakeLowercase{#1}}} \fi}}
+\fi
+
+\newcommand{\mat}[1]{\ensuremath{\if at undertensor \underline{\underline{#1}} \else \if at arrowtensor \overset{\leftrightarrow}{#1} \else \bm{\mathrm{\MakeUppercase{#1}}} \fi \fi}}
+	
+%\newcommand{\pder}[3][]{\ensuremath{\frac{\partial^#1 #2}{\partial #3^#1}}} \pdv
+
+\newcommand*{\tder}[3][]{\dv[#1]{#2}{#3}} %\dv
+
+\newcommand{\oi}[2]{\ensuremath{\if at fnspeinterval \left( #1 , #2 \right) \else \if at isoointerval \left( #1 , #2 \right) \else \left] #1 , #2 \right[ \fi  \fi}}
+
+\newcommand{\ci}[2]{\ensuremath{\if at fnspeinterval \left< #1 , #2 \right> \else \left[ #1 , #2 \right] \fi}}
+
+\newcommand{\rci}[2]{\ensuremath{\if at fnspeinterval \left( #1 , #2 \right> \else \if at isoointerval  \left( #1 , #2 \right] \else \left] #1 , #2 \right] \fi  \fi}}
+
+\newcommand{\lci}[2]{\ensuremath{\if at fnspeinterval \left< #1 , #2 \right) \else \if at isoointerval \left[ #1 , #2 \right) \else \left[ #1 , #2 \right[ \fi  \fi}}
+
+%\newcommand{\rest}[2]{\ensuremath{\left.#1\right|_{#2}}}
+
+\newcommand{\dif}[1]{\ensuremath{\mathrm d #1}}
+
+\newcommand{\hlf}{\ensuremath{\frac{1}{2}}}
+
+\newcommand{\degree}{\ensuremath{{}^{\circ}}}
+%\newcommand{\deg}{\degree}
+
+\newcommand{\hem}[1][1]{\ensuremath{\hspace{#1em}}}
+\newcommand{\htwoem}{\ensuremath{\hspace{2em}}}
+\newcommand{\htem}{\ensuremath{\htwoem}}
+
+\newcommand{\oover}[1]{\ensuremath{\ensuremath{\frac{1}{#1}}}}
+
+\newcommand{\realn}{\ensuremath{\mathbb{R}}}
+\newcommand{\compn}{\ensuremath{\mathbb{C}}}
+\newcommand{\inte}{\ensuremath{\mathbb{Z}}}
+\newcommand{\ratin}{\ensuremath{\mathbb{Q}}}
+\newcommand{\natun}{\ensuremath{\mathbb{N}}}
+
+\newcommand{\impem}{\ensuremath{\hem \Rightarrow \hem}}
+
+\newcommand{\rot}{\ensuremath{\curl}}
+%\newcommand{\dive}{\ensuremath{\nabla \cdot}}
+%\newcommand{\grad}{\ensuremath{\nabla}}
+\newcommand{\lapl}{\ensuremath{\Delta}} %\laplacian
+
+\newcommand{\varun}[2]{\ensuremath{\left[#1\right]=\mathrm{#2}}}
+\newcommand{\unit}[1]{\ensuremath{\;\mathrm{#1}}}
+\newcommand{\expv}[1]{\ensuremath{\left<#1\right>}}
+
+%\newcommand{\norm}[1]{\ensuremath{\left|\left|#1\right|\right|}}
+%\newcommand{\abs}[1]{\ensuremath{\left|#1\right|}}
+
+\if at oldcomplex
+\renewcommand{\Re}{\mathfrak{Re}}
+\else
+\renewcommand{\Re}{\mathrm{Re}\;}
+\fi
+
+\if at oldcomplex
+\renewcommand{\Im}{\mathfrak{Im}}
+\else
+\renewcommand{\Im}{\mathrm{Im}\;}
+\fi
+
+%\newcommand{\maxv}[1]{\vec{\mathcal{#1}}}
+%\newcommand{\maxs}[1]{\mathcal{#1}}
+

Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2017-02-27 22:36:36 UTC (rev 43349)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2017-02-27 22:38:16 UTC (rev 43350)
@@ -263,7 +263,7 @@
     float floatflt floatrow
     flowchart flowfram fltpoint
     fmp fmtcount
-    fn2end fnbreak fncychap fncylab fnpara fnpct fntproof fnumprint
+    fn2end fnbreak fncychap fncylab fnpara fnpct fnspe fntproof fnumprint
     foekfont foilhtml fonetika
     fontawesome font-change font-change-xetex fontaxes fontbook fontch fontinst
     fontmfizz fontools

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2017-02-27 22:36:36 UTC (rev 43349)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2017-02-27 22:38:16 UTC (rev 43350)
@@ -2960,6 +2960,7 @@
  'epslatex-fr'   => 'R?Danger.eps',                     # unneeded, name clash
  'exceltex'      => 'manpage.pdf',                      # no source
  'flacards'      => 'flacards.pdf',                     # no source
+ 'fnspe'	 => 'fnspe.pdf',                        # no source	
  'gfsartemisia'  => 'A*Specimen.pdf',                   # no source
  'gfsbaskerville'=> 'B*Specimen.pdf',                   # no source
  'gfsbodoni'     => 'B*Specimen.pdf',                   # no source

Modified: trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc	2017-02-27 22:36:36 UTC (rev 43349)
+++ trunk/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc	2017-02-27 22:38:16 UTC (rev 43350)
@@ -64,6 +64,7 @@
 depend extarrows
 depend extpfeil
 depend faktor
+depend fnspe
 depend fouridx
 depend functan
 depend galois

Added: trunk/Master/tlpkg/tlpsrc/fnspe.tlpsrc
===================================================================


More information about the tex-live-commits mailing list