{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

7
votes
2answers
361 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
27 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
28 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
118k 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
26 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
19 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
13 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
21 views

Bibliography clarity issue

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
20 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
22 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
420 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
37 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
29 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
77 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
83 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
27 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
19 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
905 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
63 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
68 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 ...
1
vote
1answer
71 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 ...
4
votes
2answers
61 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 ...
1
vote
0answers
26 views

How to create italic “in press”-year labels for in-text citations by modifying the bibtex style file

I'm looking for a way to add "in press" in italics into my bibtex-style file for publications for which a doi already exists. As I'm using a Natbib-AuthorYear reference style, I have to add this in ...
7
votes
1answer
2k views

Modifying mini-toc content

I have adapted the pretty table of contents solution written by Gonzalo Medina with the modification to the "blue box style" that Stephan Lehmke helped me with to design a somewhat consistent ...
135
votes
7answers
61k views

What's the quickest way to write “2nd” “3rd” etc in LaTeX?

If I want to use abbreviations for second, third and so on in my LaTeX documents, I am currently doing this: 2$^{nd}$ which seems unsatisfactory. Is there a macro I'm missing? I'm sure I could define ...
6
votes
1answer
53 views

\DeclareFieldFormat command doesn't apply to phdthesis?

I want to modify the format of title field in references entries of both article and phdthesis. It is odd that the modification only applies to article but not to phdthesis. See the MWE: ...
1
vote
1answer
192 views

Need help formatting moderncv \cventry

I am working on a CV in latex and for the most part I have achieved what I am trying to accomplish but for the life of me I cant figure out how to correctly format what I am going after. Specifically, ...
2
votes
1answer
67 views

Customizing the list of listings from minted

This question is in regards to customizing the format of the list of listings produced with the minted package. In particular, I want to replicate the formatting produced via the tocloft for Figures: ...
3
votes
1answer
108 views

Aligning text in bullet style

I want to format my article like the picture below: Raw text: Before scientists can develop medicines or engineers can advance technology, they throw numbers onto whiteboards using concepts laid ...
3
votes
1answer
44 views

Latex Chapter and section formatting

My returned thesis has several formatting corrections notated. I am a fairly inexperienced in LaTeX, and can only use its basic functionality. I am having issues with formatting the chapter and ...
2
votes
2answers
117 views

What's the problem with this code? Overfull \hbox

I want to create something like this in word by MathType 6.9 But I have MikTex 2.9 and texmaker installed on my computer. Just to try out the code and see what is wrong with that, I've created the ...
2
votes
0answers
94 views

What has happened to Wikibooks? [closed]

I know this might be slightly meta/offtopic, but I have no idea where else to turn. Does anyone know what has happened to the great LaTeX guides at Wikibooks? For example, I was looking up something ...
3
votes
1answer
46 views

print the rows of a matrix in two different sections in order to prevent the elements from mixing together

As you see in the following picture I have a 4x4 matrix and the elements are so lengthy that they will not fit in a single line of an A4 paper. In fact this equation is printed in a book that I'm ...
0
votes
1answer
60 views

Adding a text to LaTeX that it shouldnt read

Hi guys I have to put a tiny code in my appendix for a dissertation that I am doing which looks like this -- -- ----------------------------------------------------------------------------- -- ...
14
votes
1answer
2k views

Typeset a dialogue?

I need to typeset a dialogue in LaTeX, it's for a translation assignment. The original dialogue does something like this: - I found it, I told him. My finger was in the book, where George Best's ...
9
votes
1answer
204 views

Can you use LaTeX packages in ConTeXt/emulate ConTeXt in LaTeX?

Is it possible to use LaTeX packages in ConTeXt? I want to know because I'd like to use ConTeXt's greater formatting facilities but I also want to use several LaTeX packages (crossword and xskak in ...
1
vote
1answer
28 views

Lyx / Knitr - R Code in chunck goes beyond set width

I use Lyx (2.1.4) with knitr (1.10.5). I have a lot of trouble having the code chunks respect the width that I tried setting through various ways: In the chunk options (width=50); ...