latex 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +5 -0
- data/examples/latex.rb +3 -2
- data/lib/latex.rb +3 -2
- metadata +2 -2
data/ChangeLog
CHANGED
data/examples/latex.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Copyright (c) 2004 Christian Bang <cbang AT web.de> and Frank Hutter
|
|
2
2
|
#
|
|
3
|
-
# Version 0.1.
|
|
3
|
+
# Version 0.1.3
|
|
4
4
|
#
|
|
5
5
|
# All rights reserved. You can redistribute and/or modify it under the same terms as Ruby.
|
|
6
6
|
#
|
|
@@ -38,7 +38,6 @@ class LatexFile < File
|
|
|
38
38
|
@@default_extras = {:fontsize => "10pt" }
|
|
39
39
|
attr_reader :extras
|
|
40
40
|
|
|
41
|
-
@default_table_align = 'c'
|
|
42
41
|
# The default table alignment is <tt>'c'</tt> but can be changed.
|
|
43
42
|
attr_accessor :default_table_align
|
|
44
43
|
|
|
@@ -58,6 +57,8 @@ class LatexFile < File
|
|
|
58
57
|
|
|
59
58
|
@usePackages = @extras[:usePackages] || @@defaultUsePackages
|
|
60
59
|
|
|
60
|
+
@default_table_align = 'c'
|
|
61
|
+
|
|
61
62
|
writeDocumentHeader
|
|
62
63
|
@lastWasPrint = false
|
|
63
64
|
end
|
data/lib/latex.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Copyright (c) 2004 Christian Bang <cbang AT web.de> and Frank Hutter
|
|
2
2
|
#
|
|
3
|
-
# Version 0.1.
|
|
3
|
+
# Version 0.1.3
|
|
4
4
|
#
|
|
5
5
|
# All rights reserved. You can redistribute and/or modify it under the same terms as Ruby.
|
|
6
6
|
#
|
|
@@ -38,7 +38,6 @@ class LatexFile < File
|
|
|
38
38
|
@@default_extras = {:fontsize => "10pt" }
|
|
39
39
|
attr_reader :extras
|
|
40
40
|
|
|
41
|
-
@default_table_align = 'c'
|
|
42
41
|
# The default table alignment is <tt>'c'</tt> but can be changed.
|
|
43
42
|
attr_accessor :default_table_align
|
|
44
43
|
|
|
@@ -58,6 +57,8 @@ class LatexFile < File
|
|
|
58
57
|
|
|
59
58
|
@usePackages = @extras[:usePackages] || @@defaultUsePackages
|
|
60
59
|
|
|
60
|
+
@default_table_align = 'c'
|
|
61
|
+
|
|
61
62
|
writeDocumentHeader
|
|
62
63
|
@lastWasPrint = false
|
|
63
64
|
end
|
metadata
CHANGED