Commit bddcc6ff authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed xcolor warnings when building opencv_tutorials.pdf

parent f6647085
...@@ -170,7 +170,7 @@ htmlhelp_basename = 'opencv' ...@@ -170,7 +170,7 @@ htmlhelp_basename = 'opencv'
# OpenCV docs use some custom LaTeX macros in the formula. Make sure we include the definitions # OpenCV docs use some custom LaTeX macros in the formula. Make sure we include the definitions
pngmath_latex_preamble = r""" pngmath_latex_preamble = r"""
\usepackage{euler}\usepackage[usenames,dvipsnames]{color}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\usepackage[table]{xcolor} \usepackage{euler}\usepackage[usenames,dvipsnames]{color}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\usepackage{colortbl}
\newcommand{\matTT}[9]{ \newcommand{\matTT}[9]{
\[ \[
\left|\begin{array}{ccc} \left|\begin{array}{ccc}
...@@ -235,7 +235,7 @@ preamble =""" ...@@ -235,7 +235,7 @@ preamble ="""
\usepackage{euler} \usepackage{euler}
\usepackage[scaled=0.85]{beramono} \usepackage[scaled=0.85]{beramono}
\usepackage{mymath}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\setcounter{secnumdepth}{1} \usepackage{mymath}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\setcounter{secnumdepth}{1}
\usepackage[table]{xcolor} \usepackage{colortbl}
""" """
latex_elements = {'preamble': preamble} latex_elements = {'preamble': preamble}
......
...@@ -65,7 +65,7 @@ As you could already read in my :ref:`matTheBasicImageContainer` tutorial the si ...@@ -65,7 +65,7 @@ As you could already read in my :ref:`matTheBasicImageContainer` tutorial the si
.. math:: .. math::
\newcommand{\tabItG}[1] { \textcolor{black}{#1} \cellcolor{gray}} \newcommand{\tabItG}[1] { \textcolor{black}{#1} \cellcolor[gray]{0.8}}
\begin{tabular} {ccccc} \begin{tabular} {ccccc}
~ & \multicolumn{1}{c}{Column 0} & \multicolumn{1}{c}{Column 1} & \multicolumn{1}{c}{Column ...} & \multicolumn{1}{c}{Column m}\\ ~ & \multicolumn{1}{c}{Column 0} & \multicolumn{1}{c}{Column 1} & \multicolumn{1}{c}{Column ...} & \multicolumn{1}{c}{Column m}\\
Row 0 & \tabItG{0,0} & \tabItG{0,1} & \tabItG{...} & \tabItG{0, m} \\ Row 0 & \tabItG{0,0} & \tabItG{0,1} & \tabItG{...} & \tabItG{0, m} \\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment