Browse code

implemented the correct fix: Need to \usepackage{float} if you use the H placement option

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/seqTools@111850 bc3139a8-67e5-0310-9ffc-ced21a209358

Dan Tenenbaum authored on 22/12/2015 21:24:45
Showing1 changed files

... ...
@@ -7,6 +7,7 @@
7 7
 %% Load Packages
8 8
 %% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %%
9 9
 
10
+\usepackage{float}
10 11
 \usepackage{helvet}                         % Actually switches the default sans serif font to Nimbus Sans L
11 12
 
12 13
 \usepackage[english]{babel}                 % Language controls section headers
... ...
@@ -133,7 +134,7 @@ for(i in 1:nFiles(fqq))
133 134
   pdf(file ,width=6, height=6)
134 135
   plotNucFreq(fqq, i)
135 136
   invisible(dev.off())
136
-  cat("\\begin{figure}[h]\n")
137
+  cat("\\begin{figure}[H]\n")
137 138
   cat("\\begin{center}\n")
138 139
   cat("\\includegraphics{", file, "}\n",sep="")
139 140
   cat("\\end{center}\n")
... ...
@@ -155,7 +156,7 @@ for(i in 1:nFiles(fqq))
155 156
   pdf(file)
156 157
   plotPhredQuant(fqq, i)
157 158
   dev.off()
158
-  cat("\\begin{figure}[h]\n")
159
+  cat("\\begin{figure}[H]\n")
159 160
   cat("\\begin{center}\n")
160 161
   cat("\\includegraphics{", file, "}\n", sep="")
161 162
   cat("\\end{center}\n")