LyXAlter Font Size of References Heading

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
yoannjap
Posts: 4
Joined: Mon Sep 23, 2013 3:08 pm

Alter Font Size of References Heading

Post by yoannjap »

Hello everyone, (I'm French, sorry if my English is Frenglish sometimes ;))

It's been a while I have this problem, and sometimes I believe searching on the internet, forums, etc. will solve it, but no :/

Here's my problem : I use LyX. I include in my document a bibliography. But the 'References' heading in the text is not like other parts font size. And in the ToC, it's the same, tinier than the other parts headings.

To show you, here's the result.
LyX-references-heading-01.png
LyX-references-heading-01.png (99.46 KiB) Viewed 7079 times
LyX-references-heading-02.png
LyX-references-heading-02.png (75.24 KiB) Viewed 7079 times
What I would like to do is to obtain the same font size of heading for References heading and for the other parts. But also the same font size in the Toc for both of them. I tried this.

Code: Select all

\renewcommand\refname{\huge Références}
I obtain this good result:
LyX-references-heading-03.png
LyX-references-heading-03.png (21.76 KiB) Viewed 7079 times
But this bad one.
LyX-references-heading-04.png
LyX-references-heading-04.png (35.47 KiB) Viewed 7079 times
If it can help, here is my Document LaTeX Preamble :

Code: Select all

\usepackage{csquotes} 
\usepackage{hyperref} 
\usepackage{changepage} 
\usepackage{graphicx}  
\usepackage{pdfpages}
\usepackage{nomencl}
\usepackage[font={small}]{caption} 
\usepackage{wrapfig} 
\usepackage{colortbl} 
\usepackage{fancyhdr} 
\usepackage{geometry}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage[nottoc,notlof]{tocbibind} 
\usepackage{times,graphicx,pstricks} 
\date{} 
\usepackage{slantsc}
\usepackage{cfr-lm} 
\makeatletter
\newcommand*{\centerfloat}{%
  \parindent \z@
  \leftskip \z@ \@plus 1fil \@minus \textwidth
  \rightskip\leftskip
  \parfillskip \z@skip}
\makeatother
\geometry{hmargin=4cm, vmargin=4cm}
\definecolor{gris}{gray}{0.45}
\definecolor{gris2}{gray}{0.85}
\renewcommand{\UrlFont}{\ttfamily\footnotesize}
\newcommand{\asterism}{{\footnotesize \smash{% 
    \raisebox{-.2ex}{% 
      \setlength{\tabcolsep}{0.5pt}%
      \begin{tabular}{@{}cc@{}}% 
        \multicolumn2c*\\[-1.5ex] *&*% 
      \end{tabular}}}}}
\usepackage[runin]{abstract}
\abslabeldelim{.~---}
\setlength{\abstitleskip}{-\parindent} 
%\setlength{\parindent}{0pt} 
Thanks in advance for your (big) help !
Last edited by localghost on Thu Nov 14, 2013 8:01 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

yoannjap
Posts: 4
Joined: Mon Sep 23, 2013 3:08 pm

Re: Alter Font Size of References Heading

Post by yoannjap »

Anyone ?
Post Reply