{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

5
votes
1answer
55 views

Long form of acronyms capitalized in section headings

I use the glossaries package and defined headers often in section titles. In general I keep the first letter of each word in the headings in capital case, but if an acronym occurs the first time, it ...
4
votes
3answers
60 views

how to change the font of the number after theorem

I want to change the font of the number to \itshape, for example, I want to get Theorem {\itshape 1.1}. Is there any way to do it in the theorem environment
3
votes
1answer
73 views

How to blend two different documents?

Below is document one with its associated .lco file: .lco \ProvidesFile{standard.lco}[% 2002/07/09 v0.9a LaTeX2e unsupported letter-class-option] \usepackage[english]{babel} ...
7
votes
3answers
170 views

How can I format the formula

Hi I need to give the syntax of a formula as a figure. How can I format it \begin{figure}[h] Formula $\to$ PrimitiveFormula $\vert$ (Formula Connective Formula) $\vert \neg$ Sentence $\vert$ ...
3
votes
1answer
24 views

Procedure name with small caps in algorithm2e

I know that procedure in algorithm2e only allows captions like \caption{ProcedureName()}. However, I'd like my procedure to appear in small caps: \documentclass[12pt,a4paper]{article} ...
0
votes
0answers
40 views

Adding references to cv

https://www.writelatex.com/2006263vsgfgk#/5055479/ I want to add references to a resume template. In order to do this I added : \section{References} \cvdoublecolumn{\cvreference{Nicolai ...
10
votes
3answers
3k views

How can I create a Chicago Manual of Style formatted document in LaTeX?

I have an assignment which requires me to use CMS formatting, double spaced, in 12pt font. I'd rather avoid using the much inferior "Word" or "Writer" programs -- in particular I like how LaTeX ...
1
vote
0answers
43 views

Vertical chapter title in the table of contents

I'm about to write my thesis, and finally decided to do so in LaTeX. I'm still new to it though, and was wondering if something like this is possible in the table of contents: --+ | I | N | ...
2
votes
1answer
60 views

How do I ensure that linebreaks in URLs occur at the right position?

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
2
votes
1answer
26 views

How can I maintain TeX code layout when pasting into a LyX ERT inset?

When I paste TeX code from a text editor in an ERT inset in a LyX document, the text layout from the text editor is lost, I have to enter the newlines and the tabulations manually in order to regain ...
6
votes
2answers
30 views

Bring down words from theorem

I have a theorem that goes like this: \documentclass[12pt]{book} \begin{document} \newtheorem{definition}{Definition}[section] \begin{definition}[Integers] Integers are positive and negative ...
0
votes
1answer
29 views

Adding picture in write latex

I have been using kile as latex editor but I found some errors and couldn't overcome with that so I i am trying to compile my tex file in write-latex. But the online editor is showing that picture is ...
1
vote
1answer
40 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
2
votes
0answers
53 views

How to use \underline and \emph over several words with gb4e?

How can I underline several words in a gloss without messing up the alignment?
4
votes
2answers
163 views

Missing character: there is no 'x' in font nullfont

I want to generate an image from a Tex file. I use a template and then programmatically insert LaTeX inside it. For example, if I want to create an image for x^2 + \phi, this would be the resulting ...
0
votes
0answers
16 views

JaxoDraw in Latex, \Line incorrect

I drew a feynmann diagram in JaxoDraw, however, when I want to compile it in Latex, it gives me the error that: ! Use of \Line doesn't match its definition. Can someone please help me? Thanks! ...
3
votes
2answers
104 views

Chapter template

What I want: What I already have: Can someone help me to recreate this kind of chapter heading (first pic)? All help is welcome! Code for the second picture: \documentclass[ ...
2
votes
2answers
39 views

Placing Two Generic Tables Beside Each Other

I have two tables that are virtually identical and look like so: \begin{table}[!ht] \fontsize{8}{8}\selectfont \caption{caption$.} \label{label} \center{ \begin{tabular}{|c|c|c|c|} \hline ...
2
votes
2answers
29 views

Image inside exam environment above question

I am wondering how can I fix the constant problem in inserting an image for a question. When I insert the image, I always have the image being above the question number. I want the question number to ...
5
votes
0answers
119 views

Changing layout is difficult or easy in LaTeX?

I am new to LaTeX. I am writing an article in LaTeX but at the moment I am not sure what should be the final layout of my article; so, I am writing it in IEEEtran format. I thought that it would be ...
5
votes
1answer
150 views

Add box to labeled sections

I want to add a box to a repeated section of a textbook, which provides question discussions. Is it possible to do it by adding "tex style setting" command(s) to the preamble? I am using the memoir ...
5
votes
1answer
79 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
0
votes
0answers
37 views

Latex wont show any of my references and just adds [?] where I have cited?

I have made a bibliography 'Mybibliography' saved as a .bib file properly in the same folder as my .tex file and I try to run it each time by: PDFLaTeX, BibTeX, PDFLaTeX, PDFLaTeX. But it simply wont ...
5
votes
2answers
344 views

Trouble with Bible Style page header lines

I'm attempting to typeset a Bible for my mom and I'm running into a few problems and I was hoping someone here could help. First I'll start with the easy question. I'm currently using two columns ...
1
vote
0answers
35 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
2
votes
1answer
115 views

Journal of Fluid Mechanics Class Constraints [closed]

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
2
votes
0answers
41 views

Adjusting Text Vertical Space between lines in Tikz

I have this flowchart and the preamble is set to add a vertical space between lines and when I compiled this flowchart it follwed the preamble i guess. how can I adjust the vertical spaces of lines ...
5
votes
3answers
1k views

Glossaries: Make a glossary entry recognizable in printing

How do you make it visible to the reader that the printed word/term is an entry in the glossary? In my PDF on the computer, I just see it because I use the hyperref package and there's a red box ...
2
votes
2answers
40 views

Removing indentation from macro

I've created two macros for my math book project. One is an enumerate environment that numbers problems as "Example 1.1" and so on. The other is a command that writes metadata about each problem to ...
3
votes
1answer
31 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
4
votes
2answers
184 views

What is the simplest way to get graphs for each answer choice like in the example below

I am trying to make an exam with multiple questions having graphs as answer choices. I want them to be aligned as shown below. Thank you in advance!
3
votes
1answer
355 views

How to display sine squared more compactly

If I have: \sin ^2(\theta ) My output is: This output just have too much space between the power and the parenthesis. How could I change this?
5
votes
2answers
103 views

How do I get my subsection to not appear bold and with no period at the end?

This is what I have for my codes: \section{MAIN RESULTS} \subsection{Graphical Analysis} I am getting this in the pdf: Instead I want the subsection in Italic non-bold form with no period at the ...
6
votes
1answer
181 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
2
votes
1answer
71 views

Reduce space between footnote and page number

I am fairly new to LaTeX so please bear with me. I am trying to reduce the space between the footnote and the page numbering (see screenshots in the attachment). What command will do the trick? ...
6
votes
1answer
127 views

How to change the shape of reference numbers in the bibliography

I have the following document. After compiling the document, the reference number in the bibliography appears as [ 1 ]. I would like to know if it would be possible to do the following customizations ...
2
votes
1answer
26 views

Centering Headings - list of contents - but not chapters

I need to center some sections using normal size fonts in the front sections of a document, but not the chapter headings. So, I need a "Contents" and "List of Tables" and "List of Figures" centered ...
5
votes
1answer
67 views

Lemma without numbering

I want to use the lemma environment without numbering because I only have one lemma. If I use the package \newtheorem{lemma}{Lemma} I get "Lemma 1" in Italics and indented: ...
4
votes
1answer
35 views

Centering a Poem using Verse package

I'm trying to center a poem on my document and I'm using the verse package to include line numbers on the poem. Here is my code: \section{Poem} \poemtitle{Another Day} ...
3
votes
1answer
247 views

How can I indent the second line of a linguistic gloss with gb4e.sty?

In accordance with the documentation, I've been happily plodding along making interlinear glosses. So far so good! But things get ugly when I make a longer gloss. Looking at example (5) on page (6) ...
3
votes
2answers
346 views

When to use $something$ syntax?

I know the difference between \emph{something} and \textit{something} (\emph or \textit). But when to use syntax like: $something$.
1
vote
1answer
132 views

Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.
3
votes
0answers
28 views

Formatting numbers the Indian way [duplicate]

This is a follow-up question to Handling numbers and calculations. The numbers printed by \num[group-separator={,},group-minimum-digits=4]{\the\numexpr(5000)\relax} will produce comma separated ...
4
votes
2answers
51 views

sqrt sign with sharp or rounded corner

My MWE \documentclass[a4paper,11pt]{article} \usepackage{letltxmacro} %MACRO \LetLtxMacro{\oldsqrt}{\sqrt} % makes all sqrts closed \renewcommand{\sqrt}[1][\ ]{% ...
1
vote
1answer
64 views

framed environment with fixed image in marginpar

I would like to get the exact output below in the LaTeX. But unable to fix it and how to set image in the marginpar for each example environment. My MWE is: \documentclass{book} ...
2
votes
1answer
44 views

section head box different font-size and two arguments in a level section

I'm expecting the below section heading is different box and section number is different box. After A level section default 4 icons need to print below (please refer screenshot). ![enter image ...
0
votes
1answer
33 views

I have a problem in the output PDF margins

I have a problem in latex template of Circuits, Systems, and Signal Processing journal the output file has not equal margins from left and right, and has a large margin from bottom of the page. I ...
3
votes
4answers
69 views

How to draw straight lines to indicate repeat values in merged table cells?

Can you help me the following working: I'm looking to indicate that the value 2.00 is repetitive vertically through a straight line like in this sketch (the result should be a solid, continuous line, ...
0
votes
1answer
69 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
44 views

section head two environment with different size boxes

I have two arguments in section and how to print the second optional argument in the same boxes. How do increase the box width should be upto paperwidth. My MWE is: \documentclass{book} ...