texlive[46513] Master/texmf-dist: awesomebox (1feb18)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 2 00:02:43 CET 2018


Revision: 46513
          http://tug.org/svn/texlive?view=revision&revision=46513
Author:   karl
Date:     2018-02-02 00:02:41 +0100 (Fri, 02 Feb 2018)
Log Message:
-----------
awesomebox (1feb18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.pdf
    trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.tex
    trunk/Master/texmf-dist/tex/latex/awesomebox/awesomebox.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/awesomebox/README.md

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/awesomebox/README

Deleted: trunk/Master/texmf-dist/doc/latex/awesomebox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/awesomebox/README	2018-02-01 17:55:44 UTC (rev 46512)
+++ trunk/Master/texmf-dist/doc/latex/awesomebox/README	2018-02-01 23:02:41 UTC (rev 46513)
@@ -1,47 +0,0 @@
-Awesome Boxes is all about drawing admonition blocks around text to
-inform or alert your readers about something particular. The specific
-aim of this package is to use FontAwesome¹ icons to ease the
-illustration of these blocks.
-
-This means all the magic of this package only exists if you previously
-installed FontAwesome on your system and made it available for use with
-XeTeX. Yes, this package requires you to use XeLaTeX too.
-
-The idea of admonition blocks comes from the ones you can easily do with
-AsciiDoc².
-
-We use the previous work of Honza Ustohal on fontawesome.sty³ to build
-this package. However, we made two important modifications:
-
- 1. we rename the internal commands of fontawesome.sty from \fa to
-    \abIcon and the \FA font switch to \ABFamily to avoid collision if
-    you want to use both of them;
- 2. we remove most of the provided icons to only kept the one we really
-    use in this package.
-
-For more details, please refer to the awesomebox.pdf document.
-
-¹ http://fontawesome.io/icons/http://asciidoctor.org/docs/user-manual/#admonitionhttps://gist.github.com/sway/3101743
-⁴ https://github.com/milouse/latex-awesomebox/blob/master/awesomebox.pdf
-
-* Requirements
-
- - a working XeLaTeX environment
- - the ifxetex, ifluatex, xltxtra, xcolor and tabularx LaTeX packages
- - FontAwesome (http://fontawesome.io/icons/)
-
-* Installation
-
-Download the awesomebox.sty file and put it in the same folder of the
-document your are composing.
-
-For system wide installation, please refer to the documentation of your
-XeLaTeX distribution.
-
-* License
-
-Awesome Box is released under the WTFPL
-(http://www.wtfpl.net/txt/copying/). A copy of this license is
-distributed in this package.

Added: trunk/Master/texmf-dist/doc/latex/awesomebox/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/awesomebox/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/awesomebox/README.md	2018-02-01 23:02:41 UTC (rev 46513)
@@ -0,0 +1,50 @@
+Awesome Boxes is all about drawing admonition blocks around text to
+inform or alert your readers about something particular. The specific
+aim of this package is to use
+[FontAwesome](http://fontawesome.io/icons/) icons to ease the
+illustration of these blocks.
+
+This means all the magic of this package only exists if you previously
+installed FontAwesome on your system and made it available for use with
+XeTeX. Yes, this package requires you to use XeLaTeX too.
+
+The idea of admonition blocks comes from the ones you can easily do with
+[AsciiDoc](http://asciidoctor.org/docs/user-manual/#admonition).
+
+We use the previous work of Honza Ustohal on
+[fontawesome.sty](https://gist.github.com/sway/3101743) to build this
+package. However, we made two important modifications:
+
+1.  we rename the internal commands of `fontawesome.sty` from `\fa` to
+    `\abIcon` and the `\FA` font switch to `\ABFamily` to avoid
+    collision if you want to use both of them;
+2.  we remove most of the provided icons to only kept the one we really
+    use in this package.
+
+For more details, please refer to the
+[awesomebox.pdf](https://github.com/milouse/latex-awesomebox/blob/master/awesomebox.pdf)
+document.
+
+Requirements
+============
+
+-   a working XeLaTeX environment
+-   the `ifxetex`, `ifluatex`, `xltxtra`, `xcolor` and `tabularx` LaTeX
+    packages
+-   [FontAwesome](http://fontawesome.io/icons/)
+
+Installation
+============
+
+Download the `awesomebox.sty` file and put it in the same folder of the
+document your are composing.
+
+For system wide installation, please refer to the documentation of your
+XeLaTeX distribution.
+
+License
+=======
+
+Awesome Box is released under the
+[WTFPL](http://www.wtfpl.net/txt/copying/). A copy of this license is
+distributed in this package.


Property changes on: trunk/Master/texmf-dist/doc/latex/awesomebox/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.tex	2018-02-01 17:55:44 UTC (rev 46512)
+++ trunk/Master/texmf-dist/doc/latex/awesomebox/awesomebox.tex	2018-02-01 23:02:41 UTC (rev 46513)
@@ -47,7 +47,7 @@
 
 \title{Awesome Boxes}
 \author{Étienne Deparis}
-\date{\today}
+\date{2018-01-31 v0.2}
 
 \begin{document}
 
@@ -268,7 +268,24 @@
 default value is 2pt and you can change it with:
 \verb!\setlength{\aweboxrulewidth}{2pt}!.
 
+\section{In other environments}
 
+Awesome boxes may be used in any other environments, like in a list.
+
+\begin{verbatim}
+\begin{itemize}
+\item My first item
+\item My second item with \notebox{A note box!}
+\item Last and finally
+\end{itemize}
+\end{verbatim}
+
+\begin{itemize}
+\item My first item
+\item My second item with \notebox{A note box!}
+\item Last and finally
+\end{itemize}
+
 \colophon
 
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/awesomebox/awesomebox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/awesomebox/awesomebox.sty	2018-02-01 17:55:44 UTC (rev 46512)
+++ trunk/Master/texmf-dist/tex/latex/awesomebox/awesomebox.sty	2018-02-01 23:02:41 UTC (rev 46513)
@@ -1,5 +1,5 @@
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{awesomebox}[2016/11/22 v0.1]
+\ProvidesPackage{awesomebox}[2018/01/31 v0.2]
 
 % Awesome Box has been written by Étienne Deparis and is released under
 % the WTFPL (http://www.wtfpl.net/txt/copying/).
@@ -75,7 +75,7 @@
 \newcommand{\awesomebox}[4]{%
   \vspace{\aweboxvskip}
   \noindent
-  \begin{tabularx}{\textwidth}{%
+  \begin{tabularx}{\linewidth}{%
       m{\aweboxleftmargin}!{\color{#3}\vrule width #2}X}
     \raisebox{\aweboxsignraise}{\textcolor{#3}{\Huge\ABFamily#1}} & #4 \\
   \end{tabularx}



More information about the tex-live-commits mailing list