4

enter image description here

How do i remove the space infront of the 'Lorem' and how do i set the linespacing to 6pt after abstract ?

Requirements:

  • Abstract heading
  • Alignment : left
  • Size : 13pt , bold italic Times New Roman , Small caps
  • Paragraph line spacing : 6 pt

Eg. After the Abstract i need include 6 pt of line spacing and then continue to the abstract content.

This is the requirement i want, and i not sure how to set for the line spacing.

\documentclass[a4paper]{article}
\usepackage{geometry}
\geometry{
    a4paper,
    total={210mm,297mm},
    left=30mm,
    top=30mm,
    right=30mm,
    bottom=30mm
}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{mathptmx}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{kpfonts}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tocloft}
\usepackage{authblk}
\usepackage{abstract}
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{slantsc}
\usepackage{bold-extra}

\renewcommand{\absnamepos}{flushleft}
\setlength{\absleftindent}{0pt}
\setlength{\absrightindent}{0pt}
\renewcommand{\abstractnamefont}{\fontsize{13}{16}\scshape\itshape\bfseries\selectfont\parskip6pt}
\renewcommand{\abstracttextfont}{\fontsize{10}{12}\itshape}
\usepackage{lipsum}

\begin{document}
\begin{abstract}
\lipsum[1]
\end{abstract}
\end{document}
16
  • 1
    use \noindent \lipsum[1] to remove the space before Lorem.
    – ddas
    Commented Aug 13, 2016 at 7:06
  • Okay, thanks. And how about the line spacing? Is that using parskip6pt for line spacing just like what written in my code? Commented Aug 13, 2016 at 7:10
  • Or the setting is already default Eg. after /title then the paragraph line spacing is auto 24pt ? Commented Aug 13, 2016 at 7:14
  • It's not clear why you would want to change the \parskipparameter, which governs the amount of white space between paragraphs, for the abstract environment: Abstracts usually consist of a single (and hopefully brief) paragraph, right?
    – Mico
    Commented Aug 13, 2016 at 7:39
  • Abstract heading Left 13 pt. bold italic TNR, small caps 6 pt. line sp. Abstract text Justify 10 pt. italic TNR 12 pt. line sp. This is the requirement i want, and i not sure how to set for the line spacing. Commented Aug 13, 2016 at 7:47

1 Answer 1

1
\documentclass[a4paper]{article}
\usepackage{geometry}
\geometry{
    a4paper,
    total={210mm,297mm},
    left=30mm,
    top=30mm,
    right=30mm,
    bottom=30mm
}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{mathptmx}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{kpfonts}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tocloft}
\usepackage{authblk}
\usepackage{abstract}
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{slantsc}
\usepackage{bold-extra}

\renewcommand{\absnamepos}{flushleft}
\setlength{\absleftindent}{0pt}
\setlength{\absrightindent}{0pt}
\renewcommand{\abstractnamefont}{\fontsize{13}{16}\scshape\itshape\bfseries\selectfont\parskip6pt}
\renewcommand{\abstracttextfont}{\fontsize{10}{12}\itshape}
\usepackage{lipsum}

\begin{document}
\begin{abstract}
\vspace*{6pt}
\noindent \lipsum[1]
\end{abstract}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .