Tagged Questions

{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

3
votes
1answer
60 views

Force format not to be overwritten by the environment

I have the following macro defined \newcommand\ve[1]{\ensuremath{\mathrm{\textbf{#1}}}} which produces a bold non-italic letter in math-mode. The ensuremath ensures that it will behave the same in ...
0
votes
0answers
46 views

How can I get the form of Crux Magazin like this? [duplicate]

I want to format my document with font like Crux Magazine. How can I get it?
0
votes
0answers
88 views

“Pretty” LaTeX Documents

I've been looking around but I don't really know what to search for. How do you usually write a LaTeX document so that anyone else reading it won't have such a hard time? I've been indenting and ...
1
vote
1answer
36 views

Formating single entry on table of contents

How to format a single entry in the table of contents? For example, how to add some horizontal space to indent some specific line, including the section number? ps: I know that I can edit the toc ...
3
votes
1answer
47 views

How do i add a blue box around the section number?

I vant to make the section design like shown on the picture below. So far i have managed to get the section numbering in the margin, but I have no idea how to make the box (or change the fonts in ...
5
votes
3answers
97 views

Modify abstract appearance

there's two tweaks I don't know how to perform: 1. I'd like to remove the small indentation at the beginning of each paragraph. 2. Increase the paragraph break separation. ...
2
votes
2answers
59 views

Margin adjustment for section text

I've been messing with my margins, section dimensions, geometry package dimensions, and titlesec settings to get this layout (and have, so far, failed): (left margin set at 0.75in) ...
3
votes
1answer
81 views

Appending a full version of a document

I have a document written in tex, although it is a shorter version of a larger document. For example, my short document is 10 pages, and once I elaborate on some parts in the shorter document, it ...
2
votes
1answer
33 views

Remove page number on first level in index

I am using imakeidx to create an index for my recipe book. I would like to have the index show the following level-wise: Appetizers Recipe 1, pagenumber Recipe 2, pagenumber ...
3
votes
1answer
83 views

How best to differentiate questions and answers in a document without compromising on typesetting and readability?

Preliminary note: I don't think this question is completely or even to a large extent subjective, as it seeks how to achieve objective utilitarian goals. Please read: I am solving my QFT assignments ...
0
votes
0answers
24 views

Run-in heading on condensed bibliography

I am writing a grant with a rather strict page limit and have used run-in headings as implemented in titlesec. included in preamble: \usepackage{titlesec} \titleformat{\section}[runin] ...
2
votes
1answer
33 views

Defining a command for changing the line width or the right and left margins?

I am trying define a multi-parameter command which would break up the text to be only 34 characters per line or I suppose another way to look at it would be to have a left margin of 2.7in (1in more ...
5
votes
2answers
271 views

Is there a way to make the \not slash strike in the direction of this: \ and not this: /?

I would like to use \not, but let the slash strike backward \, not forward /. How can achieve this?
4
votes
2answers
72 views

Calculator and calculus package: result [.] dot instead [,] comma

My codes, \documentclass{article} \usepackage{calculator} \usepackage{calculus} \newcommand\teo{3} \newcommand\job{,5} \begin{document} \MULTIPLY{\teo}{340}\W \MULTIPLY{\job}{5605}\WW ...
0
votes
0answers
25 views

How to handle log data within documents (articles)?

I have to add the log-output of a program to the appendix of my article. A verbatim-block was my first choice, but the single lines are to long (far more than 80 characters) and therefore the lines ...
1
vote
1answer
39 views

Modify appearance of Part Title in the table of contents

I want to divide my thesis into two parts: a background part and the thesis part. In the table of contents, I want the formatting of the parts to differ from the rest: I want the parts to be bigger, ...
2
votes
1answer
35 views

How to change text arrangement on page

Currently I'm using pdflatex to print content on page with width of 6 in and height of 9 in. It's printing in standard print orientation as mentioned in the diagram below "Current Printing format". ...
2
votes
1answer
36 views

Wrapping lines of an equation with \left and \right parentheses

I am having trouble formatting the following mathematical expression: \begin{align*} A &= \left(\left(\frac{1}{2},\frac{1}{2}\right) + \sqrt{2}Rot_{-\pi/4}\left\langle 0, \frac{1}{2} ...
1
vote
1answer
26 views

Is there a way to display a specific command and hide the rest

I would like to use the same Latex source file for both my document and the accompanying slides. When creating a document it's easy to hide the slide sections by doing this: \newcommand{\slide}[1]{} ...
1
vote
1answer
50 views

change the equations fonts automatically

In my document, I have several equations. What I need is to change their font automatically to mathrm. I can change each equation separately (\mathrm{....}), but this will be so tedious for me. So how ...
0
votes
1answer
26 views

Italicize environment and comment package

I used the comment package to includecomment/excludecomment an answer environment. This way I can print questions, and then later print the questions and answers together. The problem I'm trying to ...
1
vote
1answer
51 views

Theorem numbering: use dash instead of period

In the following code, my theorem head looks like this: 1.1 Theorem I want it to look like this: 1-1 Theorem MWE: \documentclass{report} \usepackage{amsthm} \newtheoremstyle{theorem} {1em} % ...
1
vote
0answers
47 views

Justification isn't done in this part of my document

\documentclass{article} \usepackage{amsmath} \usepackage[spanish]{babel} \usepackage{graphicx} \usepackage{graphics} \usepackage{times} \usepackage{color} \usepackage{float} \usepackage{multicol} ...
1
vote
1answer
26 views

Line of dots in a Section with Text at the end

I'm having a section in which i need to append dotted line till the line end. At the end i need some text. Exactly like the below Healthcare ...
1
vote
1answer
48 views

does wrapfig package conflicts with OSX 10.9.5?

I used once the wrapfig package on a windows machine. but on the mac it holds whitespaces beneath the wrapped figure and in this case look of the document is completely insufficient anymore! please ...
1
vote
1answer
31 views

Missing dots in ToC for chapters

I am using the starred version of \chapter and \section to avoid the numbering of chapter and section. To have the title of chapters in ToC I use \addcontentsline{toc}{<xxx>}. This results in ...
2
votes
1answer
30 views

formatting a proof justification with smaller font

I need help formatting proof justifications. In the past, I have used \quad\text{some short justification}. Now, I have a longer justification -- still only one sentence but with the above approach it ...
1
vote
1answer
27 views

bad generators of keys in a particular bst style

I have the following the .tex file: \documentclass{article}[10pt] \usepackage{jucs2e} \usepackage{url} \begin{document} \title{Title} \maketitle cite~\cite{EnviroTrack} \bibliographystyle{jucs} ...
1
vote
1answer
44 views

Line break after lstlisting not working

I just started working with Latex so this may sound like a very nooby question. I put some code in a lstlisting and after that I want to add some blank line and then the "Define the bla bla" line. ...
0
votes
0answers
15 views

How to add emphasis or subscript formatting to an additional TOC entry ( \addcontentsline)

Relatively new to LyX, currently using the report class to write my thesis. All is good and I've generated a document. However, there are some sections of my thesis which I wanted un-numbered and I ...
2
votes
1answer
43 views

Conditions in algorithms are underlined

I'm using algorithm2e for typesetting pseudocode. Generally I find it easy to use, however, I cannot seem to find the setting that underlines the conditions in my while and for loops and ...
4
votes
3answers
74 views

Claim Check Set From A List of Clients

I don't know that this fits here, but here's my question: I'd like to make a set of claim checks from a list of clients so that they can all be printed together within the same PDF. I'm looking for ...
4
votes
2answers
44 views

alignat with bolded line numbers

$$ \begin{alignat}{5} 2c_1&\;+\;&5c_2 &\;=\;& 1\\ -c_1&&&\;=\;&-8\\ 3c_1&\;+\;&4c_2&\;=\;&12 \end{alignat} $$ The above automatically labels the lines ...
3
votes
1answer
100 views

Grouping pages in chapters when using biblatex and backref=true

I have used etoolbox to reset the page counter in each non-starred chapter, and I've changed \thepage to print both the chapter number and the page number: ...
2
votes
0answers
38 views

texmaker Quick Build Orientation

I just installed texmaker on a new iMac. For some unknown reason, when I use Quick Build, the document appears in a landscape orientation and the fonts are stretched out wider than normal. The output ...
5
votes
1answer
134 views

How to customize the arrows of this flowchart?

\begin{document} \pagestyle{empty} % Define block styles \tikzstyle{decision} = [diamond, draw, fill=white!20, text width=5.5em, text badly centered, node distance=5cm, inner sep=0pt] ...
0
votes
1answer
54 views

How can I write at the end of line in a blank line of a letter?

How can I write at the end of line in LaTeX? Suppose I want to say "thank you" in a letter and then put the name of the author right below it. Thanks for any insight.
3
votes
1answer
38 views

eledmac: formatting endnotes

I try to format endnotes with eledmac in a way that I can use them to correct printing errors of the original text, but unfortunately i don't understand how to change the fonts. Say, for example, I ...
3
votes
1answer
102 views

How do you code Mr./Dr./Mrs. in LaTeX? [duplicate]

Bit of a newbie question. I have read somewhere (can't seem to find it now) that if you wish to write Mr. John Doe or Dr. Jane Doe that LaTeX with treat the . as a full stop and add an extra space. ...
7
votes
2answers
78 views

Change author font for specific cite command

Consider the following MWE \documentclass{article} \usepackage[style=authoryear-comp,backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} \AtBeginDocument{% ...
1
vote
1answer
46 views

Centering sections without centering subsections

This question is about how to center all the sections (including chapters) without centering subsections. I have browsed all the related questions asked here but I found no one to which my question ...
0
votes
1answer
50 views

Using Easylist and leaving one entry bullet blank

So I have a checklist using the checkboxes. I want to make occasional ones not have the check box because there are several indented checkboxes I want to choose from. I see Choosing the bullet of a ...
3
votes
1answer
87 views

Libertine Strange Emphasized Capital J Letter

I'm using libertine package. I see the emphasized capital J (no. 1) is a bit strange to me, compared to another fonts. Is it really the way it is? How to get it fixed? Thanks. \documentclass{book} ...
1
vote
2answers
44 views

How can I make text appear correctly in an equation? [duplicate]

The basic outline of the equation below is correct but how can I make the text appear correctly right now it appears scrunched up? \documentclass{report} \begin{document} \begin{align*} \left. k_S ...
4
votes
2answers
47 views

How can I show codeboxes?

I am in the process of writing a simple manual. In it, I explain how to set up the files and programs necessary to run a pipeline I have written. I would like to include command line commands in that ...
2
votes
3answers
119 views

Remove last dot in title numbering

My current document is processed like this: 1. Some chapter 1.1. Some section 1.1.1. Some subsection Appendix A. Some appendix What I want to have: 1 Some chapter 1.1 Some section 1.1.1 Some ...
5
votes
2answers
93 views

Decimal point alignment in LaTeX tabular environment but in math mode

The dcolumn package works well for plain numbers but not if these are in math mode eg \begin{tabular}{ld{1}l} \hline \textbf{Species} & \multicolumn{1}{c}{\textbf{Calculated}} & ...
2
votes
0answers
52 views

Fonts changes between computers, unreadable

I'm using TexMaker on OS X, compiling with Xetex, and I'm having some fonts issues. Depending on the computer I look at the pdf file I get the either the correct fonts or not, see in the image below: ...
0
votes
0answers
26 views

How to get a new line in rtf2latex2e?

I am using rt2latex2e to convert .rtf files to LaTeX in Windows 8.1. It is working fine. But I am not able to find the line break. E.g.: converted as: 21 women's 1 day work = ...
4
votes
2answers
101 views

Formatting a longtable

I have a longtable, but I'm unsure how to do two things, listed below. NB: The MWE given at the bottom of this post is not an exact representation of how the table appears in my document. This is ...