I'm tried to do this:
Code: Select all
\parskip=0cm
\setlength{\parskip}{0cm}
Code: Select all
\parskip=0cm
\setlength{\parskip}{0cm}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
end of paragraph
\vspace{-0.5cm}
\begin{table}
The global solution would be to modify the length \intextsep by assigning a suitable value.medi3ed wrote:[...] Please, tell me, how can I decrease the distance between paragraph and table. [...]
It's not work for me.The global solution would be to modify the length \intextsep by assigning a suitable value.
Code: Select all
\documentclass[10pt,a4paper]{proc}
\usepackage[english,russian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphics}
\usepackage[height=29cm,a4paper,hmargin={0.5cm,0.5cm}]{geometry}
\begin{document}
%\vspace{-0.4cm}
\setlength\intextsep{-2cm}
\begin{flushleft}
\begin{tabular}[t]{|*{7}{p{1cm}|}}
Ok, this is complete example.Always provide complete examples.
Code: Select all
\documentclass[10pt,a4paper]{proc}
\usepackage[english,russian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphics} % This package contains "rotatebox"
\usepackage[height=27cm,a4paper,hmargin={0.5cm,0.5cm}]{geometry}
\begin{document}
\newcommand{\myphonenum}{8-888-88-88}
\newcommand{\advertbody}{
Текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления
текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления текст объявления
текст объявления текст объявления текст объявления текст объявления
\setlength\intextsep{0cm}
\setlength\textfloatsep{0cm}
\vspace{0cm}
}
\newcommand{\continfo}{
\begin{table}[H]
% \caption{\advertbody}
% \begin{center} %flushleft}
\begin{tabular}[t]{|*{7}{p{1cm}|}}
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} &
\rotatebox{90}{
\myphonenum
}
\rotatebox{90}{
текст объявления
} \\
\hline
\end{tabular}
% \end{center} %flushleft}
\end{table}
}
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\advertbody\
\continfo\
\end{document}
OK, \intextsep has positive length now.Assigning a negative value to this length register makes no sense. It would cause an overlap of the surrounding text and the table.
OK, I'm fixing it.Moreover you don't use a float environment (table here) in your example. The \intextsep length affects only the space between the text and a floating object.
I don't think so. Try yourself.The flushleft environment is superfluous.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis