{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
3 views

Is it possible to get the leading spaces and correct quotes in copy/paste from PDF?

Using this solution Only Select Code without Line Numbers I allow the listings to be copyable from PDF w/o the line numbers and many extra spaces. But that also removes the leading spaces used for ...
1
vote
1answer
33 views

Embolden multiple author names in BibTeX controlled by list in .tex file

I would like to embolden certain author names in a BibTeX reference section. The list of highlighted authors should be controlled from the .tex source file. This solution shows how to do this for a ...
2
votes
1answer
72 views

Latex in math blogging

I'm wondering if anybody has advice about using Latex in math blogs. I'm currently using WordPress, which out of the box supports Latex, but it's a bit of a nuisance. The biggest problem is that ...
3
votes
1answer
43 views

How to put the type of document in the first page

Good evening everyone. I have the following code in Latex. \documentclass[12pt, fleqn]{report} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} \usepackage{graphicx} \graphicspath{{...
2
votes
1answer
24 views

Set format of the document as the format for the listing

I would like to set the text format of the document as the format for the listing. The words in the listing accross my tex document have a bigger space between the characters. I want them to the have ...
19
votes
2answers
9k views

Format long numbers with a thousand separator?

In most language, long numbers are split into groups of three digits, to increase readability. In Dutch (my native language), 1000000 is usually written as 1 000 000. In English, this would be 1,000,...
5
votes
1answer
65 views

ConTeXt : underbar behavior with subscripts

With ConTeXt, one generally uses \underbar to underline. \underline also exists, but only for mathematics. I also played a bit with the ideas proposed on this wiki page. My tests can be seen on the ...
1
vote
0answers
32 views

Resources to build a football player statistics and description page

I am relatively new to LaTeX, which I used few years ago for a scientific report. This time I would need to build a book on my favorite football players for fantasy football, including much more ...
1
vote
0answers
23 views

Formatting Mailing List archive

I have archived a mailing list, with multiple writers/speakers, asking and answering questions on a variety of subjects. I've been looking around for solutions, but none come close to what I'm ...
1
vote
0answers
38 views

Changing Citation Format bib latex (In collection, PhD Thesis)

I am a new LaTeX user. I work with TeXShop for Mac and BibDesk for citations (PhD Thesis). I use package biblatex. Following the package info I was able to adapt several details of the verbose style ...
0
votes
1answer
71 views

Child node placement TiKZ Mindmap

The first child concept (Lily Briscoe) is placed at the bottom left but should appear at the top. Rest of children should follow in a clockwise direction. Is there an easy way to rotate children ...
135
votes
11answers
39k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
0
votes
0answers
66 views

formatting problem with \textit and \textbf [closed]

I have a strange problem. I use \textit{some text} and \textbf{some text} regularly in a luaTeX environment. However, I have noticed today, when I use either of these two formatting codes, it doesn't ...
2
votes
1answer
34 views

How to remove the colon from cvitemwithcomment?

This is my code and it automatically puts a colon after the "Intern - Technology" bit, how do I override this and get rid of it? \cvitemwithcomment{\normalfont{HSBC, London,} \textbf{Intern - ...
3
votes
1answer
92 views

Changing the look of the endnotes on the 'Notes' page (\theendnotes)

In the report I am writing, I am using both footnotes and endnotes; footnotes just as normal footnotes, but endnotes for citations (I don't particularly like the normal way of citing things in LaTeX). ...
1
vote
0answers
53 views

How to make a new page style?

I'm trying to do a page layout to the principle of the golden ratio, so I need to have total control over all things on the paper. Purple lines in the picture there are margins, green lines are the ...
1
vote
0answers
65 views

How do I place table below plot so that category matches axis ranges?

Here is something that I'm trying to do is to align my table with x-axis category or range so that column below the x range is corresponding of the data So As example is shown, I want to create ...
0
votes
1answer
38 views

How can I provide page ranges in \cite?

I would like to add page numbers to my references. I have tried the following things: \cite[221\psqq]{knuth:ct:a} for page sequences \cite[221\psq]{knuth:ct:a} for only one page following 221 ...
1
vote
1answer
20 views

Multicol Help formatting

I am trying to create a notesheet for a class of mine. However, for the love of god I cannot force my text to go into the next column. I am using the multicol package; I've tried using \columnbreak ...
3
votes
1answer
48 views

Printing Latex generated pdf to a roll of labels

Wondering if anyone ever worked with (or tried to) printing to a ROLL of labels (ie. NOT discrete pieces of paper like A4). Is it just a matter of setting the length of the page really long? Or ...
1
vote
1answer
46 views

Vertical space from the edge of the page

How make vertical space from the edge of the page or the top margin, eg. second paragraph lipsum \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \vspace{100pt} %<-...
1
vote
0answers
25 views

Putting a full paper after the bibliography

In this conference, the submissions should be at most 10 pages long, but authors are allowed to include "a complete full version of the paper (reiterating the material in the 10-page abstract) to the ...
1
vote
1answer
30 views

Automatic line-breaks in a table

I need a short table that I have to add to my document. I'm afraid, LaTeX does not seem tp break the lines at the spaces. My table currently looks like that: \begin{table}[!ht] \centering \...
3
votes
1answer
115 views

Which of “\langle” and “\left<” should I use in dirac braket and expectation value?

\langle is smaller and \left< is bigger. But which one should I use in dirac braket and expectation value? Is there a standard practice?
0
votes
1answer
87 views

How to move the abstract to the left column?

My question is similar to this question, however, instead of a picture, I wish to move the abstract section to the left column, using same document class. Can anyone help with this? The document ...
1
vote
1answer
18 views

All details for each reference appear in separate lines [duplicate]

I have used different bibliography styles (bibtex) but I keep on getting the output (attached) where each detail of a reference begins on a new line. Is there a way to have the references in running ...
63
votes
4answers
29k views

Multiple footnotes at one point

I'm trying to create multiple footnotes referencing from one point, that look like this: lorem1,2 Searching for "multiple footnotes" shows up almost exclusively solutions for multiple references ...
2
votes
0answers
23 views

Align environment without newline [duplicate]

Is it possible to use the align environment while suppressing the auto \newline? I have a problem with the following command: \begin{lemma} \begin{align*} a+b &= c \\\ &=d \...
3
votes
2answers
67 views

How can I recreate this code example given in this pdf? Vertical lines in verbatim?

I'm referring to the pdf linked here. Specifically, how can I recreate this part on the first page? I'm guessing it's using the verbatim environment somehow, but how can I get those vertical lines ...
3
votes
2answers
37 views

How to wrap text and table with wrapfigure environment

I got a problem concerning the wrapfigure environment. I have worked with it before and managed to make it behave the way I want it. Currently im facing a problem which I boiled down to a minimum ...
7
votes
3answers
138 views

KOMA-Script and sidenotes : how to format side (margin) caption and its caption label?

I am using the command \sidecaption from the sidenotes package with a KOMA-Script class. I'd like to format (shape, size, color) the text of the caption and its label. According to KOMA documentation ...
2
votes
2answers
68 views

Section name appearing twice

Why the section name is showing twice? \documentclass[12pt]{report} \usepackage{enumitem} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}{} \renewcommand{\chaptermark}[1]{\...
1
vote
2answers
43 views

Making Bibliography as a Subsection in TOC, but chapter in document

I have seen a few related questions, but I cannot get the answer to work for my situation. Maybe it's because it is the memoir documentclass, maybe it's the bibliography manager (natbib is embedded in ...
2
votes
2answers
61 views

Help with algorithm2e formatting

recentely I've got into a bit more advanced LaTeX formatting, i.e algorithms. My package of choice is the algorithm2e package, but I'm having some difficulities operating it. So I've wanted to create ...
2
votes
0answers
37 views

Formatting Code around Line Breaks

I am typing up a sentence which contains code, and \verb's ignorance of line breaks is annoying me. This code is very short, and it does not make sense to give it its own line, but I also do not think ...
1
vote
1answer
147 views

HZ typesetting system in plain TeX

How can I use the hz typesetting engine with plain TeX and pdfTeX? I read about it in TUG Vol 36 no.2, Peter Karow.
2
votes
2answers
40 views

How to write R formulas

The R language has formulas of the form (y ~ x) and (y ~ x + z). I have come to know that \tilde doesnt do the trick. How can I write these formulas in latex?
3
votes
1answer
55 views

TikZ - Circled text number in superscript - Missing $

I'm using TikZ to create some circles with numbers as some sort of marker. But I want to use them as superscript. So to generate a circle I'm using this command (suggested here: Good way to make \...
0
votes
1answer
16 views

Keywords in Perl-POD breaking listing

I'm trying to include a perl-script with pod. It seems liks the listings-package does not detect the pod-documentation part as comment which breaks the rest of the listing. How to fix this behaviour? ...
1
vote
0answers
24 views

Theorems in italic, but not examples [duplicate]

Is there are way to make theorems, lemmas and definitions in italics, but not examples? E.g., Theorem: This is a theorem. Example: Here is an example. So far, I am using the plain theoremstyle, i.e....
8
votes
3answers
216 views

“BigText” formating: how to adapt the fontsize to make all lines have the same width?

As in this question on stackoverflow, I want to replicate the so-called 'big text' formatting: Functioning: You give as input: the line (column) width for each line, and the content of each ...
1
vote
1answer
36 views

Why is there no page numbering?

Simply stated, I cannot figure out why this document has no page numbers. I do have the 'gobble' command at first, but I later switch to 'arabic'. Any thoughts? \documentclass[12pt]{book} \...
2
votes
1answer
22 views

steinmetz package comma problem

MWE \documentclass{article} \usepackage{steinmetz} \begin{document} $220\phase{0^{\circ}}$ $220\phase{0{,}5^{\circ}}$ $220\phase{0\phantom{{,}}\!\!^{\circ}}$ %<-- My solve \end{document} ...
0
votes
0answers
41 views

How to create multiple lines with tikz

This is my first time working with tikz. I wanted to draw the scheme in the figure. What I have from my code are the red parts and the green one as well. How should I proceed if I wanted to turn the ...
0
votes
1answer
41 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
5
votes
2answers
271 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
6
votes
2answers
243 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
2
votes
1answer
35 views

multiple equations on same line with \midrule not extending to both equations

Hi I want to solve a system of linear equations where you can see the cancellation and I've done that but I want to know how I can put another equation to the right of what I just solved. This is what ...
2
votes
1answer
59 views

How to automatically adjust font size for listings, so it fits gives amount of textwidth?

For code listings, I often change the listings parameter basicstyle to adjust the font size so that listing fit within the container it is in. I mainly use a cell in a table to display small listing ...
1
vote
1answer
26 views

Formatting a \section* like a normal \section

I'm having trouble understanding how to format a \section* to make it look like a \section (without the section number, of course). Here is the code which the package I have to use uses for ...