تالار گفتگوی پارسی‌لاتک

لاتک LATEX => قلم‌ها و حروف => نويسنده: bahare60 در اوت 02, 2014, 05:36:44 pm

عنوان: کم رنگ کردن قلم پاورقی
رسال شده توسط: bahare60 در اوت 02, 2014, 05:36:44 pm
با سلام. امکانش هست که قلم پاورقی کمرنگ بشه؟
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: vafa در اوت 02, 2014, 05:41:04 pm
هست.
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: bahare60 در اوت 02, 2014, 05:55:25 pm
ممنون میشم فرمانشو بگید
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: فرشاد ترابی در اوت 02, 2014, 10:03:56 pm
لطفا این پست  (http://www.latex-community.org/forum/viewtopic.php?f=44&p=49859)را مشاهده کنید.
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: bahare60 در اوت 03, 2014, 08:10:08 am
پست رو دیدم ممنون. منظورم کم رنگ شدن قلم پاورقی هست.
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: فرشاد ترابی در اوت 03, 2014, 10:05:56 am
مگه در پستی که فرستادم تغییر رنگ قلم پاورقی نبود؟ خوب اگر شما رنگ خاکستری را انتخاب کنید کمرنگ میشود. آیا منظور دیگری دارید؟
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: bahare60 در اوت 03, 2014, 01:44:30 pm
اینجور که می بینم رنگ شماره رو با این فرمان تغییر میدن
\newcommand*{\footnotemarkcolor}{Gray}
 متن کم رنگ نمی شه
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: Jalil در اوت 03, 2014, 03:32:33 pm
\documentclass{article}
\usepackage{xcolor}

\usepackage{xepersian}
\newcommand{\lrftc}[1]{\LTRfootnote{\color{gray}#1}}
\newcommand{\ftc}[1]{\footnote{\color{gray}#1}}

\begin{document}
این یک متن رنگی\lrftc{colored text} است.
 پاورقی فارسی\ftc{کتاب اول}

\end{document}
عنوان: پاسخ : کم رنگ کردن قلم پاورقی
رسال شده توسط: afsaneh1370 در اوت 03, 2014, 08:22:20 pm
سلام

\documentclass{article}
\usepackage{fontspec}
\usepackage{xcolor}
\usepackage{xepersian}

\def\MyColor{black}
\def\MyDarkness{80}
\newcommand{\MyLightColor}[1]{{\color{\MyColor!\MyDarkness}#1}}

\begin{document}

\lr{\noindent
This is a test, \\
\MyLightColor{This is a test A,} \\
\def\MyColor{black}
\def\MyDarkness{60}
\MyLightColor{This is a test B,} \\
\def\MyColor{black}
\def\MyDarkness{40}
\MyLightColor{This is a test C,} \\
\def\MyColor{black}
\def\MyDarkness{20}
\MyLightColor{This is a test D,} \\
}

\lr{\noindent
\def\MyColor{blue} \\
\def\MyDarkness{80} \\
\MyLightColor{This is a test A,} \\
\def\MyColor{blue}
\def\MyDarkness{60}
\MyLightColor{This is a test B,} \\
\def\MyColor{blue}
\def\MyDarkness{40}
\MyLightColor{This is a test C,} \\
\def\MyColor{blue}
\def\MyDarkness{20}
\MyLightColor{This is a test D,} \\
}

\def\MyColor{black}
\def\MyDarkness{50}
این یک آزمایش است.%
\LTRfootnote{\MyLightColor{This is a test.}}
این یک آزمایش است.%
\footnote{\MyLightColor{
این یک آزمایش است.
}}

\def\MyColor{blue}
\def\MyDarkness{95}
{\color{\MyColor}
این یک آزمایش است.%
\LTRfootnote{\MyLightColor{This is a test.}}
این یک آزمایش است.%
\footnote{\MyLightColor{
این یک آزمایش است.
}}

\def\MyColor{blue}
\def\MyDarkness{50}
{\color{\MyColor!\MyDarkness}
این یک آزمایش است.%
\LTRfootnote{\MyLightColor{This is a test.}}
این یک آزمایش است.%
\footnote{\MyLightColor{
این یک آزمایش است.
}}

\end{document}

بخشین اگر این کد خیلی خلاصه و تمیز نیست. علت اینه که من از ConTeXt استفاده می‌کنم. شما اگر از
 زیپرشین استفاده می‌کنین باید بتونین اونو خیلی بهتر بازنویسی کنین.

اینم امضای من که نمی‌دونم چرا کار نمی‌کنه (اگه مدیران پارسی لاتک اونو درست کنن ممنون می‌شم.):

====================================================================

Any five year old kid can tell the truth, but it requires a man of sense to know how to lie well.