Comments (5)
I just checked. The definition only adds \small
to \@makecaption
. Thus I will add the caption
package.
from lni.
I changed the handling of captions.
from lni.
Well, yes, this solves the problem as far as I can see.
However, your issue points to a more general problem: The lni
class redefines the macro \@makecaption
directly. When you now load subcaption
you load caption
implicitly. The later, however, changes the complete caption mechanism, i.e. it throws away the class's modifications. It uses its own macro \caption@@make
to control the caption's layout.
One way out of this dilemma would be to directly use the caption
package within the lni
class. The alternative would be to check for modifications at the end of the preamble and to turn them back. This could even be done very elegantly using the scrlfile
package from the KOMA-Script bundle.
@koppor What do you think?
from lni.
+1 for using the caption package. It is maintained and we should not implement custom solutions.
from lni.
I do however not load the subcaption
package automatically.
from lni.
Related Issues (20)
- Document .dtx vs. .cls HOT 3
- Align content of lni-paper-example-de with Word template
- Add accessibility features HOT 3
- Fix font warnings HOT 2
- Make it compatible with the current LNI Style Guides HOT 6
- Footnotes are "glued" to text and not at the bottom of the page HOT 2
- Output of @misc Bibliography information includes ", " before title HOT 6
- Default: no headings HOT 3
- Make hyperref mandatory (i.e. remove option nohyperref) HOT 1
- Think of template repository HOT 1
- Offer biblatex only - remove bibtex support HOT 2
- Error when using more than two affiliations HOT 1
- Fix for the documentation
- \footnote not working correctly
- Authors with multiple Affiliations HOT 5
- Files from CTAN Download and Overleaf Download not the same HOT 2
- Umsetzung der neuen GI-Vorlage HOT 1
- Get CI running again: straightquotes of newtxtt does not work any more HOT 1
- Add missing font package to `Texlivefile` HOT 9
- \affil: ! Undefined control sequence. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lni.