Datasets:
mteb
/

Modalities:
Text
Formats:
json
Languages:
English
Libraries:
Datasets
pandas
_id
stringlengths
1
6
title
stringlengths
12
149
text
stringlengths
22
31.1k
182565
Adding horizontal lines to pgfplots bar
I am using a pgfplots stacked bar to display the aggregated energy demand of a houshold and the associated price. When the energy demand exceeds a certain threshold, than a higher price has to be paid. This is visualized by the color red and blue of the bars. The threshold is displayed by the thick red horizontal line. My problem is, that I want this red line to exceed the width of the bar, so that it's width is circa 120 percent of the width of the bar. Is there any possibility to achieve this? Thanks ![enter image description here](http://i.stack.imgur.com/3qeEi.jpg) \documentclass[tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \begin{document} \begin{tikzpicture} \begin{axis}[ ymin=0,ymax=4, samples=3, enlarge x limits={abs=0.5}, bar width=0.6, ybar stacked, legend pos=south east, every axis/.append style={font=\footnotesize}, ] \draw[red, very thick] (axis cs:0.7,2) -- (axis cs:1.3,2); \draw[red, very thick] (axis cs:1.7,2.5) -- (axis cs:2.3,2.5); \draw[red, very thick] (axis cs:2.7,2.5) -- (axis cs:3.3,2.5); \addplot coordinates {(1,1) (2,2.5) (3,1.5)}; \addplot coordinates {(1,0) (2,1) (3,0)}; \legend{low price, high price} \end{axis} \end{tikzpicture} \end{document}
12668
Where do I start LaTeX programming?
I'm interested in writing packages for TeX/LaTeX/XeLaTeX. I googled around, but all I found was guides or tutorials about how to prepare documents using LaTeX. I want to know how LaTeX works and how to change it or add new things to it. Which book/guide/tutorial is the most useful source to learn LaTeX programming? Is there official documentations around LaTeX development? (I couldn't find development SCM on official site. is source code private?)
136758
Programing in Latex, if and?
I know about `\ifthenelse`. Is it possible to programming in LaTeX like in C, with loops and arrays?
75026
Good beginner's guide to LaTeX programming
> **Possible Duplicate:** > Where do I start LaTeX programming? After a year of using LaTeX I've become fairly comfortable with troubleshooting common errors. As my confidence with LaTeX increases, I now find myself in situations where I wonder how I could extend a certain command's functionality for it behave it as I'd like. The problem is, there are tons of guides to learn to typeset documents using LaTeX, but very documents on how to get to that next level. I was hoping that some of the more advanced users in this forum would be able to point me towards some of these documents. More specifically, topics that I'd like to cover include: * A command manual for core LaTeX macros * A guide to the pitfalls and precautions that should be taken when patching macros * Package and class writing In other words, if you're a LaTeX guru, this is the place to reminisce your beginnings and pass on some of your wisdom. Or, at least, point newer users in the right direction!
176545
Good resources to understand how LaTeX is constructed layer after layer?
I have been a user of LaTeX for a couple of years now, and I would like to start to be involved in the writing packages. The problem is that currently, a lot of things appear to me as "black magic". In `C` and `C++`, I have a good culture of how the languages work from the raw hardware to the compiler and the high-level part (the part that most people use), but for the moment, in LaTeX, I only know the "high-level" layer and I would like to understand the basics starting from "the bare metal". What would be good resources to understand the whole logic behind TeX and LaTeX, how does it work "behind the scenes" and how it is constructed layer after layer ?
161057
What packages are useful for (secondary school) teachers?
I'm trying to bring LaTeX to some of my colleague-teachers (in secondary schools, pupils 12->18 years old). They all seem quite reluctant to change. So I'm trying to collect some quick-win situations, that could convince them to 'give it a try'. What packages exist already that could provide such a quick-win? Maybe with a brief description?
186233
Modify Pie Charts (delete the labels)
I am totally new to LaTeX and `pgfplots`,... I copied an example for pie charts from another blog. The problem: I don't want the labels in my pie chart. Could you please help me? This is what I have already (H_S_3 is the name of my plot): \DTLloaddb{H_S_3}{H_S_3.txt} \begin{document} \begin{figure}[htbp] \centering %colours \DTLsetpiesegmentcolor{1}{black!50} \DTLsetpiesegmentcolor{2}{pink} \DTLsetpiesegmentcolor{3}{green!25} \DTLsetpiesegmentcolor{4}{blue!70} \DTLsetpiesegmentcolor{5}{black!15} \DTLsetpiesegmentcolor{6}{pink!92} %sans-serif: %\renewcommand*{\DTLdisplayinnerlabel}[1]{\textsf{#1}} %\renewcommand*{\DTLdisplayinnerlabel}[1]{\textit{#1}} \DTLpiechart{ variable=\quantity, %innerlabel={\DTLpiepercent\%}, %outerlabel={\name\ (\DTLpievariable)}, } {H_S_3}{% \name=Serotyp,\quantity=Anzahl} %Legende \begin{tabular}[b]{ll} \DTLforeach{H_S_3}{\name=Serotyp}{\DTLiffirstrow{}{\\}% \DTLdocurrentpiesegmentcolor\rule{10pt}{10pt} & \name } \end{tabular} \end{figure} How can I delete the numbers from my pie chart? my preamble: \usepackage{geometry} \geometry{a4paper,left=28mm,right=28mm, top=25mm, bottom=25mm} \usepackage{acronym} \usepackage{booktabs} \usepackage[pdftex]{graphicx} %\usepackage{ucs} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{amsmath,amssymb,amstext} \usepackage{graphicx} \usepackage{datapie} \usepackage{caption} \usepackage{subcaption} \usepackage{array} \usepackage[automark]{scrpage2} %PGF Plots \usepackage{pgfplots} \pgfplotsset{compat=1.9}
176059
paging problem with a 2\columnwith image on a three-column text
i'm having an paging problem including a two-column large image inside a three-column text page. I tried with the code: \documentclass[]{book} \usepackage[T1]{fontenc} \usepackage{graphicx} \graphicspath{{./Immagini/}} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{geometry} \geometry{a4paper,top=2cm,bottom=2cm,left=1.5cm,right=1.5cm} \usepackage{multicol} \addtolength{\columnsep}{1.5mm} \usepackage{blindtext} \pagestyle{empty} \begin{document} \begin{multicols}{3} \blindtext[2] \makebox[2\columnwidth][c]{\includegraphics[width=2\columnwidth, keepaspectratio]{rect3050}} \blindtext[2] \end{multicols} \end{document} Of corse the result is not what I want: ![enter image description here](http://i.stack.imgur.com/19TrW.png) Of course I could choose the text to put in the third column using a code like: \documentclass[]{book} \usepackage[T1]{fontenc} \usepackage{graphicx} \graphicspath{{./Immagini/}} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{geometry} \geometry{a4paper,top=2cm,bottom=2cm,left=1.5cm,right=1.5cm}% margini \usepackage{multicol} \addtolength{\columnsep}{1.5mm}% spazio tra le colonne \usepackage{blindtext} \pagestyle{empty} \begin{document} \begin{multicols}{3} \blindtext \end{multicols} \begin{multicols}{3} \makebox[2\columnwidth][c]{\includegraphics[width=2\columnwidth, keepaspectratio]{rect3050.png}} \phantom{a} \columnbreak \phantom{a}\\\phantom{a} \columnbreak \blindtext \end{multicols} \begin{multicols}{3} \blindtext \end{multicols} \end{document} But the result is still not what I want because the text is not continuous in the three sections that are created. ![enter image description here](http://i.stack.imgur.com/kkD7f.png) I also tried with the ambient 'floatfigure' but with no satisfying result because the package is thought for figures smaller than the width of the text in which they appear. * * * The result that i'd like to obtain is something like this: ![enter image description here](http://i.stack.imgur.com/hpfmx.png) Is unnecessary to specify that I want the text to be continuous 1,2,3,4,5...
186099
sign for multiple $\Diamond$-product
I use `$\Diamond$` as a product sign and want to have something like `$\bigDiamond_{i=1}^{n}$` to note multiple `$\Diamond$`-products. Similar to `$\wedge$` and `$\bigwedge$` or `$\vee$` and `$\bigvee$`. Is there a package for this problem?
61123
How to change the side on which the superscript appears?
> **Possible Duplicate:** > Left and right subscript > Superscripts before a letter in math I need to write something almost identical to this notation `$P_{O}^A$`except I need the superscript A not to be on the right with the subscript O but to be on the left side? Is this possible which commands/packages I need to use?
69258
annihilator symbol
> **Possible Duplicate:** > Left and right subscript I want to use annihilators in maths. I can write `$I^\perp$` but I do not know how I can write `perp` in left hand side not the right hand side. Would you please help me in this regard. Sorry for the poor English in advance.
52076
How to make a superscript on the upper left hand corner of a letter?
> **Possible Duplicate:** > Left and right subscript How can I make a superscript on the upper left hand corner of a letter?
30554
Superscripts before a letter in math
I was writing this formula: $$^gp = ^gR^l_l+^go_l$$ `$g$` are superscripts, but they should be close to other letters. How can I solve this problem?
38842
What does 'missing \@ before...' error mean in vim?
I get this strange behavior when I have capitals before a period, like so 1 \documentclass{article} 2 \begin{document} >> 3 Another possible protein blah blah blah from GRIP/ABP. Blah Blah Blah 4 \end{document} The error I generally get in vim is: blahblah.tex|3 error| missing `\@' before `.' in "ABP." What does that mean? Why do I get it? How do I fix it?
80
LaTeX template for resume/curriculum vitae
If you have a TeX'ed resume, did you use a template or make your own? Are there any useful packages? What looks the most professional? How about special considerations for different areas of work (e.g. in academia)?
11955
What are the benefits of writing resumes in TeX/LaTeX?
Today, I've written my resume in LaTeX and it looks great and all It took me about 2 hours to get everything right But I've been thinking, what benefits do I get from writing it in LaTeX rather than in a word processor like MS Word or OOo Writer? I'm not comparing TeX/LaTeX to those programs, but I just want to know if TeX is the right choice for resumes.
101404
How to make a simple resume
I like the sytle of this resume It is simple and clear. But it is made by Word. How to write a tex version? ![resume.pdf](http://i.stack.imgur.com/6mwSv.png)
61663
Model of curriculum vitae with Latex
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae Please, is there any patterns (model or package) to download to do a cv with latex? Thank you so much
21183
Preparing a Resume/CV with latex?
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae > > **See also:** > What are the benefits of writing resumes in TeX/LaTeX? Being a beginner, I just finished typing my first report in latex and I realized its great feel for presentation. Then the idea sprang up, that I can use latex to prepare my resume/CV too. I googled and found not very interesting sites which guided me with samples or templates. It would be great if some can guide me with some good tools, URLs, templates, samples so that I can prepare my CV/Resume to its best presentation. Thanks! P.S: Resume/CV which I can use for applying to universities.
895
Class for Curriculum Vitae
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae Which class do you recommend to write a CV? The answer will probably be different depending on the CV being used in the academia or in an external context (the former will probably be more "serious", and certainly it will not include a photo).
1534
Are there any other packages defined to create a CV except the "moderncv" package?
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae I'm gona make a CV of my own. I wonder wether there are some other packages focused on CV making except the "moderncv" package? Thank you.
56243
LaTeX template for a professional looking CV
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae I know there are couple of similar questions. However most of their answers are links to LaTeX libraries. Can I ask kindly for an example that illustrates using LaTeX for writing a professional CV?
71534
Which document class for writing resume?
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae I am trying to create a new resume in LaTeX previously I used Scribus but not happy with the formatting and pdf size. To begin with I am very new to LaTeX and don't know much about formatting, I find it really hard to decide on the document class and how to indent the text accordingly. I want a manual indent with heading on the left and accompanying content on the right or middle. But with default document class `article` everything seems to be centered indented. Here is the screenshot of my previous resume which I am considering as a base guide for the new one. ![Resume created in Scribus](http://i.stack.imgur.com/FLgZi.jpg) ![Latex Styling](http://i.stack.imgur.com/UMLWA.jpg) Can you please help me getting acquainted with alignment. It will be great if you can point me to some good materials.
9548
Writing a CV in LaTeX
> **Possible Duplicate:** > LaTeX template for resume/curriculum vitae Hello! Could you tell is there any example (or maybe free template) of well- formed cv (preferably programmer cv) in LaTeX? Thanks!
11541
How to include enumerate in tabular?
I would like to have text in one column table with multiple rows, but I need to include an `enumerate` in one cell. I get errors and read on the Internet the problem is in combining environments with `\item`. Is there a solution? I haven't found anything yet. Sample: ... \begin{tabular}{|l|} \hline \textbf{Name:} Foo \\ \hline \textbf{Main success scenario:} \\ \begin{enumerate} \item Entry action \item next steps\ldots \end{enumerate} \hline \end{tabular} ... Errors: Illegal unit of measure (pt inserted). \hline (followed by: ) Misplaced \noalign. \hline (followed by: ) Missing number, treated as zero. \hline (followed by: ) Something's wrong--perhaps a missing \item. \end{enumerate} (followed by: ) You can't use `\hrule' here except with leaders. \hline (followed by: )
33325
How can I change the font family in pgfplots?
I am using the `classicthesis` package in LyX to typeset my thesis. I have a plot produced with `pgfplots`. It uses math fonts same as elsewhere in the text, which is inconsistent with other plots of mine (imported from Matlab), where Arial is used for tick and axes labels. So my question is, how can I change the font family for the text used in my `pgfplots` plot (i.e. the caption font should NOT change)? The minimal TeX code would be: \documentclass[12pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage[sc,osf]{mathpazo} \usepackage[euler-digits]{eulervm} \usepackage{pgfplots} \pgfplotsset{compat=1.3} \begin{document} \begin{figure} \centering \pgfplotsset{every axis/.append style={ thick, tick style={semithick}}} \begin{tikzpicture} \begin{axis}[ height=8cm, width=15cm, xlabel = {$x$}, ylabel = {$\phi(x)$}, domain = 0:1, xtick={0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0}, ytick={0.0,0.1,0.2,0.3,0.4,0.5}, grid=major, no markers, cycle list name=linestyles ] \addplot {0.5-abs(x-0.5)}; \end{axis} \end{tikzpicture} \caption{Solution of Eikonal equation on a 1D domain $\Omega=[0;1]$} \end{figure} \end{document} So I would like all the tick numbers, and `x` and `\phi(x)` labels to be in Arial, while the bottom caption to remain in Palatino.
32930
Is it possible to suppress a specific field from bibtex .bbl in biblatex?
I'm using `biblatex`, and am still very new at it. I can't figure out how to suppress certain fields automatically generated from my `bibtex` file into my `.bbl` file. For instance, for all of my entries, I have a category `Language` in which I record the language that that work was written in. This is just for my own database, and I don't want this information listed in the References at the end of my `article`/`book`. But it gets listed anyway. The same is true of my `notes` field. Is there anyway to suppress a specific field so that it does not show up in the "List of References"? I would write my own style, but my knowledge of programming/TeX is not even close to being able to do that. I've noticed there is a solution for the ISBN number (an option `isbn=false`), and this is exactly what I need, but for different fields.
182972
Can I turn a variable width font into a fixed-width font?
I found a free ancient-typewriter font I'd like to use in a project, but the person who made it apparently traced some scanned outlines and poured them into a variable width truetype font. That is not very typewritery, and I'd rather repair that. Can I do that from inside XeLaTeX/fontspec/microtype or will I have to learn how to use a full-blown font editor like fontforge? The project is a book where various chapters have different "moods" and narrative perspectives and I'm trying to reflect them in the font used. The old-typewriter font is for an exchange of letters between two agencies in the 1950s. So, I guess I'd need hyphenation, for example.
145201
Override implicit resetnumbers when using Biblatex's prefixnumbers
I have to use multiple bibliographies, but some of those should share the same number prefix. Biblatex allows to set prefixnumbers, but this implicitly enforces resetnumbers. This results in multiple usage of a label, since the numbering is resetted at each printbibliography call. The following example illustrates the problem: \documentclass[a4paper,oneside]{article} \usepackage{filecontents} \begin{filecontents*}{bib.bib} @Misc{A, author = {A Author}, title = {Title}, year = 2013, } @Misc{B, author = {B Buthor}, title = {Title}, year = 2013, } @Misc{C, author = {C Cuthor}, title = {Title}, year = 2013, } \end{filecontents*} \usepackage[english]{babel} \usepackage[style=numeric-comp,defernumbers,backend=biber]{biblatex} \addbibresource{bib.bib} \DeclareBibliographyCategory{catA1} \DeclareBibliographyCategory{catA2} \DeclareBibliographyCategory{catB} \addtocategory{catA1}{A} \addtocategory{catA2}{B} \addtocategory{catB}{C} \begin{document} \cite{A} supposed to be [A1]\\ \cite{B} supposed to be [A2]\\ \cite{C} supposed to be [B1] \section{Part A1} \printbibliography[category=catA1,prefixnumbers={A}] \section{Part A2} \printbibliography[category=catA2,prefixnumbers={A}]%resetnumbers=false does not work here \section{Part B} \printbibliography[category=catB,prefixnumbers={B}] \end{document} How can I tell Biblatex to NOT reset the numbering when printing the second bibliography?
5989
Exit codes of pdfLaTeX
In the script I presented in this question I encountered the following problem. In case of a compilation error, I have to cancel the execution of `pdflatex` 3 times. This can be very annoying. I would like to add something like if pdflatex file.tex returned failure break script However, I could find what values `pdflatex` returns when it exits. So the question is: _What are the exits/return values/codes of`pdflatex`?_
110550
Line return/spacing after \hrulefill
I'm new to LaTeX and am trying to make a simple resume. I'd like my left- justified name to appear above an `\hrulefill` line followed by my right- justified address on the next line. However, when I do this there is a large return space that I can't seem to remove above my address. I can get the name to be directly on top of the line with `\nointerline` skip after my name but get errors when trying to use this after the line. btw: Because I'm just using text and not any designated section or title, `titlesec` doesn't seem too necessary at this time. This doesn't work as desired because of the return space after the horizontal line: \begin{flushleft} \Large{CptZpBrngn\\} \nointerlineskip\hrulefill \end{flushleft} \begin{flushright} \small{1234 Fake St.} \end{flushright} Putting another `\nointerlineskip` after `\hrulefill` causes an error (! You can't use `\prevdepth` in horizontal mode.) and after the `flushleft` section it doesn't do anything. Edit: Thanks go to David for leading me to the answer. This is the formatting that ended up looking best to me: \begin{flushleft} {\large CptZpBrngn\\} \nointerlineskip\hrulefill\\ {\raggedleft \small 1234 Fake St.\par} \end{flushleft}
137046
Xetex Hebrew PDF output problem in Lyx
I am trying to compile a document that contains both English and Hebrew. The problem is, that although I have selected **Documents | Settings | Use non-tex fonts via XeTeX |LuaTeX** , there is no option to export the file to PDF via Xetex (LuaTex always gives me all sorts of errors about not recognizing fonts). I then tried to see if XeTeX is installed, by entering the following into a terminal: sudo apt-get install texlive-xetex In case it helps/matters: I'm running Lyx 2.0 on a Linux Mint machine. An extensive search, unfortunately, yielded no answers that worked. So, my question is: How can I export the document to PDF via XeTeX (I only have the LuaTeX option)? (P.S. If this question has been previously answered, I'd greatly appreciate a link to the page!)
19397
pgf install error - MiKTeX
i have this code taken from another question trying to produce a tree: \documentclass{article} \usepackage{tikz-qtree} \begin{document} \tikzset{edge from parent/.style= {draw, edge from parent path={(\tikzparentnode.south) -- +(0,-8pt) -| (\tikzchildnode)}}} \begin{tikzpicture} \matrix { \node{\Tree [.Class \edge[color=white]; [.Order \edge[color=white]; [.Family \edge[color=white]; [.Genus ]]]]}; & \node{\Tree [.{$\gamma$-proteobacteria} [.Alteromonadales [.Alteromonadaceae {Glaciecola} Alteromonas Agarivorans ] ] [.Vibrionales [.Vibrionacae Vibrio ]]]};\\ }; \end{tikzpicture} \end{document} but when compiling using TeXworks in MiKTeX 2.9 i always get the same error: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) entering extended mode (C:/Users/nagi/Desktop/these/myLaTeX/these.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u senglishmax, welsh, loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo")) ("C:\Program Files\MiKTeX 2.9\tex\latex\tikz-qtree\tikz-qtree.sty" ====================================================================== pdflatex.EXE: Cannot start MiKTeX package manager. pdflatex.EXE: Data: The class is not configured to support Elevated activation. ====================================================================== ! LaTeX Error: File `tikz.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: can you help me solve this issue, i really need to draw some trees in my thesis... thank you. EDIT: as requested by Alan Munn, i tried to install pgf from the package manager, and received this error at the end of the download process: MiKTeX Problem Report Message: The operation could not be completed because the following file failed verification: C:\Users\nagi\AppData\Local\Temp\mik2E71.tmp i tried installing pgf again after some time, but with the same result (error).
116666
Spell checking considering latex umlauts in .tex files
To make it short. My problem is this: **content of .tex file** Priorit"at is a german noun and means priority. compare: `\"a` or `{\"a}` **it results in** Priorität is a german noun and means priority. My spell checker ( _notepad++_ /w _aspell_ plugin) then complains, because it doesn't know `Priorit` and `at`. It doens't seem to recognize the whole word. I want to automate the spellchecking process, since I have a certain amount of .tex files containing umlauts.
5981
Vertical alignment in the tables with pictures (epsfig)
I have a table with two columns. The column on the left contains a picture (\epsfig) the column on the right contains the description. The description starts on the same height as the lower end of the epsfig I would like the description to start on the same height as the beginning of the epsfig. How can I achieve this?
19393
Problem with spanish babel package
I'm trying to use package `amscd` for a commutative diagram. Everything goes smoothly if I write: \documentclass{article} \usepackage[english]{babel} \usepackage{amscd} \begin{document} $\begin{CD} A @>b>> C\\\ @VVV @VVV\\\ C @>>> R (V) \end{CD}$ \end{document} However, if I replace `english` by `spanish` it doesn't work anymore. I get: "Runaway argument? b>> C\\ @VVV @VVV\\ C @>>> R (V) \end {CD}$ \end {document} ! File ended while scanning use of \ @>. <inserted text> \par <*> prueba1.tex I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file. ! Emergency stop. <*> prueba1.tex *** (job aborted, no legal \end found)" Any hints on how to solve it without having to use the `english` option?
146544
How can I replace "S." (German abbreviation for page) with "Sp." (German abbreviation for column) in the Apacite-package for only two entries?
I've got a question concerning the replacement of "Sp" instead of "S" in a reference. For example, instead of getting XXX, Y. (ABCD). YYY. In Y. XXX. (Ed.), FGAH. (A. ed., S. 01-03). VVVV: ZZZZ. I would like to get the following reference: XXX, Y. (ABCD). YYY. In Y. XXX. (Ed.), FGAH. (A. ed., Sp. 01-03). VVVV: ZZZZ. How can I change the page-numbering from "S." to "Sp." for only two entries? Here is a minimal example: \documentclass{scrbook} \pagestyle{plain} \usepackage[utf8]{inputenc} \usepackage[english,ngerman]{babel} \usepackage[natbibapa]{apacite} \author{XX} \title{YYY} \begin{document} \maketitle \citep{Example1} \bibliographystyle{apacite} \bibliography{test} \end{document} The bib-file (test.bib) contains the following entry: @inbook{Example1, author = {XXX, Y}, title = {YYY}, booktitle = {FGAH}, editor = {XXX, Y}, publisher = {ZZZZ}, address = {VVVV}, edition = {A.}, pages = {01-03}, year = {ABCD}, } Thank you very much for any solution!
19390
How do you download packages for TeXworks on Windows 7?
I am using TeXworks on Windows 7 and I want to use the `algorithmic` package. However, when I try to include it it just says I need to download that package, but I can't figure out how to download it (TeXworks asks if you want to download it automatically, but that doesn't seem to work, because nothing visible happens)
148846
how to do auto-complete in multiple citation
How can I make my multiple citation does auto-complete for the 2nd, 3rd etc in 1 bracket. For single cited eg: `\citep{Howard1990}` it is ok with autocompletion. But my problem is when I add the references. The 2nd one not appear the autocompletion. eg: `\citep{Howard1990,Ashley2001}`. The 'Ashley2001' not appear for autocompletion. I am using `natbib` in Texmaker. Tq
17528
Show equation number only once in align environment
I want the equation number to be shown only at the last line, or better, somewhere in the middle of all. So instead of `(1), (2), ...` only `(1)`. I use `\begin{align} ... \end{align}`
82442
\citeasnoun produces too many names
I'm using `\citeasnoun` from the `harvard` package with the `econometrica` bibstyle. My problem is that one of my citation has lots of authors so I'd like it to only show _Name et al. (200x)_. I have not yet found a solution for this. I could change the whole bib entry, but I don't mind that all authors are given in the references at the end of the text.
127471
How to create a vertically and horizontally centred title page
Could anyone help me make my title page for a report centred both vertically and horizontally, i.e. directly in the middle of its own page. My code looks like this: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{fullpage} \usepackage{hyperref} \title{RAF Application} \author{Edward Rolls, Eli Bingham, Laurence Hutton-Smith} \begin{document} \begin{titlepage} \maketitle % abstract \begin{abstract} \end{abstract} \end{titlepage} \tableofcontents \newpage \section{Introduction} Where at the end of the code the main content begins, any help would be greatly appreciated, this really shouldn't be that hard but for some reason I can't work it out!
116665
Cross-referencing between files and equation counters
I am using package `xr` to cross reference between two files. Is there a way to make the equation numbers in one of the files follow the ones in the other? What I mean is, if the last equation in file A is say (28), then the first equation in file (B) be (29) and so on. Another question is, can this be done with counters for lemmas, theorems, etc?
82447
labeling diagrams with matrices
I it possible to label an arrow with a matrix in Xy-pic? In the following diagram I want to label the arrows with 2x2 matrices to represent linear maps between vector spaces, in the place of a,b and c. \documentclass{article} \usepackage{amsmath} \usepackage{xypic} \begin{document} \begin{equation*} \xymatrix{ {\bullet}^{V_1}\ar[r]^a &{\bullet}^{V_2}\ar[d]^b \\&{\bullet}^{V_3}\ar[ul]^c } \end{equation*} \end{document} It is for a diagram of a quiver representation.
155635
How to rotate a TikZ text node depending on its content?
I would like to rotate a TikZ text node by a degree that depends on the content length. So a text node with 20 characters should be rotated e.g. 20*0.1 = 2 degree, a text node with 100 characters for 100*0.1 = 10 degree. It does not matter if whitespace influences this or not. Is it possible to do that somehow automatically, or do I need to count letters manually?
5767
How to get more complete references
Sometimes when I work I write something like \begin{proposition} \label{my new result} ... \end{proposition} ... blah blah in Proposition \ref{my new result} blah... but then I realize that the Proposition should actually become a Lemma. So I change it to \begin{lemma} \label{my new result} ... \end{lemma} The problem is that I then have to hunt down all the places where I wrote Proposition and change it to Lemma, which is tedious and error-prone. Well, we have search facilities in editors, so it is not really that complicated, but still it feels the wrong way to do this. I would be happier to write \begin{proposition} \label{my new result} ... \end{proposition} ... blah blah in \labelNameFor{my new result} \ref{my new result} blah... where labelNameFor is a hypothetical magic command which outputs "Proposition". Then I could forget about all the places where I reference the result and just make any changes I wish. Is there a way to do something like this? As far as I understand the label/ref mechanism is simply based on counters, so I do not see a straightforward way, but maybe someone more clever and industrious then I am has given the problem some thought.
36633
Auto recognize reference types
> **Possible Duplicate:** > How to get more complete references Is there a way to recognize cross-reference types automatically in LaTeX? For example, see the code below \begin{lemma}\label{triangle}% \[ a^{2}=b^{2}+c^{2}\text{.}% \] \end{lemma} \begin{theorem} \bigskip From \ref{triangle}, we have \[ E=mc^{2}\text{.}% \] \end{theorem} As you see, when I reference the lemma in the theorem, the LaTeX only displays the number of the lemma in the compiled pdf file. In fact, I hope LaTeX can recognize reference types. For e.g., when I reference a lemma, then LaTeX displays automatically both lemma and its number (such as lemma 2.1, not just the number 2.1 of this lemma) in the compiled pdf file; when I reference a theorem, then LaTeX automatically displays both theorem and its number (such as theorem 3.7, not just the number 3.7 of this theorem ) in the compiled pdf file.
62796
`\ref` including "lemma", "theorem", "section" or whatever
> **Possible Duplicate:** > How to get more complete references `\ref` itself only prints the number of whatever I am referencing - e.g. a chapter/section/subsection or a theorem/lemma/definition (from `amsthm` via `\newtheorem`). I would like to have a command which prints also what the `\ref`-number actually is. Right now, I am doing it manually as in "`in lemma \ref{...}`" or "`in section \ref{...}`". Sometimes I move a `\label` somewhere else or make the labeled lemma a theorem or so and I don't want to search manually through the rest of my code to update it (section -> chapter, lemma -> theorem, ...).
1291
Why are Bitmap-Fonts used automatically?
I have the following LaTeX-document: \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \title{Sample} \author{Litb} \begin{document} \maketitle \begin{abstract} This is a report about my praxis phase at the company foo bar which I enjoyed. \end{abstract} \end{document} Much to my frustration, compiling with `pdflatex` creates a document with Bitmap-fonts. The reader's font-list shows that it uses Type3 fonts. If I remove the `fontenc` loading, then I get a PDF using vector-fonts, but I heard that I should keep it, for having native German Umlauts working. Does anyone know how I can get vector fonts with T1, and why it keeps using bitmap fonts if I have that package-load line in it?
107935
Text fuzzy, when I use French characters
I tried to resolve my problem in many ways but nothing worked well. I have downloaded a LaTeX template that helps with my work; it uses this package \usepackage[square, numbers, comma, sort&compress]{natbib} But because I write in French, many characters like **é** and **à** don't appear. So I add some package [that provides them] but, when I add that package, the text becomes fuzzy. \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} \frenchbsetup{StandardLists=true} % to be included when using \usepackage[french]{babel} \usepackage{enumitem} \usepackage{amssymb} \usepackage{pifont} \usepackage{multirow} \usepackage{graphicx} \usepackage{float} Is there any way to resolve this, i.e. un-fuzz-ify the characters?
172079
T1 Encoding causing bad PDF quality?
I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: > \usepackage[T1]{fontenc} As a brief example of what I mean, here's a test case: \documentclass{article} %\usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \blindtext \end{document} Here's the result in TeXstudio with and without the T1 encoding (with is marked with a little red dot in the lower right-hand corner): ![enter image description here](http://i.stack.imgur.com/ituMo.gif) Likewise here's the result in Adobe: ![enter image description here](http://i.stack.imgur.com/GPVN8.gif) And here's a close-up: ![enter image description here](http://i.stack.imgur.com/TmkCA.gif) I'm compiling the PDF in TeXstudio using pdflatex.exe -synctex=1 --extra-mem-bot=1000000000 -interaction=nonstopmode %.tex * * * If I simply drop the `fontenc` package, I have problems with braces (`{}`) used in the text. And the package seems to be recommended in the general case. My questions are: * Is this a local effect due to my font set-up? * How could I resolve this problem? (Sorry if the question is naive; I'm afraid I only have passing knowledge of T1 and the font system in LaTeX.)
161486
gsView prints the PDF ok but Adobe Reader X prints the fonts badly
I am using pdglatex to generate PDFs. They look perfect on screen, the fonts are smooth even when I zoom in a lot. However, when I print them from Adobe Reader characters look like low resolution bitmaps. If I print the same document from gsView by selecting "Windows GDI" it prints alright. What is going on here? How can I make the document so that it looks good when printed from Adobe Reader? My document looks like: \documentclass[a4paper, pdftex]{scrartcl} \usepackage[T1]{fontenc} \usepackage{lmodern}
17172
Why is it jaggy?
> **Possible Duplicate:** > Why are Bitmap-Fonts used automatically? With the following code, I am getting this jaggy output, which is not the purpose of using latex. PS: This never use to happen, when I use to create other documents. \documentclass{article} \usepackage{nopageno} \usepackage[T1]{fontenc} \begin{document} ... ...to write... ...still feel... ... \end{document} ![enter image description here](http://i.stack.imgur.com/lkjzl.png)
100394
How do I prevent pdflatex from making strange symbols when text is copied?
I use LyX to create my LaTeX files. Recently, when I've used LyX's `pdflatex` to view my file, the text looks fine, but when I attempt to copy it, I just get strange symbols. If I use LyX's `dvipdfm`, I can copy fine. I've attempted to troubleshoot by using a minimal example (as follows) and pdflatex directly. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} here is some text \end{document} If I run `pdflatex` on this file, open it in Okular, and copy "here is some text", the clipboard contains "❤❡r❡ ✐s s♦♠❡ t❡1t". If, however, I remove the second line ( `\usepackage[T1]{fontenc}`) the pdf is created fine. Has something gone wrong with pdflatex or LyX's defaults? What has changed? Also, how can I fix this problem while still using LyX?
142698
\usepackage[T1]{fontenc} makes the font look awful in Google Chrome
I am using MikTex, and reduced the problem to the following document: \documentclass[12pt, a4paper]{article} \usepackage[T1]{fontenc} % this causes the problem \begin{document} Lorem ipsum dolor ..... \end{document} If I compile this document using `pdflatex test.tex` and then open the resulting PDF in Google Chrome it looks like this: ![enter image description here](http://i.imgur.com/eazYdjX.png) Here's without `\usepackage[T1]{fontenc}`: ![enter image description here](http://i.stack.imgur.com/6AjcP.png) Needless to say, the latter looks a lot better. What could be causing this?
88155
Why do the output fonts of Latex often appear fuzzy?
> **Possible Duplicate:** > Why are Bitmap-Fonts used automatically? When I look at the output of my LaTeX files, the fonts appear markedly more blurry than standard computer output. Why is this? Is this because the text is designed to be printed on an actual page? Is there some reason that the fuzzy font that comes with Latex is more desirable? Could someone point me to a link that would explain this? I have to believe that this is intentional, but I can not figure out the reason.
137041
How to align only some equations in an align environment?
Here's what I got: \begin{align*} P[E_{m}] &= P[m] + P[2m] + P[3m] + \dots \\ &= \frac{1}{\varsigma(s)} \langle m^{-s} + (2m)^{-s} + (3m)^{-s} + \dots \rangle \\ &= \frac{1}{\varsigma(s)} \langle \underbrace{1^{-s} + 2^{-s} + 3^{-s} + \dots} \rangle m^{-s} \\ &= \frac{1}{\varsigma(s)} \langle \hspace{13mm} \varsigma(s) \hspace{13mm} \rangle m^{-s} \\ &= m^{-s} \end{align*} I now wish to align the last `\rangle` to the second to last `\rangle` perfectly and have the `\varsigma(s)` centered. This without aligning anything to the first `\rangle` (pretty much as it is now but with perfect and automatic alignment). I have found this which seemed like what I needed at first but wasn't (as I don't want to align ALL equations to the braces).
122866
Reinstalling LaTeX in Ubuntu 13.04
The LaTeX in my system cannot support Sweave compilation to `pdflatex`, it warns for missing `.sty` files. I want to clean my system and reinstall a more complete LaTeX. What is the better way for doing so?
120121
Piecewise highlighting and dim the previous section/text in beamer
I found a way to piece-wise highlighting in beamer but I also want to dim the previous items as the beamer starts to uncover the newer sections. I have done something like this in powerpoint but stuck on latex beamer. Any help is highly appreciated on how to dim the previous section color. Thanks.
120122
What is the ^^A in DTX sources?
After fleshing out (with my own project) Joseph Wright's lovely model, I've noticed that the explicit control character `^^A` is used at the end of some lines. Its use appears similar to that of `%` to ignore trailing spaces, but I don't know why `^^A` would be used instead (if this is indeed its purpose) or why `%` wouldn't work anyway.
146541
Conditional expression to convert figure to table. Is it possible?
**I have a though one for you:** I'm writing in MultiMarkdown and all my figures, tables, charts are usually pictures. This allows me to write something like this: ### The MultiMarkdown input ![This is the caption.][table1] [table_sometable]: tab_pic1.png … and end up with: ### Compiled LaTeX \begin{figure}[htbp] \centering \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{tab_pic1.png} \caption{This is the caption.} \label{table_sometable} \end{figure} I thought about writing a shell script that simple exchanges `\begin{figure}` to `\begin{table}` (same for `\end{figure}`) before I compile my _.tex_ file with _pdflatex_ to a PDF. However, I'm looking for a pure LaTeX solution since it's more portable and more people at my University could use it. After reading LaTeX programming: how to implement conditionals I thought that it might be possible and decided to ask my question here since I'm only 4 days old in the world of LaTeX. I also read "How to form "if ... or ... then" conditionals in TeX?" and "LaTeX conditional expression", but I'm not sure if parsing for a string is supported. I imagine the scipt to work like: > **IF** a string called `\label{table_}` is found between `\begin{figure}` > and `\end{figure}` **THEN** replace `{figure}` with `{table}` I also found Search & Replace Script for TeXworks but maybe it's possible to handle this all on the compile level, so that I don't have to run anything extra and just can start compiling in Sublime Text when I'm done writing. * * * So why would this be cool… * obviously it's kind of a must-have for people who write in (Multi)Markdown * a filter would also allow to split all figures further into catogories _(photographies/images, charts, …)_ * other geeky stuff which depends on parsing the content before compiling a pdf. I'm open for ideas, solutions, links.
120126
How to display the chapter number in the headers in ConTeXt?
I am using serupheadertexts to define the headers in my document: \setuphead[chapter] [number=yes] \setupheadertexts[{\getmarking[chapter]}][][][] I want to access the chapter number, but it is not displaying. I tried this: \setupheadertexts[{\getnumber[chapter] \getmarking[chapter]}][][][] It does not display any number there. How can I display the chapter number in the headers in ConTeXt?
120127
How can I remove the comma between volume and number in the IEEEtr.bst file
I just started modifying my `ieeetr.bst` file. I was able to switch first and last name for my (journal article) authors in the bibliography. I also wanted to display the Volume and Issue number as `1(1)` and not `vol. 1, no. 1`. So far I only got to `1, (1)`. Any ideas how I can get rid off the space and comma?
162917
Graph with infinite nodes
Anyone knows how to draw a graph with infinite nodes in LaTeX? I know how to draw a graph with a finite number of nodes with the following code but I have no idea how to use this code for my problem. \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3cm, thick,main node/.style={circle,fill=blue!20,draw,font=\sffamily\Large\bfseries}] \node[main node] (1) {1}; \node[main node] (2) [below left of=1] {2}; \node[main node] (3) [below right of=2] {3}; \node[main node] (4) [below right of=1] {4}; \path[every node/.style={font=\sffamily\small}] (1) edge node [left] {0.6} (4) edge [bend right] node[left] {0.3} (2) edge [loop above] node {0.1} (1) (2) edge node [right] {0.4} (1) edge node {0.3} (4) edge [loop left] node {0.4} (2) edge [bend right] node[left] {0.1} (3) (3) edge node [right] {0.8} (2) edge [bend right] node[right] {0.2} (4) (4) edge node [left] {0.2} (3) edge [loop right] node {0.6} (4) edge [bend right] node[right] {0.2} (1); \end{tikzpicture}
169759
Invalid dependencies with latexmk when using includeonly, hyperref and unnumbered sections
Latexmk compiles outputs even when source files have not changed in a specific case. My use case is the following: I generate several PDFs for a single document that contain either the complete document or some specific part/chapter. Here is a minimal example: In the main file, each chapter is included: \documentclass{article} \usepackage{hyperref} \begin{document} \include{A} \include{B} \end{document} where `A.tex` contains only `\paragraph{First section}` (in my case, this is a complete chapter that may contain unnumbered paragraphs). Then, there are two additional files, `main_A.tex` and `main_B.tex`, that include only a part of the document (those are actually generated on the fly by a custom makefile): \includeonly{A} \input{main.tex} For the compilation, I first use `latexmk main.tex` that generates the complete document, `A.aux` and `B.aux` (which contain the appropriate page number). Then, `latexmk main_A.tex` and `latexmk main_B.tex` correctly produces the parts of the document I need. The problem is that running `latexmk main.tex` again will regenerate the document whereas it should not. I narrowed the problem to one line in `B.aux`. After the compilation of `main.tex`, there is: \@writefile{toc}{\contentsline {paragraph}{Second section}{2}{section*.2}} However, after the compilation of `main_B.tex`, it becomes: \@writefile{toc}{\contentsline {paragraph}{Second section}{2}{section*.1}} A solution is to disable hyperref. Another is to have numbered paragraphs with `\setcounter{secnumdepth}{4}` in the preamble and to use the starred version whenever paragraphs should not be numbered (but they will not appear in the toc). I am wondering whether there is a solution that would allow both hyperref and unnumbered unstared sections/paragraphs. As my objective is to have a global document and pieces of it, I could also use `pdftk` or `pdfpages` to cut the complete PDF. However, it requires to manually keep track of the pages corresponding to each chapter.
200258
Uncheckered chess board using the chessboard package
I have a 12 by 12 chessboard which I have created using the following code with the chessboard package: \documentclass{article} \usepackage{chessboard} \begin{document} \setchessboard{ showmover = false, maxfield = l12, boardfontsize=30pt, boardfontfamily=skaknew, } \chessboard \end{document} The result is a checkered chessboard. However, I am trying to make a Chad chessboard, so I would like to be able to get rid of the checkered board and leave it as a grid, like the chessboard on the Wikipedia article. How do I do this?
82991
Getting incorrect underscores from macro in an lstlisting
I have a macro that I define as \newcommand{\versionPath}{5\textunderscore0\textunderscore7} to denote the word *5_0_7*, which I use in lstlisting's like this: \begin{lstlisting} (*\versionPath*) \end{lstlisting} The configuration of my lstset is: % Configuration for the listing package. \lstset{% language=, escapeinside={(*}{*)},% frame=single, breaklines=true, basicstyle=\color{blue}\ttfamily\scriptsize, rulecolor=\color{light-gray}, keywordstyle=\ttfamily\color{red}, upquote=true, columns=fullflexible, literate={*}{{\char42}}1 {-}{{\char45}}1 } The problem is that once compiled, the underscores in the macro look slightly different to those produced otherwise in the lstlisting, and when copied from the PDF they turn up as blank spaces. How do I get the underscores in the macro to format properly?
70414
How to get devanagari numerals in latex or xetex
How to get devanagari numerals in `xetex` or `latex` \- especially in enumerate environment? I can use unicode to write devanagari text but I am unable to get devenagari numerals in section numbers, enumerate environment, etc. Here is the basic code I am using: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{hindi} \setotherlanguage{english} \setmainfont[Script=Devanagari]{Nakula} \begin{document} \section{Section Heading} देवनागरी Same English Text १ २ ३ ४ ५ ६ ७ ८ ९ ० \begin{enumerate} \item This is first \item देवनागरी \end{enumerate} \end{document} ![Output of the above document compiled with xetex](http://i.stack.imgur.com/yetUo.png) And I am compiling using xetex (default set-up on Ubuntu 12.04).
83103
Wrong page numbers in TOC and hyperref problems
> **Possible Duplicate:** > How to get devanagari numerals in latex or xetex This is a follow up to the discussion under XeLaTeX - Devanagari page numbers in \tableofcontents, as suggested by David Carlisle. I am using XeLaTeX (XeTeX, Version 3.1415926-2.4-0.9998 on TeX Live 2012/W32TeX). This is my minimal working example with a custom Indic page numbering style. \documentclass[14pt]{article} \usepackage{polyglossia} \usepackage{fontspec} \usepackage{lipsum} \setmainfont[Script=Devanagari]{Arial Unicode MS} \usepackage{xstring} \renewcommand\thepage{\Devnag{page}} \DeclareRobustCommand\Devnag[1]{\expandafter\arabictodevnag\expandafter{\the\csname c@#1\endcsname}} \newcommand{\arabictodevnag}[1] { \StrSubstitute{#1}{0}{०}[\num] \StrSubstitute{\num}{1}{१}[\num] \StrSubstitute{\num}{2}{२}[\num] \StrSubstitute{\num}{3}{३}[\num] \StrSubstitute{\num}{4}{४}[\num] \StrSubstitute{\num}{5}{५}[\num] \StrSubstitute{\num}{6}{६}[\num] \StrSubstitute{\num}{7}{७}[\num] \StrSubstitute{\num}{8}{८}[\num] \StrSubstitute{\num}{9}{९} } % \usepackage[bookmarksnumbered,urlcolor=??cyan,linkcolor=blue]{hyperref} \begin{document} \tableofcontents \pagebreak \section{One} \lipsum[1-8] \pagebreak \section{Two} \lipsum[1-8] \pagebreak \end{document} There are two problems with the above 1. The page numbers are fine on the pages, but wrong in the TOC. All page numbers in the TOC are "1", whereas the sections begin on page numbers "2" and "4". 2. If I uncomment the the commented line which has hyperref, xelatex would not compile and shows the message "! Undefined control sequence \arabictodevnag"
54819
Listings caption
I'm using the `listings` package with this `\begin` command: \begin{lstlisting}[caption=blabla, label=amb] This yields a nice code listing with a caption like "Listing 1.1 blabla". Is there a way to change the caption and have something like "Code 1.1 blabla"? I saw the `title` command but it doesn't use a numbering system. Any hint will be greatly appreciated!
176603
How can I change the style of listing captions to "Listing. #"?
With the lstlistings package, is there a strait forward way of changing the label style from Listing 1 to Listing. 1 By the "label style" I mean the string used in the captions. EG. \begin{lstlisting}[caption=This is a caption, label=list] here lieth some code \end{lstlisting} would give me: listing 1: This is a caption here lieth some code However, What I need to get is (notice the punctuation after the listing): listing. 1: This is a caption here lieth some code
171607
How to change the bibliography?
When I am using the `\begin{thebibliography}` ... `\end{thebibliography}` environment, the 'References' appears in the translated document. How can I change this text to see something else, for instance, 'Test', on the finished document?
167138
Make References title bold in apa6 class document (using natbib)
I'd like the References title to be bold. My MWE is below. If you comment-out the `\usepackage{natbib}` (and following line) the problem doesn't occur. Assuming `natbib` is causing this, I thought adding `\renewcommand{\bibsection}{\textbf{References}}` should correct this, but no change is made. \documentclass[jou]{apa6} \usepackage{natbib} % to change citation/references/bibliography style \renewcommand{\bibsection}{\textbf{References}} \begin{document} See \cite{smith} and \cite{simpson} \bibliographystyle{apalike} \begin{thebibliography}{} \bibitem[Smith, 2002]{smith} Smith, F. (2002). \newblock {\em Title}. \newblock Publisher Name. \bibitem[Simpson, 2002]{simpson} Simspon, P. (2002). \newblock {\em Title}. \newblock Publisher Name. \end{thebibliography} \end{document} this prints: ![enter image description here](http://i.stack.imgur.com/oSuGB.png) **Edit/solution:** I found the solution from the article linked in the comment, However, it's not an exact duplicate as I am not using the `book` class, so the solution is slightly different (the linked article uses `\bibname` while I should use `\refname`. Anyway, here's the solution for my problem: \documentclass[jou]{apa6} \usepackage{natbib} % to change citation/references/bibliography style \AtBeginDocument{\renewcommand{\bibsection}{\section\refname}} \begin{document} See \cite{smith} and \cite{simpson} \bibliographystyle{apalike} \begin{thebibliography}{} \bibitem[Smith, 2002]{smith} Smith, F. (2002). \newblock {\em Title}. \newblock Publisher Name. \bibitem[Simpson, 2002]{simpson} Simspon, P. (2002). \newblock {\em Title}. \newblock Publisher Name. \end{thebibliography} \end{document}
169707
Replace the text 'Chapter' with custom text in Memoir
How can I replace the word 'Chapter' with some other text string in Memoir class? So, instead of Chapter 1, it appears as, say, MyChapter 1. Also, the text is in Devanagari script so MyChapter will be some Devanagari text string.
115745
Change "References" to "references" in table of contents
I am producing a simple document of the `report` class, with references produced by BibTeX. I would like to change the "References" text entry in the table of contents to "references", making the text lowercase. Could you suggest a way to do this?
115742
Change text in LaTeX chapter titles from "Chapter" to "chapter"
I want to change the text displayed for each new chapter (e.g. "Chapter 1") to lower case (e.g., "chapter 1") in the `report` document class. How could I go about doing this?
108941
Change Bibliography name to "References" and add it to TOC
As title suggests. I have the following in my referencing section : \documentclass[12pt,a4paper]{report} . . . \bibliographystyle{abbrv} \bibliography{library} And it prints : ![enter image description here](http://i.stack.imgur.com/am9oT.png) I would like to change `Bibliography` to `References` \-- And also add it to my table of contents.
85515
Why does the title of Glossary not change?
> **Possible Duplicate:** > How to change the name of document elements like “Figure”, “Contents”, > “Bibliography” etc.? Consider the following MWE (it actually works `:P`): \documentclass[10pt,a4paper,oneside]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[nonumberlist]{glossaries} \newglossarystyle{dico3}{% \renewcommand*{\glossaryname}{Dico}% \renewenvironment{theglossary}% {\begin{longtable}{lll}}% {\end{longtable}}% \renewcommand*{\glossaryheader}{% \bfseries English & \bfseries Deutsch & \bfseries Français \\\endhead}% \renewcommand*{\glossaryentryfield}[2]{% \glstarget{##1}{##2} & \glsentryuseri{##1} & \glsentryuserii{##1} \\}% } \glossarystyle{dico3} \makeglossaries \begin{document} \newglossaryentry{stg}{name=whatchacallit, description={\nopostdesc}, user1={Dingsbums, das}, user2={trucmuche, le}} \glsaddall \printglossary%[title=Dico] - UNCOMMENT THIS! \end{document} As you can see, I am building a simple trilingual dictionary. What puzzles me is that everything is fine, except that I need to uncomment the option `[title=Dico]` in the penultimate line to customize the title of my dictionary, although I used `\renewcommand*{\glossaryname}{Dico}` in the definition of my custom style. I don't get errors or warnings, neither from PDFLaTeX, nor from MakeIndex. Can anybody explain why this is happening?
94981
Appendix not renaming
> **Possible Duplicate:** > How to change the name of document elements like “Figure”, “Contents”, > “Bibliography” etc.? I would like to rename my appendix so that it would be all caps, like other titles are (in caps). I tried with: `\renewcommand{\appendixname}{DODATAK}` But nothing :\ Here's how it looks: ![enter image description here](http://i.stack.imgur.com/XlvWQ.png) Dodatak should be DODATAK... Here's the mwe... \documentclass[twocolumn,prd,floats,amsmath,amssymb,superscriptaddress]{revtex4} \usepackage{graphicx} \usepackage{bm} \usepackage[croatian]{babel} \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[dvipdfm,colorlinks=true,bookmarks=false,urlcolor=DarkOrchid,citecolor=ForestGreen,linkcolor=Cerulean,pdfstartview={XYZ null null 1.00}]{hyperref} \usepackage{extarrows} \usepackage{caption} \usepackage[urw-garamond]{mathdesign} \usepackage{mathtools} \usepackage{bbm} %\usepackage{float} \usepackage{psfrag} \usepackage{url} \usepackage[all]{hypcap} \usepackage{subfigure} \usepackage[usenames,dvipsnames,svgnames]{xcolor} \usepackage{listings} \usepackage{array} \usepackage[paperwidth=210mm,paperheight=297mm,centering,hmargin=2cm,vmargin=2.5cm, top=2cm]{geometry} \usepackage{enumitem} \setlist{nolistsep} \numberwithin{equation}{section} \renewcommand\theequation{\arabic{section}.\arabic{equation}} \DeclareMathAlphabet{\xcal}{OMS}{cmsy}{m}{n} \newcommand{\Lie}{\xcal{L}} \newcommand{\bigo}{\xcal{O}} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white} \newcolumntype{y}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \renewcommand*{\arraystretch}{1.2} \begin{document} \section{Random 1} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eu lorem tellus, in feugiat urna. Suspendisse potenti. Duis sed urna lectus, vel malesuada urna. Pellentesque mi elit, varius tincidunt aliquet quis, feugiat in ipsum. Nulla ut tincidunt tellus. Donec nulla enim, iaculis eget porta non, interdum vitae lectus. Ut placerat sodales porttitor. Phasellus sit amet diam arcu, interdum congue risus. Morbi scelerisque iaculis arcu eget tincidunt. Vivamus pretium facilisis ultricies. Nunc gravida mi in eros viverra elementum dapibus ante volutpat. Praesent tortor ligula, ullamcorper pellentesque commodo id, sodales suscipit orci. Phasellus at porta nisl. Praesent nec quam elit, at facilisis nisl. Aenean egestas nisi ut tortor fermentum volutpat. Aliquam hendrerit ultricies lectus quis consectetur. Proin aliquet pulvinar elementum. Aliquam non purus in enim commodo iaculis at sed nisi. Nulla ipsum sapien, bibendum in malesuada vitae, fringilla porttitor urna. In tempor semper purus, et auctor lorem convallis eget. Integer sed turpis vitae leo interdum lacinia. Nam eget lobortis diam. \section{Random 2} \appendix \section{Random appendix 1} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eu lorem tellus, in feugiat urna. Suspendisse potenti. Duis sed urna lectus, vel malesuada urna. Pellentesque mi elit, varius tincidunt aliquet quis, feugiat in ipsum. Nulla ut tincidunt tellus. Donec nulla enim, iaculis eget porta non, interdum vitae lectus. Ut placerat sodales porttitor. Phasellus sit amet diam arcu, interdum congue risus. Morbi scelerisque iaculis arcu eget tincidunt. Vivamus pretium facilisis ultricies. Nunc gravida mi in eros viverra elementum dapibus ante volutpat. Praesent tortor ligula, ullamcorper pellentesque commodo id, sodales suscipit orci. Phasellus at porta nisl. Praesent nec quam elit, at facilisis nisl. Aenean egestas nisi ut tortor fermentum volutpat. Aliquam hendrerit ultricies lectus quis consectetur. Proin aliquet pulvinar elementum. Aliquam non purus in enim commodo iaculis at sed nisi. Nulla ipsum sapien, bibendum in malesuada vitae, fringilla porttitor urna. In tempor semper purus, et auctor lorem convallis eget. Integer sed turpis vitae leo interdum lacinia. Nam eget lobortis diam. \end{document}
88907
How to change caption from "Figure #:" to "Appendix #:"
> **Possible Duplicate:** > How to change the name of document elements like “Figure”, “Contents”, > “Bibliography” etc.? I was using `minipage` in LaTeX for my appendices in one of my English assignments, when I tried to do `minipage`, like so: \begin{figure}[H] \begin{minipage}{0.5\linewidth} \centering \includegraphics[width=\linewidth]{Appendix1-Modified} \caption{Nelson Mandela} \end{minipage}% \hspace{5pt}% \begin{minipage}{0.5\linewidth} \centering \includegraphics[width=\linewidth]{Appendix2} \caption{Qunu} \end{minipage} \hspace{5pt} \begin{minipage}{0.5\linewidth} \centering \includegraphics[width=\linewidth]{Appendix3} \caption{Mandela’s Prison Cell} \end{minipage} \end{figure} In the actual appendices part, it always shows the picture, then the caption below it. Before the caption there's always a Figure #:, like so: "Figure 1: Nelson Mandela." I want to change the Figure 1: to Appendix 1:. Does anyone know how to change it?
165597
How to make Bibliography heading all in uppercase?
When I run this for bibliography, I still get Reference heading in lower case.. How can I make "REFERENCE" heading in uppercase ? \newpage \centering \label{REFERENCES} \bibliography{Bibliography2}
191737
thebibliography environment
When I write: \documentclass{report} \begin{document} \begin{thebibliography}{99} \bibitem{key1} First item \bibitem{key2} Second item \end{thebibliography} \end{document} The pdf displays "Bibliography" like a title. Can I change it? For example, istead of displaying "Bibliography", displaying "Information sources". Also, can I make it appear in the table of contents? Here is my full preamble: \documentclass[12pt,a4paper,twoside]{report} \usepackage[catalan]{babel} \addto\captionscatalan{\renewcommand{\bibname}{Fonts d'informació}} \usepackage[nottoc,numbib]{tocbibind} \usepackage{graphicx} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{fancyvrb} \usepackage{color} \usepackage{float} \usepackage{verbatim} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{parskip} \parskip=2mm \makeindex Thanks for your help.
97972
How do I modify the default chapter headings and table of contents?
I'm in the process of converting some lecture notes into TeX format, however I've run into a slight problem. Although the report document class is ideal for what I'm doing (a 100 page two-column document with chapters, sections and subsections), I need to modify the table of contents and chapter headings to display the chapters in terms of lectures instead of chapters. So, for example, instead of the heading saying: > Chapter 1: > > Title of the First Lecture It should say: > Lecture 1: > > Title of the First Lecture And in the table of contents, instead of having: > 1 Title of the First Lecture It should have: > Lecture 1 Title of the First Lecture I'm looking for the cleanest and simplest way possible of doing this.
160604
Editing table's caption's name
how do I to edit table's caption's name ? ![enter image description here](http://i.stack.imgur.com/FtYZN.png) Transformation : "Table" --->> "Tableau"
92700
I would like to Change "Inhaltsverzeichnis" to "Contents"
> **Possible Duplicate:** > How to change the name of document elements like “Figure”, “Contents”, > “Bibliography” etc.? In order to fix overruns I have used the following code: \usepackage[english,ngerman]{babel} \sloppy I found this code, along with many other useful tips on this site. This code works great except for one small problem: Instead of "Contents" I now have "Inhaltsverzeichnis." Being that my book is in English, I would like to change this to "Contents"? How can I do this?
168587
How to Upper Case References in Bibliography
I want to type References in uppercase, I am using this code but still I am getting lower case References. I am using apacite formating with Bibtex file \centering \label{REFERENCES} \nocite{*} \bibliography{Bibliography2} \end{document}
159882
Can I change the name of my bibliograpy?
When I write \bibliography{biblio} the bibliography's name is "reference". How can I change that ?
85869
Change name of listings
> **Possible Duplicate:** > How to change the name of document elements like “Figure”, “Contents”, > “Bibliography” etc.? I would change the name of listings but I don't know how to do. Instead to have **Listings** I would have it in my language: **Lista dei codici** What command I should use?
196156
How to change bibliography title to Literature in article
I need to change the heading of bibliography in `article` document class from References to Literature. I have tried using : \renewcommand{\bibname}{Literature} (from this question Renaming the bibliography page using BibTeX ) but this won't help. My code : \documentclass[a4paper]{article} \usepackage[margin=2cm]{geometry} \usepackage{polski} \usepackage[polish, english]{babel} \usepackage[utf8]{inputenc} \usepackage{color, colortbl} \usepackage[dvipsnames]{xcolor} \usepackage[section]{placeins} \usepackage{listings} \usepackage{graphicx} \usepackage{cite} \usepackage{setspace} \usepackage{amsmath} \usepackage{float} \selectlanguage{english} \usepackage{tabularx} \begin{document} ... ... \newpage \bibliographystyle{plain} \bibliography{bibliography} \end{document}
154554
Renaming "Acronyms" (glossaries package)
I'd like to rename the "Acronyms" section produced by the `glossaries` package because not all the terms I have included in it are actually acronyms but rather abbreviations. The only way to change the name I have found so far is using `babel` to translate the name to another language. Is there a way to simply redefine the name and keep my document language?
148713
Changing name of List of Figures
I write in my preable the following code: \usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, bottom=3cm, bindingoffset=1cm]{geometry} \usepackage[onehalfspacing]{setspace} \renewcommand{\figurename}{Grapheme} \renewcommand{\listfigurename}{List of Graphemes} \renewcommand{\tablename}{Tables} \renewcommand{\listtablename}{List of Tables} \begin{document} \tableofcontents \listoffigures \listoftables \chapter{Introduction} but when I scroll to the List of Graphemes in my PDF it still says List of Figures. Why is this happening? I want it to be saying "List of Graphemes" I'm using Kile 2.1 in Linux mint.
129160
LYX - change TABLE to TABLEAU
I use the document class "book(more font sizes)", with French language. Tables appear as "Table" in the pdf. I tried `\renewcommand\tablename{TABLEAU}` in the preamble, but even if it does not generate an error, it does not work neither.
97828
Change default text of numbered \part
I have a large document with lector notes. And each lector I'm separating by `\part`. I would like to change the default numbering text from "part" to "Lecture". Example: \documentclass[a4paper,oneside,article]{memoir} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[danish]{babel} \usepackage{lmodern} \usepackage{fullpage} \usepackage[numbers]{natbib} \usepackage{mathtools} \usepackage{graphicx} \graphicspath{{Figures/}} \begin{document} \frontmatter \input{titlingpage.tex} \tableofcontents \mainmatter \part{Teknologiske forudsigelser} \bibliographystyle{plainnat} \bibliography{IFVT} \end{document} ![](http://i.stack.imgur.com/gnSnJ.png) The language is Danish. And as I said, I'm would like to change "Del" with "Grupperegning".
107516
Minted: customise listing name?
How do I customize listing name: `Listing 1:` thing -- when I use minted? Here's an MWE: \documentclass{article} \usepackage{minted} % \renewcommand{\lstlistingname}{Something} % doens't work! \begin{document} Some text. \begin{minted}{python} for i in range(3): print i \end{minted} Some more text. \end{document}
113822
How to change Contents replace be "Daftar Isi" and References replace "Daftar Pustaka"?
I Have problems about editing a class, you can see this following : ![Figure **Contents** replace be "**Daftar Isi**" and **References** replace "**Daftar Pustaka**"](http://i.stack.imgur.com/FFVTT.png) I want to edit a class with the condition : 1. **Contents** replace be " **Daftar Isi** " 2. **References** replace " **Daftar Pustaka** " And you can see class this following : % --------------------------------------------------------------------- % Conference proceedings and article templates for % personal open-archiving activities % September 2012 % --------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesClass{SelfArx}[25/01/2012, v1.0] \RequirePackage{ifthen} \RequirePackage{calc} \AtEndOfClass{\RequirePackage{microtype}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions* \LoadClass{article} \RequirePackage{times} % Loads the Times-Roman Fonts \RequirePackage{mathptmx} % Loads the Times-Roman Math Fonts \RequirePackage{ifpdf} % Needed to pick between latex and pdflatex % --------------------------------------------------------------------- \RequirePackage[utf8]{inputenc} \RequirePackage{amsmath,amsfonts,amssymb} \RequirePackage{graphicx,xcolor} \RequirePackage[english]{babel} \RequirePackage{booktabs} % --------------------------------------------------------------------- %%%%% for abstract+authors frames % --------------------------------------------------------------------- % margins \RequirePackage[left=2cm,% right=2cm,% top=2.25cm,% bottom=2.25cm,% headheight=11pt,% a4paper]{geometry}% \RequirePackage[labelfont={bf,sf},% labelsep=period,% justification=raggedright]{caption} % --------------------------------------------------------------------- \RequirePackage{fancyhdr} % Needed to define custom headers/footers \RequirePackage{lastpage} % Number of pages in the document \pagestyle{fancy} % Enables the custom headers/footers % Headers \lhead{}% \chead{}% \rhead{\small\sffamily\bfseries\@PaperTitle\ --- \thepage/\pageref{LastPage}} % Footers \lfoot{}% \cfoot{}% \rfoot{}% \renewcommand{\headrulewidth}{0pt}% % No header rule \renewcommand{\footrulewidth}{0pt}% % No footer rule % --------------------------------------------------------------------- % section/subsection/paragraph set-up \RequirePackage[explicit]{titlesec} \titleformat{\section} {\color{color1}\large\sffamily\bfseries} {} {0em} {\colorbox{color2!10}{\parbox{\dimexpr\linewidth-2\fboxsep\relax}{\centering\arabic{section}. #1}}} [] \titleformat{name=\section,numberless} {\color{color1}\large\sffamily\bfseries} {} {0em} {\colorbox{color2!10}{\parbox{\dimexpr\linewidth-2\fboxsep\relax}{\centering#1}}} [] \titleformat{\subsection} {\color{color1}\sffamily\bfseries} {\thesubsection} {0.5em} {#1} [] \titleformat{\subsubsection} {\sffamily\small\bfseries} {\thesubsubsection} {0.5em} {#1} [] \titleformat{\paragraph}[runin] {\sffamily\small\bfseries} {} {0em} {#1} \titlespacing*{\section}{0pc}{3ex \@plus4pt \@minus3pt}{5pt} \titlespacing*{\subsection}{0pc}{2.5ex \@plus3pt \@minus2pt}{0pt} \titlespacing*{\subsubsection}{0pc}{2ex \@plus2.5pt \@minus1.5pt}{0pt} \titlespacing*{\paragraph}{0pc}{1.5ex \@plus2pt \@minus1pt}{10pt} % --------------------------------------------------------------------- % tableofcontents set-up \usepackage{titletoc} \contentsmargin{0cm} \titlecontents{section}[\tocsep] {\addvspace{4pt}\small\bfseries\sffamily} {\contentslabel[\thecontentslabel]{\tocsep}} {} {\hfill\thecontentspage} [] \titlecontents{subsection}[\tocsep] {\addvspace{2pt}\small\sffamily} {\contentslabel[\thecontentslabel]{\tocsep}} {} {\ \titlerule*[.5pc]{.}\ \thecontentspage} [] \titlecontents*{subsubsection}[\tocsep] {\footnotesize\sffamily} {} {} {} [\ \textbullet\ ] % --------------------------------------------------------------------- % Get the multiple author set \newcount\@authcnt \newcount\@tmpcnt\@tmpcnt\z@ \def\@affiliation{% \ifnum\@tmpcnt<\@authcnt \global\advance\@tmpcnt1 \raggedright \csname @auth\romannumeral\the\@tmpcnt\endcsname\hfill\\% \let\next\@affiliation \vskip1pt \else \let\next\relax \fi \next} \newcommand{\affiliation}[1]{% \global\advance\@authcnt1 \expandafter\gdef\csname @auth\romannumeral\the\@authcnt\endcsname {#1}} % --------------------------------------------------------------------- \RequirePackage{enumitem} %\setlist{nolistsep} % Uncomment to remove spacing between items in lists (enumerate, itemize) % --------------------------------------------------------------------- % Remove brackets from numbering in List of References \renewcommand{\@biblabel}[1]{\bfseries\color{color1}\textsuperscript{[#1]}} %\setlength{\bibitemsep}{0cm} % --------------------------------------------------------------------- \newcommand{\PaperTitle}[1]{\def\@PaperTitle{#1}} \newcommand{\Archive}[1]{\def\@Archive{#1}} \newcommand{\Authors}[1]{\def\@Authors{#1}} \newcommand{\JournalInfo}[1]{\def\@JournalInfo{#1}} \newcommand{\Abstract}[1]{\def\@Abstract{#1}} \newcommand{\Keywords}[1]{\def\@Keywords{#1}} % --------------------------------------------------------------------- \renewcommand{\@maketitle}{% \twocolumn[{% \thispagestyle{empty}% \vskip-36pt% {\raggedleft\small\sffamily\bfseries\@JournalInfo\\\@Archive\par}% \vskip20pt% {\raggedright\color{color1}\sffamily\bfseries\fontsize{20}{25}\selectfont \@PaperTitle\par}% \vskip10pt {\raggedright\color{color1}\sffamily\fontsize{12}{16}\selectfont \@Authors\par} \vskip18pt% \fcolorbox{color1}{white}{% \parbox{\textwidth-2\fboxsep-2\fboxrule}{\centering% \colorbox{color2!10}{% \parbox{\textwidth-3.5\fboxsep-3.5\fboxrule}{% \ifx\@Keywords\@empty \sffamily\small\textbf{Abstrak}\\\@Abstract \else \sffamily\small\textbf{Abstrak}\\\@Abstract\\[5pt]% \textbf{\keywordname}\\\@Keywords% \fi }% }% \vskip5pt% \begingroup% \raggedright\sffamily\small% \footnotesize\@affiliation\par% \endgroup%% }% }% \vskip25pt% }]% }% % --------------------------------------------------------------------- \let\oldbibliography\thebibliography \renewcommand{\thebibliography}[1]{% \addcontentsline{toc}{section}{\hspace*{-\tocsep}\refname}% \oldbibliography{#1}% \setlength\itemsep{0pt}% } For more detail , you can see at http://www.latextemplates.com/template/stylish-article and i use that template
163456
References heading bold and Capital
I am using \bibliography{backup} \bibliographystyle{unsrt} REFERENCES heading is not in bold how to make it bold. I am new to latex
190912
How to write "References" title after each thesis chapter instead of "Bibliography"
I need to write "References" title at the end of each chapter instead of "Bibliography". My codes are simply \begin{thebibliography}{99} .... \end{thebibliography} I tried with adding \addtocaptionsenglish{References} and \renewcommand\contentsname{References} but they didn't work. Thanks for your helps.
159494
Override polyglossia language feature
I'm using the package `polyglossia`, setting the language to `nynorsk`. I notice, however, that `polyglossia`'s feature for the `abstract` environment is incorrect, since `Sammendrag` is not Nynorsk. How can I override this and provide my own heading in this case? \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{nynorsk} \begin{document} \begin{abstract} \end{abstract} \end{document} ![enter image description here](http://i.stack.imgur.com/Bq7Sp.png)
116443
About natbib and chapter number
I'm using a `\chapterstyle{tandh}` because I want my chapters numbered. In order to get a References chapter numbered as well I used the following code: \renewcommand{\bibsection}{% \chapter{\bibname}} That worked fine, I got my References chapter numbered!! But now, in order to get my references in a author-year style I'm using the `natbib` package. Seems like the package ignores my code and the References chapter is not numbered anymore. Can someone help me?
55090
\renewcommand\tablename{name} does not work
I am completely noobie in LaTeX. I need to change table name in all captions. But when I write `\renewcommand\tablename{newname}` at the beginning of document, it doesn't do anything. It's still "Table" My code looks like this: ... \renewcommand\tablename{new} ... \begin{table}[b] \centering \begin{tabular}{|l|} ... your table ... \end{tabular} \caption{This table shows some data} \end{table} ... What am I doing wrong?
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
797
Edit dataset card