LyX ⇒ How do I rename the fixed strings like Abstract,LoF..
How do I rename the fixed strings like Abstract,LoF..
Hello Everybody!
How do I rename the fixed strings like Abstract, Bibliography, List of Figures and Tables? Because I would to have:
ABSTRACT instead of Abstract
LIST OF FIGURES instead of List of Figures
LIST OF TABLES instead of List of Tables
REFERENCES instead of References
I've tried tu put
\renewcommand\abstractname{Executive Summary}
in the Preamble but it does not work...
Someone can help me?
Thank You,
davide
How do I rename the fixed strings like Abstract, Bibliography, List of Figures and Tables? Because I would to have:
ABSTRACT instead of Abstract
LIST OF FIGURES instead of List of Figures
LIST OF TABLES instead of List of Tables
REFERENCES instead of References
I've tried tu put
\renewcommand\abstractname{Executive Summary}
in the Preamble but it does not work...
Someone can help me?
Thank You,
davide
NEW: TikZ book now 40% off at Amazon.com for a short time.
How do I rename the fixed strings like Abstract,LoF..
I assume that you have English marked in Document > Settings... > Language.
It seems that LyX uses the babel package to deal with language support. If you export your lyx file to LaTeX, you'll see the line \usepackage{babel}. The problem is that LyX places it after any changes you've done in Document > Settings... > LaTeX Preamble, so invalidating them.
You have two possible solutions, choose the one you prefer:
It seems that LyX uses the babel package to deal with language support. If you export your lyx file to LaTeX, you'll see the line \usepackage{babel}. The problem is that LyX places it after any changes you've done in Document > Settings... > LaTeX Preamble, so invalidating them.
You have two possible solutions, choose the one you prefer:
- Before the abstract, insert an ERT with the code you already tried without success:
\renewcommand\abstractname{Executive Summary} - In Document > Settings... > LaTeX Preamble, add this line:
\AtBeginDocument{\addto\captionsenglish{\def\abstractname{Executive Summary}}}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: How do I rename the fixed strings like Abstract,LoF..
Thank You very much for your clear answer. Unfortunately the solutions you proposed me do not work and this is strange.. anyway it doesn't matter!
Cheers
davide
Cheers
davide
-
- Posts: 1
- Joined: Wed Feb 11, 2009 12:40 am
Re: How do I rename the fixed strings like Abstract,LoF..
You need to disable babel package. You can do this by going to Tools>Preferences>Language Settings. There, you uncheck the "Use babel" option and clean the "Language Package" textbox. Then, you need to define the names of Abstract, ToC, LoF, LoT and Bibliography in the document preamble, which is in Document>Settings>LaTex Preamble. There, type this:
\renewcommand\contentsname{your title for TOC}
\renewcommand\listfigurename{your title for LoF}
\renewcommand\listtablename{your title for LoT}
\renewcommand\refname{your title for Bib.}
\renewcommand\abstractname{your title for abstract}
Note: i'm using Lyx version 1.6.1. on Windows XP
\renewcommand\contentsname{your title for TOC}
\renewcommand\listfigurename{your title for LoF}
\renewcommand\listtablename{your title for LoT}
\renewcommand\refname{your title for Bib.}
\renewcommand\abstractname{your title for abstract}
Note: i'm using Lyx version 1.6.1. on Windows XP
Changing "Algorithm" to "Algorithmus" etc..
Hello,
I have a similar Problem:
LyX prints "Algorithm" instead of the german Word "Algorithmus".
I already changed the document-settings and the program-settings to German. But it doesn´t work.
I wonder, because all other words are fine, like
"Abbildung"
"Tabelle"
....
By the way. Is there a possibility, to change "Abbildung" to "Bild" ?
Thank you very much for your help!
greetings
I have a similar Problem:
LyX prints "Algorithm" instead of the german Word "Algorithmus".
I already changed the document-settings and the program-settings to German. But it doesn´t work.
I wonder, because all other words are fine, like
"Abbildung"
"Tabelle"
....
By the way. Is there a possibility, to change "Abbildung" to "Bild" ?
Thank you very much for your help!
greetings
Re: How do I rename the fixed strings like Abstract,LoF..
Noone?
Please, this is urgent....I got to finish my small diploma thesis....
Please, this is urgent....I got to finish my small diploma thesis....

Re: How do I rename the fixed strings like Abstract,LoF..
Write a small lyx document including a simple algorithm, export it to LaTeX and copy the resulting code here. In this way, it is possible to see which package or commands are used to write algorithms, and so I (and others) can try to help.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
How do I rename the fixed strings like Abstract,LoF..
Thanks. Here we go:
Code: Select all
%% LyX 1.6.4.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,english,ngerman]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{listings}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3.5cm,bmargin=3.5cm,lmargin=3cm,rmargin=3cm}
\pagestyle{headings}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\usepackage{babel}
\usepackage{varioref}
\usepackage{float}
\usepackage{units}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{makeidx}
\makeindex
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=true]
{hyperref}
\hypersetup{pdftitle={E},
pdfauthor={P},
pdfsubject={s},
pdfkeywords={s},
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
\newcommand{\lyxmathsym}[1]{\ifmmode\begingroup\def\b@ld{bold}
\text{\ifx\math@version\b@ld\bfseries\fi#1}\endgroup\else#1\fi}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
\floatstyle{ruled}
\newfloat{algorithm}{tbp}{loa}[chapter]
\floatname{algorithm}{Algorithm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
{\par\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\item[]}
{\end{list}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% DO NOT ALTER THIS PREAMBLE!!!
%
%This preamble is designed to ensure that the document prints
% out as advertised. If you mess with this preamble,
% parts of the document may not print out as expected. If you
% have problems LaTeXing this file, please contact
% the documentation team
% email: lyx-docs@lists.lyx.org
\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
\fi % end if pdflatex is used
% Die Seiten des Inhaltsverzeichnisses werden rˆmisch numeriert,
% ein PDF-Lesezeichen f¸r das Inhaltsverzeichnis wird hinzugef¸gt
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\frontmatter
\pdfbookmark[1]{\contentsname}{}
\myTOC
\mainmatter }
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
{LyX}}
% My Preamble
\usepackage{tikz}
\usepackage{pgfplots}
% recommended as of Pgfplots 1.3:
\pgfplotsset{compat=newest}
\usepackage{signalflowdiagram}
\@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\begin{document}
\begin{algorithm}
\begin{lstlisting}[basicstyle={\ttfamily},language=C]
i++;
\end{lstlisting}
\caption{\label{alg:Lineare-Int_KoeffA1} Legend in English}
\end{algorithm}
\begin{figure}[h]
\begin{centering}
%
\par\end{centering}
\caption{\label{fig:Dreiecksmoduation}Legend in German.}
\end{figure}
\end{document}
How do I rename the fixed strings like Abstract,LoF..
Add this to the preamble:
Please, report if that works. If not, post again the tex file.
Code: Select all
\floatname{algorithm}{Algorithmus}
\addto\captionsngerman{\def\figurename{Bild}}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: How do I rename the fixed strings like Abstract,LoF..
WOW!!
Thank you, Juanjo!!
This works like a charm. Why is "algorithm" the only word, which is still in English? Is this a LaTeX or LyX Error?
Thank you, Juanjo!!
This works like a charm. Why is "algorithm" the only word, which is still in English? Is this a LaTeX or LyX Error?