summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/upmethodology
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-10 22:24:00 +0000
committerKarl Berry <karl@freefriends.org>2014-07-10 22:24:00 +0000
commite0e9c917d6f40572ef9261df8135043bb94d4f5c (patch)
tree3f13ca313cfc92556a84b3021f541c625d33d58d /Master/texmf-dist/tex/latex/upmethodology
parente9df03618ebbcdf76692fe47d544e93ba0167d80 (diff)
upmethodology (10jul14)
git-svn-id: svn://tug.org/texlive/trunk@34566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/upmethodology')
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def2
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls9
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty26
3 files changed, 33 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
index 22f923eda3a..3d056fd4b87 100644
--- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
+++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
@@ -1 +1 @@
-\def\UPMVERSION{20140620}
+\def\UPMVERSION{20140709}
diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
index 31daf883c67..8bd15cbb02b 100644
--- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
+++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
@@ -17,7 +17,7 @@
% write to the Free Software Foundation, Inc., 59 Temple Place - Suite
% 330, Boston, MA 02111-1307, USA.
-\global\edef\upm@package@docclazz@ver{2014/06/20}
+\global\edef\upm@package@docclazz@ver{2014/06/23}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{upmethodology-document}[\upm@package@docclazz@ver]
@@ -200,10 +200,15 @@
\global\let\upm@package@docclazz@backmatter\backmatter
\gdef\backmatter{%
- \upm@package@docclazz@backmatter%
\global\let\frontmatter\relax%
\global\let\mainmatter\relax%
\global\let\backmatter\relax%
+ \upm@package@docclazz@backmatter%
+ \global\let\upm@package@docclazz@appendix\appendix%
+ \gdef\appendix{%
+ \upm@package@docclazz@appendix%
+ \global\@mainmattertrue%
+ }%
}
%----------------------------------------
diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
index 6dbae535964..ecc0d1ba1a3 100644
--- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
+++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
@@ -17,7 +17,7 @@
% write to the Free Software Foundation, Inc., 59 Temple Place - Suite
% 330, Boston, MA 02111-1307, USA.
-\global\edef\upm@package@fmt@ver{2014/03/03}
+\global\edef\upm@package@fmt@ver{2014/07/09}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver]
@@ -633,6 +633,14 @@
% PAGE LAYOUT
%----------------------------------------
+% Change the factors for determining the element positions
+\renewcommand{\topfraction}{.99} % max fraction of floats at top
+\renewcommand{\bottomfraction}{.99} % max fraction of floats at bottom
+\renewcommand{\textfraction}{.5} % allow minimal text w. figs
+\renewcommand{\dbltopfraction}{.66} % fit big float above 2-col. text
+\renewcommand{\floatpagefraction}{0.99} % require fuller float pages | N.B.: floatpagefraction MUST be less than topfraction !!
+\renewcommand{\dblfloatpagefraction}{.66} % fit big float above 2-col. text
+
% Update the format of the saved pages and sections
\renewcommand{\sectionmark}[1]{\markright{\thesection\ \textsc{#1}}}
\ifupmarticleformat\else
@@ -1405,4 +1413,20 @@
% Declare the definition environment
\declareupmtheorem{definition}{\definitionname}{\listdefinitionname}
+%----------------------------------------
+% ENVIRONMENT FOR EMPHBOX
+%----------------------------------------
+
+%-----
+% Defining the style for the emphbox
+\colorlet{emphboxbackground}{backtableheader}
+\colorlet{emphboxborder}{fronttableheader}
+\colorlet{emphboxtext}{fronttableheader}
+
+\NewEnviron{emphbox}[1][\linewidth]{%
+ \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackground}%
+ \centering\color{emphboxtext}\BODY%
+ \end{framedcolorminipage}%
+}
+
\endinput