diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/ycbook')
-rw-r--r-- | Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf | bin | 63043 -> 126345 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex | 81 |
2 files changed, 10 insertions, 71 deletions
diff --git a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf Binary files differindex 37305295dd0..065cbd441d4 100644 --- a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf +++ b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf diff --git a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex index 4dee0ce0f37..4adce9aaf6c 100644 --- a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex +++ b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex @@ -100,8 +100,9 @@ \newcommand{\opt}[1]{\texttt{#1}} -\title{\estrela{\textit{ycbook}}\\ - \tikz \node[left color=PineGreen,rectangle,remember picture, overlay,rounded corners=3pt] at (0,0) {A versatile and simple book class};\\ +\title{\estrela{\textit{ycbook}}\tikz \node[inner sep=0pt,remember picture,overlay] at (-2,4){\includegraphics[height=3cm,width=0.4\textwidth,keepaspectratio]{icone}};\\ + \tikz \node[left color=PineGreen,rectangle,remember picture, overlay, + rounded corners=3pt] at (0,0) {A versatile and simple book class};\\ \tikz \draw[teal,remember picture, overlay,thick] (-4.2,0.2) -- (4,0.2);% %\tikz \node[remember picture,overlay] at (7,5) {\florgrande};% % @@ -123,69 +124,12 @@ \newcommand{\estrela}[1]{\tikz \node [top color=SpringGreen,star,star points=7] at (0,0) {#1};}%,star point ratio=0.8 % shading angle=45, -\newcommand{\mybox}[1]{% - \begin{center}% - \begin{tikzpicture}% - \node[rectangle, draw=green, top color=SpringGreen, bottom color=Dandelion,shading angle=45,rounded corners=5pt, inner xsep=5pt, inner ysep=6pt, outer ysep=10pt,drop shadow]{ - \begin{minipage}{0.75\linewidth}#1\end{minipage}};% - \end{tikzpicture}% - \end{center}% -} -%top color=green!10, bottom color=green!90 -%drop shadow=PineGreen -\newcommand\fadingtext[3][]{% - \begin{tikzfadingfrompicture}[name=fading letter] - \node[text=transparent!0,inner xsep=0pt,outer xsep=0pt,#1] {#3}; - \end{tikzfadingfrompicture}% - \begin{tikzpicture}[baseline=(textnode.base)] - \node[inner sep=0pt,outer sep=0pt,#1](textnode){\phantom{#3}}; - \shade[path fading=fading letter,#2,fit fading=false] - (textnode.south west) rectangle (textnode.north east);% - \end{tikzpicture}% -} - -\newcommand{\florgrande}{% - \fadingtext[scale=6]{top color=Dandelion,bottom color=PineGreen,shading angle=45}{\flor} - } - +\usepackage{tcolorbox} +\tcbuselibrary{skins} +\newtcolorbox{caixa}{enhanced, + interior style={left color=SpringGreen,right color=Dandelion},frame hidden,width=0.8\textwidth,center,drop shadow} -%%% mdframed + tikz -\tikzset{caixa/.style= - {draw=green, top color=SpringGreen, bottom color=Dandelion,shading angle=45,%rounded corners=5pt, inner xsep=5pt, inner ysep=6pt, outer ysep=10pt,drop shadow - } -} -\tikzset{mdfshadow/.style={drop shadow=}}% - -%%%this works well -\mdfdefinestyle{caixa}{userdefinedwidth=0.77\textwidth,% - font=\small,% - shadow=true,% - shadowsize=5pt,% - roundcorner=5pt,% - align=center,% - %leftmargin=0.3\textwidth,% - %rightmargin=0.3\textwidth,% - linecolor=green,% - innerleftmargin=4pt,% - innerrightmargin=4pt, - apptotikzsetting - ={\tikzset{mdfbackground/.append style=caixa} }} - - -%%%this doesn't work well -\newmdenv[%userdefinedwidth=0.75\textwidth,% -shadow=true,% -shadowsize=5pt,% -roundcorner=5pt,% -%align=center,% -%leftmargin=0.3\textwidth,% -%rightmargin=0.3\textwidth,% -linecolor=green,% -innerleftmargin=3pt,% -innerrightmargin=3pt, -apptotikzsetting -={\tikzset{mdfbackground/.append style=caixa} }]{caixa} \usepackage{lipsum} @@ -194,6 +138,7 @@ apptotikzsetting %\setlength{\columnseprule}{1pt} + \begin{document} \maketitle @@ -201,17 +146,11 @@ apptotikzsetting \thispagestyle{scrheadings} -%\mybox{ -% This class is intended to be an interpretation of the \textit{mwbk} class from Mar\-cin Wo\-li\'{n}s\-ki's \textit{mwcls} classes. The \textit{mwcls} classes are simple, yet powerful and customizable classes that allow the end-user to customize the layout of headers, headings etc. They also have the benefit of being more economic in space than the most common \LaTeX\ classes, while keeping a clear appearance and a smooth flow. -%} - -%\tableofcontents - -\begin{mdframed}[style=caixa] +\begin{caixa} This class is intended to be an interpretation of the \texttt{mwbk} class from Mar\-cin Wo\-li\'{n}s\-ki's \texttt{mwcls} classes. The \texttt{mwcls} class\-es are simple, yet powerful and customizable classes that allow the end user to customize the layout of headers, headings etc. They also have the benefit of being more economic in space than the most common \LaTeX\ classes, while keeping a clear appearance and a smooth flow. %\lipsum[1-5] -\end{mdframed} +\end{caixa} \tableofcontents |