Giter VIP home page Giter VIP logo

crefthe's People

Contributors

jinwen-xu avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

dbitouze

crefthe's Issues

Articles with apostrophes

Is there a way to use articles with apostrophes? For instance, in French, I tried using

  \crefthename{equation}[l']{équation}[les]{équations}

in order to use \crefthe with an equation. However, this inserts a space between l' and équation givint l' équationwhile I'd like l'équation. Is there a way to remove it?

Patch failed

The following MCE fails to compile because a patch failed (BTW, a more meaningful error message would be welcome 😄)

\documentclass[french]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{crefthe}
\usepackage{cleveref}

\crefname{theorem}{le théorème}{les théorèmes}
\crefname{proposition}{la proposition}{les propositions}

\crefthename{theorem}[le]{théorème}[les]{théorèmes}
\crefthename{proposition}[la]{proposition}[les]{propositions}

\newtheorem{theorem}{Théorème}
\newtheorem{proposition}{Proposition}

\begin{document}
\begin{theo}\label{thm1}
  Foo
\end{theo}
\begin{theo}\label{thm2}
  Bar
\end{theo}
\begin{proposition}\label{prop3}
  Baz
\end{proposition}

On peut le déduire de \cref{thm1,thm2,prop3}.

On peut le déduire \crefthe[de]{thm1,thm2,prop3}.
\end{document}

Here is my File List

 article.cls    2021/10/04 v1.4n Standard LaTeX document class
  size10.clo    2021/10/04 v1.4n Standard LaTeX file (size option)
 fontenc.sty
   t1lmr.fd    2015/05/01 v1.6.1 Font defs for Latin Modern
   babel.sty    2022/04/30 3.74 The Babel package
  french.ldf    2022/04/18 v3.5n French support from the babel system
scalefnt.sty    
  keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
 crefthe.sty    2022/04/24 Cross referencing with proper definite articles
l3keys2e.sty    2022-01-12 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2022-05-04 L3 programming layer (loader) 
l3backend-luatex.def    2022-04-20 L3 backend support: PDF output (LuaTeX)
cleveref.sty    2018/03/27 v0.21.4 Intelligent cross-referencing
regexpatch.sty    2021/03/21 v0.2f Extending etoolbox patching commands
  xparse.sty    2022-01-12 L3 Experimental document command parser
  ts1cmr.fd    2019/12/16 v2.5j Standard LaTeX font definitions
 ***********

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.