16
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
من از اینترنت این کدو گرفتم...شکلی که باید بده اینی هست که ضمیمه کردم ولی من که اجرا میکنم بردارهای آبی رو رسم نمیکنه!!
{Code/example.m}
در دستور زیر\lstinputlisting[breaklines=true,numbers=left,language=Matlab, basicstyle=
\ttfamily, numberstyle=\footnotesize, numbersep=10pt, captionpos=b,
frame=single, breakatwhitespace=false]{Code/example.m}
\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[Ex i.]
\item one one one\label{LA}
\item two two two
\begin{enumerate}[{example} a)]
\item one of two \label{LB}
\item two of two
\end{enumerate}
\end{enumerate}
\begin{enumerate}[{A}-1]
\item one\label{LC}
\item two
\end{enumerate}
\end{document}
\documentclass{article}
\usepackage{graphicx}
\usepackage{xepersian}
\begin{document}
\begin{figure}
\centering
\includegraphics[scale=0.5]{efficiencyindex}
\caption{شاخصهای کارایی برای $n>1$}
\label{Efficiency indices}
\end{figure}
\end{document}
اگر این کار را انجام بدهیم، برای هر خط شماره جدیدی می گذارد. روش دیگری وجود ندارد؟با سلام
من می خوام داخل متن باشه inlineبه کد زیر توجه کنید.
نه اینکه بیاد خط بعد.
\documentclass[a4paper,12pt]{report}
\usepackage[pagebackref=false,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
\usepackage{xepersian}
\begin{document}
\baselineskip=1cm
\chapter{مقدمه}
به این آدرس
\url{http://www.abinit.org/downloads/psp-links}
مراجعه کنید.
\end{document}
\documentclass[a4paper,12pt]{report}
\usepackage{url}
\usepackage[pagebackref=false,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
\usepackage{xepersian}
\begin{document}
\baselineskip=1cm
\chapter{مقدمه}
تست تست تست تست تست تست تست تست
\begin{LTR}
\url{http://www.abinit.org/downloads/psp-links}
\end{LTR}
\end{document}
از دستور لاتین هم استفاده کرده بودم!!!پس فایل خلاصه شده تک خود (که در آن مشکل منعکس است) را پیوست کنید تا دیگران بتوانند به شما کمک کنند.
در واقع وقتی همزمان با package xepersian اجرا میشه خروجی درستی نمیدهبا سلام
\documentclass[12pt,a4paper]{beamer}
\usepackage{amsmath}
\usefonttheme[onlymath]{serif}
\begin{document}
\begin{frame}
$y=x^2$
\end{frame}
\end{document}