I am very new to LaTeX system, using MikTeX 2.7 (complete) and WinEdt 5.6, I would like to create a document which must have some properties as follows (all measures in inches, and in points while font-size):
- 1. Page-height: 11.26", Page-width: 8.26", Text-height: 7.5" and Text-width: 4.53", these values must be maintained throughout the document.
2. Width of all tables and longtables must not exceed the Text-width value (i.e., 4.53").
3. Verso pages should contain like [<page-number><0.25" space><title in bold>] and all left-aligned, where the recto pages would like [<author-names>~\maltese ~<section-head in bold><0.25" space><page-number>] and all right-aligned. There should be no page footers in the document.
4. All section-heads would be "Helvetica Bold" (14pt), and sub-sections are in "Helvetica Light"(12pt). All body text (except equations) should be "Janson Text Roman" (9pt), text within tables would be 7pt.
5. Vertical space within normal paragraphs would be 0.04", this measure would be 0.25" and 0.2" before and after sections and subsections respectively.
6. First letter of first paragraph after each section sould be a "three lines spreaded drop cap".
Code: Select all
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[9pt]{book}
\usepackage[text={4.53in,7.5in},centering]{geometry} %to set page lengths
\usepackage{fancyhdr} %for drop cap
\usepackage{tabularx} %to control table width
\usepackage{booktabs} %to control horizontal lines within tables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paperwidth=8.26in
\paperheight=11.69in
\topmargin=.75in
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancyplain}
%% some redefination of the headers and footers
\renewcommand{\chaptermark}[1]%
{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]%
{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\thepage}]%
{\fancyplain{}{\rightmark}}
\rhead[\fancyplain{}{\leftmark}]%
{\fancyplain{}{\thepage}}
\cfoot{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\rmdefault}{pjn} %to set janson text as default font
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
...
\end{document}
Code: Select all
\begin{quotation}
\begin{enumerate}
\item[1.] Data...\par
\begin{tabularx}{10cm}{lrXrXrX}***\end{tabularx}
\par
\item[2.] Data...\par
\item[3.] Data...\par
\end{enumerate}
\end{quotation}
I tried a lot to recover, but all went in vein.
There's a more problem, I couldn't able to manage the length of the "\hline" within tabularx.
Thorsten told me to use booktabs, to maintain the length of "\hline". I tried but still I need some code examples to use "booktabs" with "tabularx".
If someone told me if there any wrong segments in my code. Or if someone told me how could I solve my problem, I would be highly obliged. All suggestions/guidances are welcome.
Thanks in advnace.
Regards,
Cylian