softcover 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c38394c82dcaf6fdad6ef0b02168cba853b661c262217b1d822fa725d3c77dbc
4
- data.tar.gz: 5c0fd7fbec4e582bfcd5f2737ce8aa927defb6158968e67de59b38ab5aee3e32
3
+ metadata.gz: c7521be6c78ebc2b4922dc73a5d09da351a0bdb2688d9f50e37692b3d5714e34
4
+ data.tar.gz: b29b31c384a53718d35e915c3d534067c69ff166b3a62db41cb825eade6fd498
5
5
  SHA512:
6
- metadata.gz: 92ff5ae3cd49c6809295481d26e32fb4b80da3dd9e529b85294986874baabaaddb69645e0ae8cd8551a75f98fbecfeaa7cecc9627024c38a5c4c921e7a308520
7
- data.tar.gz: 50a4b9f61f45afb6c285a54c48f716f324f3ffe61306f37fb37cd11bd7770c28e5a5031348e566c72ea977a8009d2e585ad7d528ff5997468973cb4a4bbcaccb
6
+ metadata.gz: e72b3449169871e9e4b4b4034e5315a1b3e0b211a032ea495cc8196e293502137f9e8f4229eb4bf57935d874eaffbce26984baf76cf7439ad212be6cd0f46fdb
7
+ data.tar.gz: d50eaa7381743ef7eb2589764f6277ddfa02ed8547045e0f2b6705ce7bbf2fac3b522797c4e77fdea9a958d27f31200b5f015c4ab1f31be2ea1c4431dedd7ba7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- softcover (1.10.0)
4
+ softcover (1.10.1)
5
5
  activesupport (= 4.2.11.3)
6
6
  async_sinatra (= 1.1.0)
7
7
  coffee-script (= 2.4.1)
@@ -217,10 +217,26 @@
217
217
  {Times New Roman}
218
218
  \setmonofont{Courier}
219
219
 
220
- % Restore the default "theorem" theorem style.
220
+ \theoremstyle{plain}
221
+ \newtheorem{theorem}{Theorem}[section]
222
+ \newtheorem{lemma}[theorem]{Lemma}
223
+ \newtheorem{corollary}[theorem]{Corollary}
224
+ \newtheorem{proposition}[theorem]{Proposition}
225
+ \newtheorem{conjecture}[theorem]{Conjecture}
226
+ \theoremstyle{definition}
227
+ \newtheorem{definition}[theorem]{Definition}
228
+ \newtheorem{problem}[theorem]{Problem}
229
+ \newtheorem{example}[theorem]{Example}
230
+ \newtheorem{exercise}[theorem]{Exercise}
231
+ \theoremstyle{remark}
232
+ \newtheorem{axiom}[theorem]{Axiom}
233
+ \newtheorem{remark}[theorem]{Remark}
234
+ \newtheorem{claim}[theorem]{Claim}
235
+
236
+ % Restore the default "plain" theorem style.
221
237
  % This can still be overriden in custom style files
222
238
  % or in the main file.
223
- \theoremstyle{theorem}
239
+ \theoremstyle{plain}
224
240
 
225
241
  % Include custom commands.
226
242
  \usepackage{latex_styles/custom}
@@ -233,7 +233,7 @@
233
233
  \newtheorem{remark}[theorem]{Remark}
234
234
  \newtheorem{claim}[theorem]{Claim}
235
235
 
236
- % Restore the default "theorem" theorem style.
236
+ % Restore the default "plain" theorem style.
237
237
  % This can still be overriden in custom style files
238
238
  % or in the main file.
239
239
  \theoremstyle{plain}
@@ -149,9 +149,11 @@ module Softcover
149
149
 
150
150
  # Copies the style file to ensure it's always fresh.
151
151
  def copy_polytexnic_sty(options)
152
+ opts = options.dup
153
+ opts[:article] = true if article?
152
154
  softcover_sty = File.join(Softcover::Directories::STYLES,
153
155
  'softcover.sty')
154
- source_sty = File.join(Softcover::Utils.template_dir(options),
156
+ source_sty = File.join(Softcover::Utils.template_dir(opts),
155
157
  softcover_sty)
156
158
  FileUtils.cp source_sty, softcover_sty
157
159
  end
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.10.0"
2
+ VERSION = "1.10.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softcover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl