Text FormattingHow can we use the Lucida Console font

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

How can we use the Lucida Console font

Post by artemff »

I want to set font "Lucida Console":

Code: Select all

\documentclass [a4paper, 12pt, oneside]{scrartcl}
\usepackage [cp1251] {inputenc}
\usepackage [english, russian] {babel}
\usepackage{indentfirst}
\usepackage{misccorr}
\begin{document}
\fontfamily{lc}
\fontseries{m}
\fontshape{n}
\fontsize{12}
\selectfont
\section{asdfasdf} 
afasdfasdf
asdfasdf 
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
zroutik
Posts: 16
Joined: Fri Aug 14, 2009 8:23 am

How can we use the Lucida Console font

Post by zroutik »

\fontsize{}{} takes two parameters, actual font size and baselineskip (http://www.tug.org/pracjourn/2006-1/walden/walden.pdf says "Page 415 of The LATEX Companion")
Further, \usepackage{lucidabr} should be used.

This works for me with one warning regarding the "russian" package:

Code: Select all

\documentclass [a4paper, 12pt, oneside]{scrartcl}
\usepackage [cp1251] {inputenc}
\usepackage [english, russian]{babel}
\usepackage{indentfirst}
\usepackage{misccorr}
\usepackage{lucidabr}

\begin{document}
\fontfamily{hlct(*)}
\fontseries{m}
\fontshape{n}
\fontsize{12pt}{15pt}
\selectfont
\section{asdfasdf}
afasdfasdf
asdfasdf
\end{document}
Cheers, Z
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

Re: Why this code don't work?

Post by artemff »

zroutik, Thanks...
Where can I see abbreviation family names of the most used fonts? Such as(Arial, Courier, Lucida, Times New Roman, and etc...)
zroutik
Posts: 16
Joined: Fri Aug 14, 2009 8:23 am

How can we use the Lucida Console font

Post by zroutik »

artemff wrote:zroutik, Thanks...
Where can I see abbreviation family names of the most used fonts? Such as(Arial, Courier, Lucida, Times New Roman, and etc...)
Google search gave me:

http://tex.loria.fr/general/new/fntguide.html
http://julien.coron.free.fr/languages/latex/fonts/

for global definition, it is better to use a related package
http://www-h.eng.cam.ac.uk/help/tpl/tex ... fonts.html

Cheers, Z
edit: some time ago I came across this: http://ctan.tug.org/tex-archive/info/Fr ... urvey.html
Post Reply