-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBeamer_Ilmenau.tex
310 lines (278 loc) · 8.31 KB
/
Beamer_Ilmenau.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
% M.ahmadi 1395.11.28 edit: 1400.07.25
% @Tex_Ahmadi
% دو بار پردازش با زیلاتک
\PassOptionsToPackage{pdfpagemode=FullScreen,hyperfootnotes=false}{hyperref}
\documentclass[10pt,xcolor=dvipsnames]{beamer}
%\usepackage{amsmath,amssymb,amsfonts}
\usepackage{etoolbox}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{ptext}
\usetheme{Ilmenau}
\usefonttheme{serif,professionalfonts}
\usecolortheme[named=red]{structure}
\setbeamercovered{transparent}
% برای قرار گرفتن شماره اسلاید
\expandafter\def\expandafter\insertshorttitle\expandafter{%
\insertshorttitle\hfill%
\inserttotalframenumber\,/\,\insertframenumber}
%%%%%%%%%%%%%%
%توجه: بسته هایی که نیاز هست قبل از بسته زیپرشین نوشته شود.
\usepackage{xepersian}
\settextfont{XB Zar}
\setlatintextfont{Times New Roman}
\setdigitfont{Yas}
\defpersianfont\nas[Scale=1.5]{IranNastaliq}
\defpersianfont\xb[Scale=1.3]{XB Zar}
\deflatinfont\tnr[Scale=1.2]{Times New Roman}
%\linespread{1.2}
% دستورات مورد نیاز برای استفاده از کلاس بیمر در command نوشته شده
\input{command}
\raggedleft
%%%%%%%
\newcommand*{\co}[1]{\nast\textcolor{blue}{#1}}
%%%%
\title{یک اسلاید نمونه}
\subtitle{زیرعنوان اسلاید}
\author[مجتبیٰ احمدی]{\co{مجتبیٰ احمدی}
\\[.2cm]
\textcolor{red}{{\xb استاد راهنما}}:
\\[.2cm]
\co{جناب آقای}
}
\institute[پیامنور مشگین شهر]{دانشگاه: پیامنور مشگین شهر}
\date{\today}
%\date{28 بهمن 1395}
%%%%%%%%%%
\logo{\includegraphics[scale=.02]{logo1.png} }
\newcommand{\nologo}{\setbeamertemplate{logo}{}}
\begin{document}
{\nologo
\begin{frame}[plain,noframenumbering]
%برای عدم نمایش نوار بالایی و پایین در فرم آپشن plain و برای اینکه جزء شماره اسلاید محسوب نشود آپشن فرم noframenumbering قرار داده شده است.
\centerline{\includegraphics[width=\paperwidth,height=\paperheight]{besm2.jpg}}
\end{frame}}
%%%%%%%%%%%%%%
\begin{frame}
\begin{picture}(0,0)
\put (0,-20){\centerline{\includegraphics[width=1.3cm]{logo.jpg}}}
\end{picture}
\vskip 0.1 in
\maketitle
\end{frame}
%%%%%%%%%%%%%%
\begin{frame}{فهرست مطالب}
\tableofcontents
\end{frame}
%%%%%%%%%%%%%%%%%%
\section{قسمتی که در اینجاست}
\subsection{زیرقسمتی که در اینجاست}
\subsubsection{زیرزیرقسمتی که در اینجاست}
\begin{frame}
\frametitle{عنوان}
\framesubtitle{زیرعنوان}
\begin{definition}
این یک تعریف است
\begin{align}
2x - 5y &= 8 \\
3x + 9y &= -12
\end{align}
\end{definition}
\end{frame}
%%%%%%%%%%%%%%%%%%%
\begin{frame}
\ptext[1]
\begin{enumerate}
\item
این یک متن است که در اینجا قرار میدهیم این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم.
\end{enumerate}
\pause
\begin{itemize}
\item
این یک متن است که در اینجا قرار میدهیم این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم.
\end{itemize}
\begin{description}
\item[آزمایش]
این یک متن است که در اینجا قرار میدهیم این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم. این یک متن است که در اینجا قرار میدهیم.
\end{description}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\footnote{این یک زیرنویس پارسی است.}%
\LTRfootnote{This is a latin footnote.}%
\RTLfootnote{این هم زیرنویس پارسی دیگری است.}%
\footnote{این یک زیرنویس پارسی است.}
\end{frame}
%%%%%%%%%%%%%%%%%
\begin{frame}
\ptext[1]
\begin{definition}
این یک تعریف است
\end{definition}
\pause
\begin{theorem}
این یک قضیه است
\end{theorem}
\pause
\begin{proof}
این یک اثبات است.
\end{proof}
\pause
\begin{example}
این یک مثال است
\end{example}
\end{frame}
%++++++++
\begin{frame}{شمارش محیطها}
\begin{definition}
این یک تعریف است
\begin{figure}
\centering
\includegraphics[scale=.02]{logo1.png}
\caption{لوگو}
\end{figure}
\end{definition}
\pause
\begin{theorem}
این یک قضیه است
\end{theorem}
\pause
\begin{proof}
این یک اثبات است.
\end{proof}
\end{frame}
% 7
\begin{frame}
\begin{example}
این یک مثال است
\end{example}
\begin{corollary}
متن
\end{corollary}
\begin{proposition}
تست
\end{proposition}
\begin{lemma}
متن
\end{lemma}
\end{frame}
%++++++++
%%%%%%%%%%%%%%%%%%%%%%%
\section{بخش بعدی}
\subsection{زیربخش بعدی}
\subsubsection{زیرزیربخش بعدی}
\begin{frame}
\begin{columns}
\column{.5\textwidth}
ستون شماره ۱
\begin{latin}
This is a test as you can see
\end{latin}
\column{.2\textwidth}
ستون شماره ۲
\column{0.3\textwidth}
ستون شماره ۳
\end{columns}
\begin{block}{فرمول ریاضی}
\begin{equation}
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
\end{equation}
\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{عنوان اسلاید این صفحه که در اینجا قرار میگیرد}
\begin{example}
این یک مثال است.
\end{example}
\begin{definition}
این یک تعریف است.
\begin{itemize}\raggedright
\item 1
\item 2
\end{itemize}
\end{definition}
\begin{proof}
این یک اثبات است که در اینجا نوشته میشود و فقط مقدار بیشتر متن و متن که نوشته میشود تا بتوانیم به سطر بعدی برویم.
\end{proof}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{کد متلب}
\textcolor{red}{توجه}:
برای نوشتن کد برنامهای نیاز هست که آپشن فرم رو
\lr{fragile}
قرار دهیم.
\begin{latin}
\begin{lstlisting}[frame=single,rulecolor=\color{magenta},numbers=left,numberstyle=\tiny]
%==================================================
% Author:M.Ahmadi date:1394.10.20
% http://matlabp.ir
%==================================================
% The numbers 1 to 9, to form a rhombus.
clc
n=9;
for i=1:n
for k=n-1:-1:i
fprintf(' ');
end;
for j=1:i
fprintf('%d',j);
end;
for j=i-1:-1:1
fprintf('%d',j);
end;
fprintf('\n');
end;
\end{lstlisting}
\end{latin}
\end{frame}
%%%%%%%%%
\setbeamertemplate{frametitle continuation}{\insertcontinuationcount}
%آپشن allowframebreaks برای شکستن مراجع قرار داده شده
\begin{frame}[allowframebreaks]{منابع}
\setbeamertemplate{bibliography item}{\insertbiblabel}
\begin{latin}
\begin{thebibliography}{9}
\bibitem{1}
Mojtaba Ahmadi.
\newblock {The Math books and Examples of \LaTeX in Weblog}.
\newblock \texttt{http://ahmadi1386.persianblog.ir/}, 1993/04/15.
\bibitem{2}
Vafa Khalighi.
\newblock {The XePersian Package, Persian for \LaTeX2e over \XeTeX}.
\newblock \texttt{http://ctan.org/pkg/xepersian}, 2008.
\bibitem{3}
This is a test for break. This is a test for break. 1
\bibitem{4}
This is a test for break. This is a test for break. 2
\bibitem{5}
This is a test for break. This is a test for break. 3
\bibitem{6}
This is a test for break. This is a test for break. 4
\bibitem{7}
This is a test for break. This is a test for break. 5
\bibitem{8}
This is a test for break. This is a test for break. 6
\bibitem{9}
This is a test for break. This is a test for break. 7
\bibitem{10}
This is a test for break. This is a test for break. 8
\bibitem{11}
This is a test for break. This is a test for break. 9
\bibitem{12}
This is a test for break. This is a test for break. 10
\bibitem{13}
This is a test for break. This is a test for break. 11
\end{thebibliography}
\end{latin}
\end{frame}
%
\usebackgroundtemplate{\includegraphics[width=\paperwidth,height=\paperheight]{8.jpg} }
\nologo
\begin{frame}
\begin{center}
\Huge {\nas
\textcolor{red}{با آرزوی موفقیت}}
\end{center}
\end{frame}
\end{document}