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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7521be6c78ebc2b4922dc73a5d09da351a0bdb2688d9f50e37692b3d5714e34
|
4
|
+
data.tar.gz: b29b31c384a53718d35e915c3d534067c69ff166b3a62db41cb825eade6fd498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e72b3449169871e9e4b4b4034e5315a1b3e0b211a032ea495cc8196e293502137f9e8f4229eb4bf57935d874eaffbce26984baf76cf7439ad212be6cd0f46fdb
|
7
|
+
data.tar.gz: d50eaa7381743ef7eb2589764f6277ddfa02ed8547045e0f2b6705ce7bbf2fac3b522797c4e77fdea9a958d27f31200b5f015c4ab1f31be2ea1c4431dedd7ba7
|
data/Gemfile.lock
CHANGED
@@ -217,10 +217,26 @@
|
|
217
217
|
{Times New Roman}
|
218
218
|
\setmonofont{Courier}
|
219
219
|
|
220
|
-
|
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{
|
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 "
|
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(
|
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
|
data/lib/softcover/version.rb
CHANGED