تالار گفتگوی پارسیلاتک
لاتک LATEX => عمومی => نويسنده: mrvahidyfard در اوت 31, 2012, 11:29:28 pm
-
سلام
برای این که محیط alltt دارای کادر باشه از چه دستوری باید استفاده کرد؟
با تشکر
-
\fbox
-
ببخشید ولی این دستور کار نمی کنه. من یه نمونه می زارم اگه میشه براش کادر بزارید.
ممنون.
\begin{LTR}
\begin{alltt}
algorithm network simplex;
begin
determine an initial feasible tree structure (T,L,U);
let x be the flow and \(\pi\) be the node petentials
associated with this tree structure;
while some nontree arc violetes the optimality conditions do
begin
select an entering arc(k,l) violating its optimality
conditions;
add arc(k,l) to the tree and determine the leaving
arc(p,q);
perform a tree update and update the solutions
x and \(\pi\);
end;
end;
\end{alltt}
\end{LTR}
-
\begin{LTR}
\fbox{
\begin{alltt}
algorithm network simplex;
begin
determine an initial feasible tree structure (T,L,U);
let x be the flow and \(\pi\) be the node petentials
associated with this tree structure;
while some nontree arc violetes the optimality conditions do
begin
select an entering arc(k,l) violating its optimality
conditions;
add arc(k,l) to the tree and determine the leaving
arc(p,q);
perform a tree update and update the solutions
x and \(\pi\);
end;
end;
\end{alltt}
}
\end{LTR}
-
ببخشید ولی باز داره برنامم خطا می ده. براتون می فرستم .
-
از بسته mdframed هم میتوانید استفاده کنید
-
ممنون بابت راهنماییتون. ولی انگار \usepackage{mdframed} رو نمی شناسه. روش خطا می گیره. باید چی کار کنم؟
میگه :
! LaTeX Error: File `mdframed.sty' not found.
-
بسته مورد نظر را ندارید
باید میک تک یا تکلایو خود را به روز کنید
نحوه به روز رسانی در تالار گفته شده جستجو کنید پیدا می کنید