• Welcome to پارسی‌لاتک.
 
از تاریخ ۱۳۹۳/۸/۱۴ به دلیل ارائه خدمات بهتر به سایت جدید پرسش و پاسخ مهاجرت کرده‌ایم؛ از این رو امکان عضویت و ارسال پست در تالار غیرفعال شده است. لطفاً برای پرسیدن سوال‌های خود به سایت جدید مراجعه کنید.

ورود به سایت جدید

تو رفتگی صفحات فرد در کلاس کتاب

نویسنده sattar, جولای 17, 2013, 08:45:53 بعد از ظهر

« قبلی - بعدی »

sattar

سلام. یکی از دوستام داره یه کتاب می نویسه و این مشکل واسش پیدا شده که در صفحات فرد نوشته های متنش تو رفتگی پیدا کردند. شکلهاش رو گذاشتم به همراه فایلهای تنظیماتش.
این هم پریمیبلش
\documentclass[a4paper,twoside,12pt,openany]{extbook}
\usepackage{mylayout}

\usepackage[left=4cm,right=4cm,top=5.3cm,bottom=5.3cm]{geometry}
\usepackage{multicol}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\usepackage{lshort}
\usepackage{makeidx,shortvrb,latexsym}
\SepMark{-}

\setdigitfont[Scale=1]{XB Zar}
\renewcommand\proofname{\textbf{برهان}}

\makeindex
\typeout{Copyright T.Oetiker, H.Partl, E.Schlegl, I.Hyna}

\DeclareMathOperator{\argh}{argh}
\DeclareMathOperator*{\nut}{Nut}

\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}

\newtheorem{theorem}{قضیه}[section]
\newtheorem{lemma}[theorem]{لم}
\newtheorem{proposition}[theorem]{گزاره}
\newtheorem{corollary}[theorem]{نتيجه}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{تعریف}
\newtheorem{xca}[theorem]{ملاحظه}
\newtheorem{remark}[theorem]{تبصره}
\newtheorem{tion}[theorem]{تذكر}
\newtheorem{mesal}[theorem]{مثال}
\newtheorem{claim}[theorem]{ادعا}
\newtheorem{formula}[theorem]{}
\numberwithin{equation}{section}

%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\bt}{\begin{theorem}}
\newcommand{\et}{\end{theorem}}
\newcommand{\bl}{\begin{lemma}}
\newcommand{\el}{\end{lemma}}
\newcommand{\bc}{\begin{corollary}}
\newcommand{\ec}{\end{corollary}}
\newcommand{\bpr}{\begin{proposition}}
\newcommand{\epr}{\end{proposition}}
\newcommand{\bp}{\begin{proof}}
\newcommand{\ep}{\end{proof}}
\newcommand{\bm}{\begin{mesal}}
\newcommand{\em}{\end{mesal}}
\newcommand{\bd}{\begin{definition}}
\newcommand{\ed}{\end{definition}}
\newcommand{\br}{\begin{remark}}
\newcommand{\er}{\end{remark}}
\newcommand{\bcl}{\begin{claim}}
\newcommand{\ecl}{\end{claim}}
\newcommand{\bfo}{\begin{formula}}
\newcommand{\efo}{\end{formula}}
\newcommand{\no}{\nonumber}

\renewcommand{\baselinestretch}{1.5}
خلیج همیشه فارس

Mohsen Avaji

نخستین نشانه فساد ترک صداقت است. (میشل دو مونتی)

sattar

 این هم فایل کمینه. مشکل باید توی فایل lshort.sty یا  mylayout.sty درون همین پوشه باشه.
خلیج همیشه فارس

هادی صفی‌اقدم

یک ایراد: دستور em را تعریف کردین. این دستور از دستورهای لاتک هست و نباید با این اسم دستوری تعریف کنین.

این ایراد نیست. و همچنین تورفتگی متن نیست. بلکه بیرون اومدن سربرگ برای بیشتر توی چشم اومدنه. جزو استیل کتاب‌های lshort هست. در فایل lshort.sty تعریف شده.
با متغیر outdent تعریف شده. می‌تونین صفرش کنین. یا تغییرش بدین.