Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Add theorem and other symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
lcs27 committed Nov 10, 2023
1 parent 15fb594 commit b6c6e8d
Show file tree
Hide file tree
Showing 12 changed files with 884 additions and 833 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
*.synctex
*.bbl
*.blg
*-blx.bib
*-blx.bib
*._wordcount_selection.tex
commands.~json
12 changes: 12 additions & 0 deletions article/articleLCS27.sty
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,15 @@
\ifdefstring{\LCS@mainlanguage}{french}{
\RequirePackage[french]{\languagefolderpath{LCS27language}}
}{\relax}

% Theorems
\RequirePackage{etoolbox}
\newtheorem{proposition}{\propositionwd}[section]
\newtheorem{remark}{\remarkwd}[section]
\newtheorem{quiz}{\quizwd}[section]
\newtheorem{answer}{\answerwd}[section]
\newtheorem{lemma}{\lemmawd}[section]
\newtheorem{theorem}{\theoremwd}[section]
\newtheorem{mproof}{\proofwd}[section]
\newcommand{\qed}{$\blacksquare$}
\newenvironment{proof}{\begin{mproof}}{\qed \end{mproof}}
6 changes: 3 additions & 3 deletions beamer/beamerLCS27.sty
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
%\RequirePackage[main]{\sourcepath{lang/chinese}}


%% Theorems
% %% Theorems
% \RequirePackage{etoolbox}
% \setbeamertemplate{theorems}[numbered]
% \theoremstyle{definition}
% \newtheorem{proposition}{\propositionwd}[section]
% \newtheorem{remark}{\remarkwd}[section]
% \newtheorem{quiz}{\quizwd}[section]
% \newtheorem{answer}{\answerwd}[section]
%\renewtheorem{lemma}{\lemmawd}[section]
%\renewtheorem{theorem}{\theoremwd}[section]
% \renewtheorem{lemma}{\lemmawd}[section]
% \renewtheorem{theorem}{\theoremwd}[section]

\mode<all>

4 changes: 2 additions & 2 deletions beamer/beamerfontthemeLCS27.sty
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

\RequirePackage{fontspec}

\setmainfont[ItalicFont={cambriai.ttf},BoldFont={cambriab.ttf}]{cambria.ttc}
\setsansfont{cambria.ttc}
% \setmainfont[ItalicFont={cambriai.ttf},BoldFont={cambriab.ttf}]{cambria.ttc}
% \setsansfont{cambria.ttc}

\setbeamerfont{title}{
size=\huge,
Expand Down
Binary file modified example/article.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions lang/chinese.sty
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
\def\propositionwd{命题}
\def\lemmawd{引理}
\def\theoremwd{定理}
\def\proofwd{证明}
\def\constant{常数}
\def\thankyouwd{谢谢!}
\def\tocwd{目录}
Expand Down
1 change: 1 addition & 0 deletions lang/english.sty
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
\def\constant{Constant}%
\def\lemmawd{Lemma}%
\def\theoremwd{Theorem}%
\def\proofwd{Proof}
\def\thankyouwd{Thank you!}
\def\tocwd{Table of content}
}{}
Expand Down
1 change: 1 addition & 0 deletions lang/french.sty
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
\def\constant{Constante}%
\def\lemmawd{Lemme}%
\def\theoremwd{Théorème}%
\def\proofwd{Preuve}
\def\thankyouwd{Merci!}
\def\tocwd{Table des matières}
}{}
Loading

0 comments on commit b6c6e8d

Please sign in to comment.