[QGIS Commit] r14424 - docs/trunk/english_us/user_guide

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Oct 21 04:29:22 EDT 2010


Author: dassau
Date: 2010-10-21 01:29:22 -0700 (Thu, 21 Oct 2010)
New Revision: 14424

Modified:
   docs/trunk/english_us/user_guide/qgis_style.sty
Log:
added tocloft package to prevent overlapping numbers in toc.tex lists (thanks Alex) and revert #14359

Modified: docs/trunk/english_us/user_guide/qgis_style.sty
===================================================================
--- docs/trunk/english_us/user_guide/qgis_style.sty	2010-10-20 20:23:52 UTC (rev 14423)
+++ docs/trunk/english_us/user_guide/qgis_style.sty	2010-10-21 08:29:22 UTC (rev 14424)
@@ -9,11 +9,18 @@
 \usepackage[utf8]{inputenc} 
 \usepackage[T1]{fontenc} 
 
+%%% prevent overlapping numbers in toc.tex lists
+\usepackage{tocloft}
+\addtolength{\cftsecnumwidth}{0.5em}
+\addtolength{\cftsubsecnumwidth}{0.7em}
+\addtolength{\cftfignumwidth}{0.5em}
+\addtolength{\cfttabnumwidth}{0.5em}
+
 %%% Tip     
-\usepackage{float}
-\floatstyle{ruled}
-\newfloat{Tip}{ht}{toa}
-\floatname{Tip}{QGIS Tip} % Change the second string to localize it
+%\usepackage{float}
+%\floatstyle{ruled}
+%\newfloat{Tip}{ht}{toa}
+%\floatname{Tip}{QGIS Tip} % Change the second string to localize it
 
 %%% build index
 %%% see http://web.image.ufl.edu/help/latex/latex_indexes.shtml
@@ -99,7 +106,6 @@
 \usepackage{placeins}
 
 %%%   layout 
-
 \usepackage{enumitem}
 \usepackage{xspace}
 
@@ -127,6 +133,12 @@
 \bibliographystyle{acm}
 \renewcommand*{\bibname}{Literature and Web References} % Change the string to localize it
 
+%%% Tip     
+\usepackage{float}
+\floatstyle{ruled}
+\newfloat{Tip}{ht}{toa}
+\floatname{Tip}{QGIS Tip} % Change the second string to localize it
+
 % math
 \usepackage{amssymb}
 \usepackage{pifont}



More information about the QGIS-commit mailing list