[texhax] \blockquote quotation vertical spacing
Jesus Guillermo Andrade
jgandradev at me.com
Thu Mar 25 17:10:32 CET 2010
Dea Uwe: Yes. Im using csquotes and lineno, and a bunch of other packages to achieve what I need. However I have not messed with \SetBlockEnvironment... nor I have the slightest idea about what it is for... :-( Anyhow, would you mind if I send you the sources so you can replicate the problem? They should be compiled with xelatex.
This is the full preamble:
% !TEX TS-program = xelatex -output-driver="xdvipdfmx -q -E"
% !TEX encoding = UTF-8
\documentclass[12pt]{article}
%===============================================================
% Datos básicos del documento.
\def\titulopdf{Modificación de Sociedad Anónima}
\def\cliente{César Augusto Peñalver Serres}
\usepackage{/Users/mimoviz/TeX/docs/styles/venlegal}
\linenumbers
\topsep=0pt
\partopsep=0pt
\newenvironment{myblockquote}{\topsep=0pt\partopsep=0pt\relax\blockquote}{\endblockquote}
\begin{document}
Now. The tricky part comes in the style file:
%% Originally written by Mr. Hideo Umeki.
%% Modified by Guillermo Andrade.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{venlegal}
[2009/04/17 v0.3 a special layout]
%---------------------------------------------------------------
% 1. Polyglossia y BIBLATEX. Buenas referencias.
%---------------------------------------------------------------
\usepackage{lipsum}
\usepackage{siunitx}
\usepackage{polyglossia} % Sustituto de babel
\setdefaultlanguage{spanish}
\usepackage[strict,babel=once]{csquotes}
\RequirePackage{geometry,fancyhdr,graphicx,ifthen,fullpage}
\RequirePackage[xetex,hyperref,table,svgnames,x11names,xcdraw]{xcolor}
\RequirePackage{lineno}% needs v4.41 or later
\RequirePackage{enumitem}
\setenumerate{nolistsep}
%---------------------------------------------------------------
% Opciones Generales.
%---------------------------------------------------------------
\newif\ifmy at numbered
\my at numberedfalse
\DeclareOption{numbered}{\my at numberedtrue}
\DeclareOption{dvipdfm}{\geometry{dvipdfm}}
\DeclareOption{dvipdfmx}{\geometry{dvipdfm}}
\DeclareOption{pdftex}{\geometry{pdftex}}
\ProcessOptions
% 7. Ajuste de sangría, subtitulos e interespaciado de párrafos.
%---------------------------------------------------------------
\setlength{\parindent}{0.0in}
\setlength{\parskip}{0.0in}
%%%%%% otros ajustes
\ifmy at numbered
\linenumbers
\fi
\newlength\@oddheadheight
\newlength\@evenheadheight
\setlength\@oddheadheight\headheight
\setlength\@evenheadheight\headheight
\newlength\@oddfootskip
\newlength\@evenfootskip
\setlength\@oddfootskip{\footskip}
\setlength\@evenfootskip{\footskip}
\addtolength\@oddheadheight{4\baselineskip}%
\addtolength\@evenfootskip{4\baselineskip}%
\let\@outputpage at org\@outputpage
\def\@outputpage{
\ifodd\count\z@\relax
\setlength\headheight{\@oddheadheight}%
\setlength\footskip{\@oddfootskip}%
\else
\setlength\headheight{\@evenheadheight}%
\setlength\footskip{\@evenfootskip}%
\fi
\@outputpage at org
\ifmy at numbered
\resetlinenumber% reset line number
\fi
\ifodd\count\z@\else
\enlargethispage{4\baselineskip}%
\fi}
\AtBeginDocument{%
\baselineskip\my@@baselineskip
}
\endinput
\linenumbers
Thanks man!
--
Jesús Guillermo Andrade (Abg. EDM. AC. API.)
Mob. +58 416 650.48.75. --- Tel/Fax: +58 (251) 252.13.79
http://www.jgandradev.com/
El ojo que tú ves no es ojo porque tú lo veas, es ojo porque él te ve.
Antonio Machado. (1875-1939). Poeta español.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20100325/b5a94dd8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2213 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20100325/b5a94dd8/attachment-0001.bin>
More information about the texhax
mailing list