[cstex] texfraction v LaTeXu

Tomas Davidek Tomas.Davidek at cern.ch
Fri Apr 17 14:51:08 CEST 2015


Dobrý den,
    kolega se na mne obrátil s prosbou, jak se zbavit dvou řádek na 
konci stránky, která jinak obsahuje pouze obrázky. Doporučil jsem mu 
\renewcommand{\textfraction}{0.2} před \begin{document}, ale bohužel to 
nepomohlo. Nemáte prosím někdo nápad, čím by to ještě mohlo být?

Díky moc předem,

zdraví
               Tomáš Davídek

\documentclass[12pt,a4paper,twoside,openright]{report}
\setlength\textwidth{145mm}
\setlength\textheight{247mm}
\setlength\oddsidemargin{15mm}
\setlength\evensidemargin{0mm}
\setlength\topmargin{0mm}
\setlength\headsep{0mm}
\setlength\headheight{0mm}
% \openright zařídí, aby následující text začínal na pravé straně knihy
\let\openright=\cleardoublepage

%% Pokud tiskneme oboustranně:
% \documentclass[12pt,a4paper,twoside,openright]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{15mm}
% \setlength\evensidemargin{0mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \setlength\headheight{0mm}
% \let\openright=\cleardoublepage

%% Použité kódování znaků: obvykle latin2, cp1250 nebo utf8:
\usepackage[utf8]{inputenc}

%% Ostatní balíčky
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{amssymb,amsmath}

%% Balíček hyperref, kterým jdou vyrábět klikací odkazy v PDF,
%% ale hlavně ho používáme k uložení metadat do PDF (včetně obsahu).
%% POZOR, nezapomeňte vyplnit jméno práce a autora.
\usepackage[ps2pdf,unicode]{hyperref}   % Musí být za všemi ostatními balíčky
%\hypersetup{pdftitle=Studium vybraných fyzikálních procesů v pp interakcích na LHC}
\hypersetup{pdftitle=Measurement of the inclusive jet cross-section with the ATLAS detector}
\hypersetup{pdfauthor=Vojtěch Pleskot}
\usepackage{breakurl}

\usepackage{mystyle}
\usepackage{atlasphysics}
%\RequirePackage{subfigure}
\usepackage{caption}
\usepackage{subcaption}
%\usepackage{axodraw4j}
%\usepackage{pstricks}
%\usepackage{color}

%%the list of glossaries will treat acronyms and it will put it in the table of contents
%\usepackage[acronym, toc]{glossaries}
%the list of glossaries will treat acronyms and it will NOT put it in the table of contents
\usepackage[acronym]{glossaries}
%the list of acronyms will be treated as a chapter
\setglossarysection{chapter}
%\renewcommand*{\glossaryname}{List of Abbreviations}
%the list of acronyms will be called "List of Abbreviations" instead of the default "Acronyms"
\renewcommand*{\acronymname}{List of Abbreviations}
%read the acronym definitions from acronyms.tex
\loadglsentries{acronyms}
%the first occurance of an acronym will be printed in the same way as the others
\glsunsetall
\makeglossaries

% Zaridi, ze na strance musi byt alespon 20% textu.
%\renewcommand{\textfraction}{0.2}

\begin{document}





More information about the csTeX mailing list