--- a/docs/Makefile
+++ b/docs/Makefile
@@ -4,7 +4,7 @@
 # You can set these variables from the command line.
 SPHINXOPTS    =
 SPHINXBUILD   = sphinx-build
-PAPER         =
+PAPER         = letter
 BUILDDIR      = _build
 
 # User-friendly check for sphinx-build
@@ -13,8 +13,8 @@
 endif
 
 # Internal variables.
-PAPEROPT_a4     = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
+PAPEROPT_a4     = -D latex_elements.papersize=a4
+PAPEROPT_letter = -D latex_elements.papersize=letter
 ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
 # the i18n builder cannot share the environment and doctrees with the others
 I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -157,7 +157,7 @@
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+# html_static_path = ['_static']
 
 # Add any extra paths that contain custom files (such as robots.txt or
 # .htaccess) here, relative to this directory. These files are copied
@@ -243,7 +243,7 @@
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
     (master_doc, 'py_stringmatching.tex', u'py\\_stringmatching Documentation',
-     u'py_stringmatching Team', 'manual'),
+     u'py\\_stringmatching Team', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
--- a/py_stringmatching/similarity_measure/tversky_index.py
+++ b/py_stringmatching/similarity_measure/tversky_index.py
@@ -27,8 +27,8 @@
         Tversky index can be seen as a generalization of Dice's coefficient and Tanimoto coefficient.
 
         For sets X and Y the Tversky index is a number between 0 and 1 given by:
-        :math:`tversky_index(X, Y) = \\frac{|X \\cap Y|}{|X \\cap Y| + \alpha |X-Y| + \beta |Y-X|}`
-        where, :math: \alpha, \beta >=0
+        :math:`tversky_index(X, Y) = \\frac{|X \\cap Y|}{|X \\cap Y| + \\alpha |X-Y| + \\beta |Y-X|}`
+        where, :math: \\alpha, \\beta >=0
 
         Args:
             set1,set2 (set or list): Input sets (or lists). Input lists are converted to sets.
