{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

0
votes
0answers
12 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} ...
1
vote
1answer
24 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 ...
4
votes
2answers
33 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 ...
1
vote
1answer
13 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 ...
3
votes
1answer
44 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, ...
3
votes
1answer
57 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, ...
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
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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; ...
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
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
1answer
69 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 ...
4
votes
2answers
62 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. ...
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
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 ...
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 ...
6
votes
1answer
54 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: ...
3
votes
1answer
110 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 ...
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? ...
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: ...
2
votes
0answers
95 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 ...
2
votes
2answers
118 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 ...
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 -- -- ----------------------------------------------------------------------------- -- ...
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 ...
1
vote
1answer
32 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); ...
1
vote
1answer
38 views

Formatting changes

I want some text to appear as below I am not getting the exact output. The code I have written is as follows (Please pardon me for lack of knowledge of Latex) \hspace{2mm} A simple paragraph of ...
2
votes
1answer
44 views

Various table formatting problems

I've been trying to format a table for my thesis for two days and it just doesn't work. I've already searched everywhere for answers but couldn't find them and/or understand them. Here's what I want ...
3
votes
3answers
79 views

The last 2 columns of the 9 column table not appearing in the output

I have a table which has 9 columns and the code of which is \documentclass{article} \begin{document} \begin {table}[h] \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline 1 & 2 ...
6
votes
2answers
100 views

Placing the equation number in the left-hand margin

I use \renewcommand{\theequation}{{\hspace*{-3.05cm}\thesection.\arabic{equation}}} to move my equation numbers into the margins (corporate design), it looks like this: The problem is that ...
3
votes
1answer
45 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 ...
6
votes
2answers
101 views

Embed small image within a line of text

I am having trouble perfectly getting an image to embed within a line of text. Ideally, the image is to be scaled to the correct size so that it fits within the line of text. This is as far as I've ...
6
votes
2answers
95 views

Arrange multiple TikZ pictures

Can anybody tell me how to arrange 5 TikZ pictures like this? I am very sorry, but I have no idea how to. I uploaded the Codes and the png file here
4
votes
1answer
35 views

ExPex gloss formating

I'm using the expex packages for my glossing exemples and it's working great but: I want my \gla exemple to be in typewriter format (\tt). And then I want to gloss only some parts of my exemple (the ...
3
votes
2answers
51 views

chaptertitle name and chapter number in one line but diffrent edge of the page

This is what I want: Introduction <---all the way on the right edge of the page---> Chapter 1 But, the catch is that I have a 5cm width margin note space in a two sided document. I am working ...
0
votes
0answers
31 views

Define amount of space after \newline, \\, or \linebreak

How do I define the amount of vertical space there are after all new lines? I am looking for something that works like this: \define{x = 4} blah blah blah blah \\[x pt] blah blah \\[x pt] Where I ...