{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

2
votes
1answer
19 views

Is it possible to declare that the footnote number is right aligned but uses a dynamic width?

Our document has footnotes ranging from 1 to more than 100. I would like to see the footnote numbers right-aligned to the footnote text the space that is used for the footnote number should be ...
4
votes
1answer
20 views

Indention: Disable (Globally)

Problem Given the beamer class. Can I remove indention globally? \setlength{\parindent}{0em} didn't work out. Example Here's a minimal example: \documentclass{beamer} \begin{document} ...
36
votes
5answers
14k views

Date format: YYYY-MM-DD

Currently I put the date in my document using: \date{\today} How do I display the date in the YYYY-MM-DD format?
3
votes
1answer
60 views

Navigation Tree: Subsections

Problem Good evening everybody. Calling the beamer-class. Is it possible to have a navigation tree as shown in a sidebar in the header instead; i.e. showing all sections and subsections and ...
0
votes
1answer
29 views

how to make only the chapter-titles to be in the middle of a new page

I am using Thesis.cls to write my thesis (From Easy Thesis tempalate). I wish to have the chapter title in a separate page and at the middle of the page. For that I browse the internet and I got ...
0
votes
0answers
7 views

lstlisting indentation versus editor-formatting [duplicate]

Whenever I use the listings package to typeset code, I encounter the problem that the way lstlistings work collides with the formatting my editor likes (I use vim). For instance, see this code: ...
45
votes
3answers
29k views

Footnote without a marker

I am new to LaTeX. I am trying to write a paper using latex. I want a footnote about the funding source of my work in the first page without marker. I tried below approaches: \footnotetext{text ...
0
votes
0answers
17 views

Getting the “c” in “McCallum” right in a title page [duplicate]

Here is a shortened version of the code. \documentclass[12pt]{amsart} \usepackage[alphabetic]{amsrefs} \usepackage{amssymb,amsmath,amsthm,mathrsfs,ulem,tikz, caption} \usepackage[alphabetic]{amsrefs} ...
2
votes
1answer
33 views

Suppressing the newline when entering an environment

Is there anyway to suppress the newline that is inserted when beginning an environment? For example, I would like \noindent{\bf 1.}\begin{verbatim}some code\end{verbatim} to appear as a single ...
1
vote
1answer
16 views

scrlttr2 - onehalfspacing in main body, singlespace in address

I'm writing a letter with scrlttr2 and I want the main body in \onehalfspacing. But even with \begin{onehalfspacing} [TEXT BODY] \end{onehalfspacing} the address is set in one-half spacing as ...
4
votes
2answers
36 views

Bold Chapter bookmark entries in PDF-Reader except LOF

I would like to highlight all chapters except the appendix, table of figures and table of tables. I'm using the bookmark-package and I tried to set all entries at the level = 0 to bold and just to ...
3
votes
1answer
47 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
1
vote
1answer
75 views

Color citation using biblatex : in-text + references (issue with postnote + bibliography)

I want to color my citations using biblatex alphabetic citation style. However, I do not to only color the "key" (as it is the case in this paper) but the whole block including : opening bracket (or ...
3
votes
1answer
72 views

Formatting Versions of the same Document

So I have a puzzle here that my Google-Foo is insufficient to handle. I've written my dissertation in Lyx with one master-document and a pile of child-documents for each important chapter or logical ...
3
votes
1answer
61 views

Tikz inside a proof and enumerate environment

I am having a problem getting a tikz graph to correctly sit below the a) part of the problem in the solution: My code is as follows: \documentclass[12pt,leqno]{article} \usepackage{amsmath, amsfonts, ...
10
votes
4answers
7k views

Better way to display long division?

I'm currently in the process of trying to create a worksheet for my students with long division problems for them to practice. Unfortunately, the best I've been able to come up with so far in terms of ...
7
votes
2answers
371 views

Document class CD to create beautiful CD cover

Does somebody know a document class like cd to create cd covers where: a) I can add a logo to the CD cover text and b) the output is not a4 (or so) but the exact size to fit a CD cover. I tried ...
3
votes
1answer
29 views

lstlistoflistings is unformatted

I habe a problem to get a list of listings that looks like the normale table of figures or basically like any other list of anything. As I am not a tex or latex pro, i tried several packages and ...
2
votes
2answers
29 views

Three columns for only part of the page

Currently I'm working on a resume, but I'm having trouble getting the formatting I want. An example of what I'm trying to do can be seen here - however, I couldn't even get that to work right ...
64
votes
13answers
119k views

Make MS Word document look like it has been typeset in LaTeX

A few years back, I used to use LaTeX for writing reports and such, and I really liked the look of them. However, nowadays I am forced to use MS Word to write my reports, but that does not hinder me ...
0
votes
1answer
28 views

How to push text to the right of the page?

I'm writing a resume, and I want to put the city and year on the right side of the page after I type the company name. For example: Company X ____________________________________________________ ...
3
votes
1answer
30 views

Is it possible to remove parenthesis from single cref references?

I am using cleveref to crossreference everything. Sometimes I write the reference inline like eq.(1). That is fine. But when it is enclosed in parenthesis it turns out like (eq.(2)). Which is not so ...
0
votes
0answers
20 views

Citation of International Organisations [duplicate]

I am trying to create the following citation for my bibliography using the apacite package. International Monetary Fund (2014). International Monetary Fund, Annual Report on Exchange ...
2
votes
1answer
22 views

How to do a sheet of problems with a big frame

I'm trying to do a collection of exercises of heat transfer and I want to put them into a good format of a sheet of problems. I want to put a big frame in each page and inside it the title of the ...
0
votes
1answer
14 views

Font size of inline code-listings too small

I'm using the listings package and am satisfied with how my code listings look. The font in my inline-listings however is too small compared to the rest of the text. How can I only increase the font ...
1
vote
0answers
22 views

Bibliography clarity issue [on hold]

I have quite an extensive bibliography and I am hoping for some help. All my entries within the bibliography are inconsistent. The commands used to generate the bibliography are as follows: %Loading ...
1
vote
2answers
22 views

Center Numbering Page in Koma-Script class in LyX

I am writing my thesis in LyX, using book koma-script document class. However, I need to make some changes in order my thesis fits to my university requirements. One of them is that the page ...
2
votes
1answer
18 views

Bolding numeric citations

Hi all I am cite sources in my report using the cite command: \cite{test} and I am using biblatex in Numeric mode: \usepackage[backend=bibtex, style=numeric]{biblatex} however I was hoping to ...
1
vote
0answers
23 views

Numbering Chapters and header issue

I am a complete newbie to latex so I apologise if the questions asked are straightforward, I am using the document class with fancyhd, with a documentclass of report. However when producing my report ...
0
votes
1answer
457 views

How to create Double spacing single column in IEEEtrans template

I am using IEEEtrans template for writing an article. I have prepared the document which is double column single spacing IEEE format. However, as per journal guidelines I also need to upload the ...
1
vote
1answer
40 views

Format words starting with specific letter sequence

Is it possible to automatically format words starting from specific letter sequence? For instance, in the text "HalloWorld, HalloPeople, there is a nice day!" I want the whole words starting from ...
1
vote
1answer
50 views

Putting more than one image in one appendix

I am writing my PhD thesis on Sharelatex after having uploaded the template provided by my university. Usually, I try to solve this sort of problems on my own, but this time I couldn't really figure ...
2
votes
1answer
30 views

gap between first and second tier of a list

i use the itemize environment in my document to make listings. since i don't want the listings to take so much space, i always use \itemsep-10pt. However the gap between the first and second level of ...
2
votes
2answers
78 views

Placing footnotes on header and footer

I need to print a poem which has a huge commentary. More or less, I will have three or four lines of text and the rest of the page will be filled by the commentary. I am asked if it's possible to ...
1
vote
0answers
28 views

How to make sections in longtable nomenclature

I am using a longtable in my nomenclature to auto-adjust the aligning to the widest label width and would also like to have sections of different types of entries similar to the one here where they ...
35
votes
7answers
4k views

Fit text into given box by adjusting the fontsize

I would like to fit text (potentially several paragraphs) into a box of given size. This should be done by adjusting the fontsize of the contained text. Clarification edit: The given dimensions are ...
1
vote
1answer
87 views

Create randomized page design in a songbook

I want to create a songbook, using either the package songbook or the package songs, because every song must have guitar tabs (and I want to have the possibility of adding notes to the songs later). ...
1
vote
1answer
20 views

Add an abstract for the appendix

I would like to add a small abstract to the appendix part of my thesis document. This appendix must be before the first appendix (Appendix A). The goal is to briefly describe the appendix as they ...
2
votes
1answer
22 views

lstlisting framed with the caption inside the frame

How do I made a lstlistings look like following? The best I could get was: The code for the second image is: \begin{lstlisting}[caption=id(in), frame=single] out <- in; return out; ...
5
votes
1answer
101 views

Special nested footnotes

I’ve had a hard time finding an adequately robust footnote system. In the interest of sparing you my bankrupt descriptions of typography, I’ve provided a (crude) Photoshop mockup of the basic idea: ...
1
vote
2answers
28 views

Formating caption figure

How does one create the following format in TeX: Raw figure: Raw text : If $μ=0$ and $σ=1$, the distribution is called the “standard normal distribution” or the “unit normal distribution” ...
3
votes
1answer
20 views

How to prevent line break within a (multiple) citation

I sometimes cite two or three references. When the citation is at the end of the line, latex inserts a line break. How can I prevent this from happening? I already tried what was suggested here ...
3
votes
2answers
912 views

printglossary makes abbreviations ending with periods

I use the glossaries package for my glossary and some acronyms: \usepackage{datatool} \usepackage[ngerman]{translator} \usepackage[nonumberlist,acronym,toc,section]{glossaries} \makeglossaries ... ...
1
vote
1answer
65 views

Formatting Chapter Headings

I am using documentclass book and generating short chapters (one or two pages each). The chapter headings use too much space. I want the title at the top of the page, not pushed down. I reduced ...
3
votes
1answer
71 views

Uniform number formatting

I am facing the problem that in a collaborative research paper there are several different number formats within the text, if the number is not pasted in math mode. For example: 10.000,00 or ...
1
vote
1answer
23 views

Punctuation after institution and recognizing thesis type in biblatex

I have two problems. I am trying to conform to the bibliography style for a thesis of my university. I decided to switch to biblatex+biber, since .bbl style files are a mystery to me. I want to ...
6
votes
2answers
60 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
4
votes
2answers
63 views

Yet another section number question

There are a number of numbering questions asked, but I haven't found one that fits this particular need: 1. First section 1.1 Second level A. Third Level (italic) B. Third Level (italic) 2. ...
8
votes
1answer
56 views

Plural form of number (issues of a journal) with BibLaTeX

There is no plural form for the term ‘number’, referring to an issue of a journal. I tried to define one (nos) but it's not sufficient to print it (e.g. article in a double issue). What should I do? ...
0
votes
0answers
15 views

Problem linking Appendix [duplicate]

I am new to LaTeX. I am just about to complete my final dissertation with LaTeX. I want to refer the result in my Appendix with a clickable link. But when I use the command \ref{ap:data}, where ...