This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{etoolbox} | |
\patchcmd{\thebibliography}{\section*}{\section}{\relax}{\relax} | |
\begin{document} | |
\tableofcontents | |
\begin{thebibliography}{1} | |
\bibitem{foo} bar | |
\end{thebibliography} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yearly | |
filecontents | |
mathrsfs | |
xcolor | |
endnotes | |
fancyhdr | |
amsmath | |
etoolbox | |
all | |
lipsum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
PyPasteLib | |
A Python library to format and paste text. | |
Copyright (c) 2013 Frédéric Massart - FMCorz.net | |
Licensed under The MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%!TeX program = xelatex | |
%!TeX builder = latexmk | |
% Win 7, TeX Live 2015, XeLaTeX. | |
\documentclass{article} | |
\usepackage{fontspec} | |
\setmainfont{Times New Roman} | |
\usepackage{polyglossia} | |
\setdefaultlanguage{english} | |
\setotherlanguage{arabic} | |
\newfontfamily\arabicfont[Script=Arabic]{Times New Roman} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\begin{document} | |
\begin{figure}[h] | |
\centering | |
\includegraphics[width=3in,height=2in]{example-image} | |
\caption{A general PEH device.} | |
\label{fig_sim} | |
\end{figure} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 支持 XeLaTeX/LuaLaTeX/pdfLaTeX/LaTeX - DVIPDFMx 方式编译 | |
% 不支持 LaTeX - dvips - ps2pdf 方式编译 | |
% 支持图档格式:pdf, png, jpg, bmp, eps 等 | |
\usepackage{ifpdf} | |
\usepackage{ifxetex} | |
\ifxetex | |
\usepackage[xetex]{graphicx} | |
\else | |
\ifpdf | |
\usepackage[pdftex]{graphicx} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{arabtex} | |
\usepackage{utf8} | |
\setcode{utf8} | |
\begin{document} | |
\RL{آلو} world! | |
\begin{RLtext} | |
والعربية من أحدث هذه اللغات نشأة وتاريخاً، ولكن يعتقد البعض أنها الأقرب إلى اللغة السامية الأم التي انبثقت منها اللغات السامية الأخرى، وذلك لاحتباس العرب في جزيرة العرب فلم تتعرض لما تعرضت له باقي اللغات السامية من اختلاط. ولكن هناك من يخالف هذا الرأي بين علماء اللسانيات، حيث أن تغير اللغة هو عملية مستمرة عبر الزمن والانعزال الجغرافي قد يزيد من حدة هذا التغير حيث يبدأ نشوء أيّة لغة جديدة بنشوء لهجة جديدة في منطقة منعزلة جغرافياً. بالإضافة لافتراض وجود لغة سامية أم لا يعني وجودها بالمعنى المفهوم للغة الواحدة بل هي تعبير مجازي قصد به الإفصاح عن تقارب مجموعة من اللغات فقد كان علماء اللسانيات يعتمدون على قرب لغة وعقلية من يرونه مرشحاً لعضوية عائلة اللغات السامية وبُنيت دراساتهم على أسس جغرافية وسياسية وليس على أُسس عرقية ولا علاقة لها بنظرة التوراة لأبناء سام وكثرة قواعد اللغة العربية ترجح أنها طرأت عليها في فترات لاحقة وأنها مرت بأطوار عديدة مما يضعف فرضية أن هذه اللغة أقرب لما عُرف اصطل |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{amsmath} | |
\begin{document} | |
\[ | |
E_{\mathrm{g}} | |
\] | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{amsmath} | |
\usepackage{SIunitx} | |
\begin{document} | |
\num{0.52}--\SI{18.2}{\um} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{ctexart} | |
\usepackage{amsmath, amssymb} | |
\begin{document} | |
已知集合$M=\left\{ x\middle\vert {{\left( x-1 \right)}^{2}}\textless {4} , x\in R \right\},N=\left\{ -1,0,1,2,3 \right\}$,则$M\bigcap N=$( ). | |
\end{document} |